|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.norna.service.user.LoginEvent
This event details what subject has been authenticated by the user service. It contains
the Subject in question plus the code source which gives the listener an opportunity
to add or remove permissions as it see fit.
LoginListener,
UserHandle| Constructor Summary | |
LoginEvent(javax.security.auth.Subject subject)
Create a login event without a code source. |
|
LoginEvent(javax.security.auth.Subject subject,
java.security.CodeSource source)
Create a login event with a subject and a code source. |
|
| Method Summary | |
java.security.CodeSource |
getCodeSource()
Get the code source for this event. |
javax.security.auth.Subject |
getSubject()
Get the subject for this event. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LoginEvent(javax.security.auth.Subject subject)
subject - Subject for the event, must not be null
public LoginEvent(javax.security.auth.Subject subject,
java.security.CodeSource source)
subject - Subject for the event, must not be nullsource - Code source for the subject, may be null| Method Detail |
public javax.security.auth.Subject getSubject()
public java.security.CodeSource getCodeSource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||