public abstract class AbstractAuthorizableAction extends Object implements AuthorizableAction
AuthorizableAction interface that
doesn't perform any action. This is a convenience implementation allowing
subclasses to only implement methods that need extra attention.| Constructor and Description |
|---|
AbstractAuthorizableAction() |
public void init(SecurityProvider securityProvider, ConfigurationParameters config)
init in interface AuthorizableActionpublic void onCreate(@NotNull
@NotNull org.apache.jackrabbit.api.security.user.Group group,
@NotNull
@NotNull org.apache.jackrabbit.oak.api.Root root,
@NotNull
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
throws RepositoryException
onCreate in interface AuthorizableActiongroup - The new group that has not yet been persisted;
e.g. the associated tree is still 'NEW'.root - The root associated with the user manager.RepositoryException - If an error occurs.public void onCreate(@NotNull
@NotNull org.apache.jackrabbit.api.security.user.User user,
@Nullable
@Nullable String password,
@NotNull
@NotNull org.apache.jackrabbit.oak.api.Root root,
@NotNull
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
throws RepositoryException
onCreate in interface AuthorizableActionuser - The new user that has not yet been persisted;
e.g. the associated tree is still 'NEW'.password - The password that was specified upon user creation.root - The root associated with the user manager.RepositoryException - If an error occurs.public void onRemove(@NotNull
@NotNull org.apache.jackrabbit.api.security.user.Authorizable authorizable,
@NotNull
@NotNull org.apache.jackrabbit.oak.api.Root root,
@NotNull
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
throws RepositoryException
onRemove in interface AuthorizableActionauthorizable - The authorizable to be removed.root - The root associated with the user manager.RepositoryException - If an error occurs.public void onPasswordChange(@NotNull
@NotNull org.apache.jackrabbit.api.security.user.User user,
@Nullable
@Nullable String newPassword,
@NotNull
@NotNull org.apache.jackrabbit.oak.api.Root root,
@NotNull
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
throws RepositoryException
onPasswordChange in interface AuthorizableActionuser - The user that whose password is going to change.newPassword - The new password as specified in User.changePassword(java.lang.String)root - The root associated with the user manager.RepositoryException - If an exception or error occurs.Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.