public interface PrincipalConfiguration extends SecurityConfiguration
SecurityConfiguration.Default| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Modifier and Type | Method and Description |
|---|---|
@NotNull PrincipalManager |
getPrincipalManager(Root root,
NamePathMapper namePathMapper)
Returns an instance of
PrincipalManager that can be used
to query and retrieve principals such as needed for JCR access control
management. |
@NotNull PrincipalProvider |
getPrincipalProvider(Root root,
NamePathMapper namePathMapper)
Returns an instance of the OAK
PrincipalProvider. |
getCommitHooks, getConflictHandlers, getContext, getName, getParameters, getProtectedItemImporters, getRepositoryInitializer, getValidators, getWorkspaceInitializerstatic final java.lang.String NAME
@NotNull @NotNull PrincipalManager getPrincipalManager(Root root, NamePathMapper namePathMapper)
PrincipalManager that can be used
to query and retrieve principals such as needed for JCR access control
management.root - The target root.namePathMapper - The NamePathMapper to be used.PrincipalManager.JackrabbitSession.getPrincipalManager()@NotNull @NotNull PrincipalProvider getPrincipalProvider(Root root, NamePathMapper namePathMapper)
PrincipalProvider.
PrincipalProvider
a 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
SecurityProvider is
made available in the AuthenticationConfiguration.
CompositePrincipalProvider
to combine the different sources.root - The target Root.namePathMapper - The NamePathMapper to be used.PrincipalProvider.Copyright © 2010 - 2023 Adobe. All Rights Reserved