KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > security > auth > login > LoginContext

javax.security.auth.login
Class LoginContext

java.lang.Object
  extended by javax.security.auth.login.LoginContext
See Also:
Top Examples, Source Code, Security, AuthPermission, Subject, CallbackHandler, Configuration, LoginModule

public Subject getSubject()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void login()
           throws LoginException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[39]Security login context
By Anonymous on 2002/09/09 19:06:21  Rate
LoginContext loginContext = new LoginContext ( loginAppName, labOneCallbackHandler ) ;

public LoginContext(String name)
             throws LoginException
See Also:
SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public LoginContext(String name,
                    CallbackHandler callbackHandler)
             throws LoginException
See Also:
SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public LoginContext(String name,
                    Subject subject)
             throws LoginException
See Also:
SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public LoginContext(String name,
                    Subject subject,
                    CallbackHandler callbackHandler)
             throws LoginException
See Also:
SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public LoginContext(String name,
                    Subject subject,
                    CallbackHandler callbackHandler,
                    Configuration config)
             throws LoginException
See Also:
SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void logout()
            throws LoginException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags