NamespaceMappingSupport or
AbstractSlingRepositoryManager and
AbstractSlingRepository2 instead.AbstractSlingRepositoryManager and
AbstractSlingRepository2 instead.AbstractSlingRepository2 is an abstract implementation of
the SlingRepository version 2.3 interface (phasing
AbstractSlingRepository2.loginAdministrative(String) out in favor of
AbstractSlingRepository2.loginService(String, String)) which provides default support for
attached repositories.AbstractSlingRepositoryManager is the basis for controlling
the JCR repository instances used by Sling.RepositoryAccessor.getRepositoryFromURL(String)
with the value of the
RepositoryAccessor.REPOSITORY_URL_OVERRIDE_PROPERTY
framework or configuration property.addEntry(AccessControlList, Principal, Privilege[], boolean, Map) using
some implementation specific restrictions.principal, the specified privileges, the
isAllow flag and an optional map containing additional
restrictions.AbstractSlingRepository2
implementation for use by the given usingBundle.serviceUserName by
impersonating the user from an administrative session.AbstractSlingRepository2 instance previously
created by the AbstractSlingRepositoryManager.create(Bundle) method.repository.repository.AccessControlManager for the given
session.ClientRepositoryFactory to access the remote
JCR repository over RMI.null meaning
to use the repository provided default workspace.login and
createSession methods is called without an explicit workspace
name.null meaning to
use the repository provided default workspace.LocalAdapterFactory used to convert Jackrabbit
JCR RMI remote objects to local JCR API objects.NamespaceMapper services used by the
NamespaceMappingSupport.getNamespaceAwareSession(Session) method to define custom
namespaces on sessions.AccessControlList acl
has been created for.PrincipalManager for the given
session.null if
no repository is currently being available.null if
no repository is currently being available.RepositoryAccessor class to access
a repository over RMI or through JNDI.AbstractSlingRepository.registerService().AbstractSlingRepositoryManager.registerService().AbstractSlingRepository.registerService().AbstractSlingRepositoryManager.registerService().ServiceUserMapper service to map the service name to
a service user name.UserManager for the given
session.#impersonateFromService(Credentials, String, String)
method taking into account the bundle calling this method.SlingRepository.loginAdministrative method or not.true if AccessControlList acl
does not yet define any entries.Loader TODOlogin(null, null).login(credentials, null).login(null, workspace).workspace with the given
credentials and returns the session returned from
the repository.LoginException because it does
not directly have the calling bundle at its disposition to decide
on the required service name.AbstractSlingRepository2.loginService(String, String) method
taking into account the bundle calling this method.NodeTypeSupport contains utility methods to register node
types from a CND
nodetype definition file given as an URL or InputStream with the
repository.org.apache.sling.jcr.base package provides basic support
to expose JCR repositories in Sling.repository is still available.URL
with the node type manager available from the given session.source
with the node type manager available from the given session.AbstractSlingRepository.getServiceRegistrationInterfaces() method and properties
provided by the AbstractSlingRepository.getServiceRegistrationProperties() method.AbstractSlingRepositoryManager.getServiceRegistrationInterfaces() method and properties
provided by the AbstractSlingRepositoryManager.getServiceRegistrationProperties() method.principal and resourcePath.AbstractSlingRepository.acquireRepository() but before the repository is registered as a
service.AbstractSlingRepository.disposeRepository(Repository) method.serviceRegistration.serviceRegistration.Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.