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() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(SecurityProvider securityProvider,
ConfigurationParameters config)
Doesn't perform any action.
|
void |
onCreate(Group group,
org.apache.jackrabbit.oak.api.Root root,
org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
Doesn't perform any action.
|
void |
onCreate(User user,
String password,
org.apache.jackrabbit.oak.api.Root root,
org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
Doesn't perform any action.
|
void |
onPasswordChange(User user,
String newPassword,
org.apache.jackrabbit.oak.api.Root root,
org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
Doesn't perform any action.
|
void |
onRemove(Authorizable authorizable,
org.apache.jackrabbit.oak.api.Root root,
org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
Doesn't perform any action.
|
public void init(SecurityProvider securityProvider, ConfigurationParameters config)
init in interface AuthorizableActionpublic void onCreate(@Nonnull Group group, @Nonnull org.apache.jackrabbit.oak.api.Root root, @Nonnull 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(@Nonnull User user, @Nullable String password, @Nonnull org.apache.jackrabbit.oak.api.Root root, @Nonnull 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(@Nonnull Authorizable authorizable, @Nonnull org.apache.jackrabbit.oak.api.Root root, @Nonnull 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(@Nonnull User user, @Nullable String newPassword, @Nonnull org.apache.jackrabbit.oak.api.Root root, @Nonnull 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–2018 The Apache Software Foundation. All rights reserved.