public interface UserConfiguration extends SecurityConfiguration
SecurityConfiguration.Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
UserManager |
getUserManager(Root root,
NamePathMapper namePathMapper)
Create a new
UserManager instance |
PrincipalProvider |
getUserPrincipalProvider(Root root,
NamePathMapper namePathMapper)
Optional method that allows a given user management implementation to
provide a specific and optimized implementation of the
PrincipalProvider
interface for the principals represented by the user/groups known to
this implementation. |
getCommitHooks, getConflictHandlers, getContext, getName, getParameters, getProtectedItemImporters, getRepositoryInitializer, getValidators, getWorkspaceInitializer
static final java.lang.String NAME
UserManager getUserManager(Root root, NamePathMapper namePathMapper)
UserManager
instanceroot
- The root associated with the user manager.namePathMapper
- A name path mapper used for conversion of jcr/oak names/paths.UserManager
PrincipalProvider getUserPrincipalProvider(Root root, NamePathMapper namePathMapper)
PrincipalProvider
interface for the principals represented by the user/groups known to
this implementation.
If this method returns null
the security setup will by default
use a basic PrincipalProvider
implementation based on public
user management API or a combination of other PrincipalProvider
s
as configured with the repository setup.root
- The root used to read the principal information from.namePathMapper
- The NamePathMapper
to convert oak paths to JCR paths.PrincipalProvider
or null
if
principal discovery is provided by other means of if the default principal
provider implementation should be used that acts on public user management
API.PrincipalConfiguration
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"