Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.equinox.security.auth
Interface ILoginContextListener


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.

See Also:
ILoginContextListener
Restriction:
This interface is not intended to be implemented by clients.

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

onLoginStart

void onLoginStart(
Subject subject)
This method is called before login starts.

Parameters:
subject - the subject being authenticated, might be null if there is no subject associated the context at this time

onLoginFinish

void onLoginFinish(
Subject subject,
                   
LoginException loginException)
This method is called after login sequence is finished. If login exception is not null, the login failed.

Parameters:
subject - the subject being authenticated, might be null if there is no subject associated the context at this time
loginException - null if login succeeded, otherwise contains exception caused login to fail

onLogoutStart

void onLogoutStart(
Subject subject)
This method is called before logout starts.

Parameters:
subject - the authenticated subject, might be null if there is no subject associated the context at this time

onLogoutFinish

void onLogoutFinish(
Subject subject,
                    
LoginException logoutException)
This method is called after logout sequence finishes. If logout exception is not null, the logout failed.

Parameters:
subject - the authenticated subject, might be null if there is no subject associated the context at this time
logoutException - null if logout succeeded, otherwise contains exception caused logout to fail

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire