public interface ProviderExtension
Provider
implementation. A ProviderExtensioninstance is bind to all specific Provider
s supporting
the provider extension and for which Provider#getId equals ProviderExtension#getId.
Each Provider
can be bind to either 0 or 1 ProviderExtension at any given time and in case the condition
above holds for more than one ProviderExtension, then the instance with the highest service ranking is selected.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Unique ID for this provider extension, used to bind a
Provider with the current ProviderExtension instance. |
java.lang.String |
getUserFolderPath(java.lang.String userId,
java.lang.String clientId,
java.util.Map<java.lang.String,java.lang.Object> props)
Return the node path where the user should be created
|
java.lang.String |
mapUserId(java.lang.String userId,
java.util.Map<java.lang.String,java.lang.Object> props)
Map the provider's user identifier to a unique CRX user identifier.
|
void |
onUserCreate(User user)
Called after the
Provider.onUserCreate(org.apache.jackrabbit.api.security.user.User) of the referenced
Provider instanceis called. |
void |
onUserUpdate(User user)
Called after the
Provider.onUserUpdate(org.apache.jackrabbit.api.security.user.User) of the referenced
Provider instanceis called. |
java.lang.String getId()
Provider
with the current ProviderExtension instance.java.lang.String mapUserId(java.lang.String userId, java.util.Map<java.lang.String,java.lang.Object> props)
userId
- provider's user identifierprops
- map of all provider's properties for the user identifiernull
in order to leave the implementation to the referenced Provider
Provider.mapUserId(String, java.util.Map)
java.lang.String getUserFolderPath(java.lang.String userId, java.lang.String clientId, java.util.Map<java.lang.String,java.lang.Object> props)
userId
- provider's user identifierclientId
- client identifierprops
- map of all provider's properties for this user identifiernull
in order to leave the implementation to the referenced Provider
void onUserUpdate(User user)
Provider.onUserUpdate(org.apache.jackrabbit.api.security.user.User)
of the referenced
Provider
instanceis called.user
- the user which has been updatedProvider.onUserUpdate(org.apache.jackrabbit.api.security.user.User)
void onUserCreate(User user)
Provider.onUserCreate(org.apache.jackrabbit.api.security.user.User)
of the referenced
Provider
instanceis called.user
- the user which has been created"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"