|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthorizableAction
AuthorizableAction...
| Method Summary | |
|---|---|
void |
onCreate(org.apache.jackrabbit.api.security.user.Group group,
Session session)
Allows to add application specific modifications or validation associated with the creation of a new group. |
void |
onCreate(org.apache.jackrabbit.api.security.user.User user,
String password,
Session session)
Allows to add application specific modifications or validation associated with the creation of a new user. |
void |
onPasswordChange(org.apache.jackrabbit.api.security.user.User user,
String newPassword,
Session session)
Allows to add application specific action or validation associated with changing a user password. |
void |
onRemove(org.apache.jackrabbit.api.security.user.Authorizable authorizable,
Session session)
Allows to add application specific behavior associated with the removal of an authorizable. |
| Method Detail |
|---|
void onCreate(org.apache.jackrabbit.api.security.user.Group group,
Session session)
throws RepositoryException
Session.save call.
group - 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.
void onCreate(org.apache.jackrabbit.api.security.user.User user,
String password,
Session session)
throws RepositoryException
Session.save call.
user - 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.
void onRemove(org.apache.jackrabbit.api.security.user.Authorizable authorizable,
Session session)
throws RepositoryException
Authorizable.remove() is executed (and persisted); thus the
target authorizable still exists.
authorizable - The authorizable to be removed.session - The editing session associated with the user manager.
RepositoryException - If an error occurs.
void onPasswordChange(org.apache.jackrabbit.api.security.user.User user,
String newPassword,
Session session)
throws RepositoryException
user - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||