public interface PrincipalConfiguration extends SecurityConfiguration
|Modifier and Type||Method and Description|
Returns an instance of
Returns an instance of the OAK
@Nonnull PrincipalManager getPrincipalManager(Root root, NamePathMapper namePathMapper)
PrincipalManagerthat can be used to query and retrieve principals such as needed for JCR access control management.
@Nonnull PrincipalProvider getPrincipalProvider(Root root, NamePathMapper namePathMapper)
PrincipalProvidera public interface of the SPI, it's configuration goes along with the configuration of the JCR level
PrincipalManager. The authentication setup may have access to the principal configuration if the
SecurityProvideris made available in the
CompositePrincipalProviderto combine the different sources.
root- The target
NamePathMapperto be used.
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.