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.AbstractSlingRepositoryManager.start(BundleContext, Config) method.AccessControlUtil.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.principal, the specified privileges, the
isAllow flag and an optional map containing additional
restrictions.SlingRepository.loginAdministrative(String).AbstractSlingRepository2
implementation for use by the given usingBundle.serviceUserName by
impersonating the user from an administrative session.servicePrincipalNames
using a pre-authenticated Subject.AbstractSlingRepository2 instance previously
created by the AbstractSlingRepositoryManager.create(Bundle) method.repository.AccessControlManager for the given
session.ClientRepositoryFactory to access the remote
JCR repository over RMI.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.AccessControlList acl
has been created for.PrincipalManager for the given
session.null if
no repository is currently being available.AbstractSlingRepositoryManager.registerService().AbstractSlingRepositoryManager.registerService().ServiceUserMapper service to map the service name to
a service user name.UserManager for the given
session.AbstractSlingRepository2.impersonateFromService(String, Credentials, 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.login(null, null).login(credentials, null).login(null, workspace).workspace with the given
credentials and returns the session returned from
the repository.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.URL
with the node type manager available from the given session.source
with the node type manager available from the given session.AbstractSlingRepositoryManager.getServiceRegistrationInterfaces() method and properties
provided by the AbstractSlingRepositoryManager.getServiceRegistrationProperties() method.principal and resourcePath.principal and resourcePath.serviceRegistration.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.