|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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(Subject subject,
LoginException loginException)
This method is called after login sequence is finished. |
void |
onLoginStart(Subject subject)
This method is called before login starts. |
void |
onLogoutFinish(Subject subject,
LoginException logoutException)
This method is called after logout sequence finishes. |
void |
onLogoutStart(Subject subject)
This method is called before logout starts. |
Method Detail |
public void onLoginStart(Subject subject)
subject
- the subject being authenticated, might be null
if there is no subject associated the context at this timepublic void onLoginFinish(Subject subject, 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 failpublic void onLogoutStart(Subject subject)
subject
- the authenticated subject, might be null
if there is no subject associated the context at this timepublic void onLogoutFinish(Subject subject, 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.4 |
||||||||||
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, 2008. All rights reserved.