|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILoginContextListener
This is a common interface that tags a class that can be registered as a listener for security events.
This interface is not intended to be implemented or extended by clients.
ILoginContextListener| Method Summary | |
|---|---|
void |
onLoginFinish(javax.security.auth.Subject subject,
javax.security.auth.login.LoginException loginException)
This method is called after login sequence is finished. |
void |
onLoginStart(javax.security.auth.Subject subject)
This method is called before login starts. |
void |
onLogoutFinish(javax.security.auth.Subject subject,
javax.security.auth.login.LoginException logoutException)
This method is called after logout sequence finishes. |
void |
onLogoutStart(javax.security.auth.Subject subject)
This method is called before logout starts. |
| Method Detail |
|---|
void onLoginStart(javax.security.auth.Subject subject)
subject - the subject being authenticated, might be null
if there is no subject associated the context at this time
void onLoginFinish(javax.security.auth.Subject subject,
javax.security.auth.login.LoginException loginException)
subject - the subject being authenticated, might be null
if there is no subject associated the context at this timeloginException - null if login succeeded, otherwise contains
exception caused login to failvoid onLogoutStart(javax.security.auth.Subject subject)
subject - the authenticated subject, might be null
if there is no subject associated the context at this time
void onLogoutFinish(javax.security.auth.Subject subject,
javax.security.auth.login.LoginException logoutException)
subject - the authenticated subject, might be null
if there is no subject associated the context at this timelogoutException - null if logout succeeded, otherwise contains
exception caused logout to fail
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.