|
JSecurity | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthenticationListener
An AuthenticationListener listens for notifications while
Subjects authenticate with the system.
| Method Summary | |
|---|---|
void |
onFailure(AuthenticationToken token,
AuthenticationException ae)
Callback triggered when an authentication attempt for a Subject has failed. |
void |
onLogout(PrincipalCollection principals)
Callback triggered when a Subject logs out of the system. |
void |
onSuccess(AuthenticationToken token,
AuthenticationInfo info)
Callback triggered when an authentication attempt for a Subject has succeeded. |
| Method Detail |
|---|
void onSuccess(AuthenticationToken token,
AuthenticationInfo info)
Subject has succeeded.
token - the authentication token submitted during the Subject (user)'s authentication attempt.info - the authentication-related account data acquired after authentication for the corresponding Subject.
void onFailure(AuthenticationToken token,
AuthenticationException ae)
Subject has failed.
token - the authentication token submitted during the Subject (user)'s authentication attempt.ae - the AuthenticationException that occurred as a result of the attempt.void onLogout(PrincipalCollection principals)
Subject logs out of the system.
principals - the identifying principals of the Subject logging out.
|
JSecurity | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||