|Modifier and Type||Method and Description|
Create a new
Optional method that allows a given user management implementation to provide a specific and optimized implementation of the
@Nonnull UserManager getUserManager(Root root, NamePathMapper namePathMapper)
root- The root associated with the user manager.
namePathMapper- A name path mapper used for conversion of jcr/oak names/paths.
@Nullable PrincipalProvider getUserPrincipalProvider(@Nonnull Root root, @Nonnull NamePathMapper namePathMapper)
PrincipalProviderinterface for the principals represented by the user/groups known to this implementation. If this method returns
nullthe security setup will by default use a basic
PrincipalProviderimplementation based on public user management API or a combination of other
PrincipalProviders as configured with the repository setup.
root- The root used to read the principal information from.
NamePathMapperto convert oak paths to JCR paths.
nullif principal discovery is provided by other means of if the default principal provider implementation should be used that acts on public user management API.
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.