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 |
onCreate(org.apache.jackrabbit.api.security.user.Group group,
Session session)
Doesn't perform any action.
|
void |
onCreate(org.apache.jackrabbit.api.security.user.User user,
String password,
Session session)
Doesn't perform any action.
|
void |
onPasswordChange(org.apache.jackrabbit.api.security.user.User user,
String newPassword,
Session session)
Doesn't perform any action.
|
void |
onRemove(org.apache.jackrabbit.api.security.user.Authorizable authorizable,
Session session)
Doesn't perform any action.
|
public void onCreate(org.apache.jackrabbit.api.security.user.Group group,
Session session)
throws RepositoryException
onCreate in interface AuthorizableActiongroup - The new group that has not yet been persisted;
e.g. the associated node is still 'NEW'.session - The editing session associated with the user manager.RepositoryException - If an error occurs.AuthorizableAction.onCreate(org.apache.jackrabbit.api.security.user.Group, javax.jcr.Session)public void onCreate(org.apache.jackrabbit.api.security.user.User user,
String password,
Session session)
throws RepositoryException
onCreate in interface AuthorizableActionuser - The new user that has not yet been persisted;
e.g. the associated node is still 'NEW'.password - The password that was specified upon user creation.session - The editing session associated with the user manager.RepositoryException - If an error occurs.AuthorizableAction.onCreate(org.apache.jackrabbit.api.security.user.User, String, javax.jcr.Session)public void onRemove(org.apache.jackrabbit.api.security.user.Authorizable authorizable,
Session session)
throws RepositoryException
onRemove in interface AuthorizableActionauthorizable - The authorizable to be removed.session - The editing session associated with the user manager.RepositoryException - If an error occurs.AuthorizableAction.onRemove(org.apache.jackrabbit.api.security.user.Authorizable, javax.jcr.Session)public void onPasswordChange(org.apache.jackrabbit.api.security.user.User user,
String newPassword,
Session session)
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)session - The editing session associated with the user manager.RepositoryException - If an exception or error occurs.AuthorizableAction.onPasswordChange(org.apache.jackrabbit.api.security.user.User, String, javax.jcr.Session)Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.