| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LoginException | |
|---|---|
| java.security | Provides the classes and interfaces for the security framework. | 
| javax.security.auth.login | This package provides a pluggable authentication framework. | 
| javax.security.auth.spi | This package provides the interface to be used for implementing pluggable authentication modules. | 
| Uses of LoginException in java.security | 
|---|
| Methods in java.security that throw LoginException | |
|---|---|
| abstract  void | AuthProvider.login(Subject subject,
      CallbackHandler handler)Log in to this provider. | 
| abstract  void | AuthProvider.logout()Log out from this provider. | 
| Uses of LoginException in javax.security.auth.login | 
|---|
| Subclasses of LoginException in javax.security.auth.login | |
|---|---|
|  class | AccountExceptionA generic account exception. | 
|  class | AccountExpiredExceptionSignals that a user account has expired. | 
|  class | AccountLockedExceptionSignals that an account was locked. | 
|  class | AccountNotFoundExceptionSignals that an account was not found. | 
|  class | CredentialExceptionA generic credential exception. | 
|  class | CredentialExpiredExceptionSignals that a Credentialhas expired. | 
|  class | CredentialNotFoundExceptionSignals that a credential was not found. | 
|  class | FailedLoginExceptionSignals that user authentication failed. | 
| Methods in javax.security.auth.login that throw LoginException | |
|---|---|
|  void | LoginContext.login()Perform the authentication. | 
|  void | LoginContext.logout()Logout the Subject. | 
| Constructors in javax.security.auth.login that throw LoginException | |
|---|---|
| LoginContext(String name)Instantiate a new LoginContextobject with a name. | |
| LoginContext(String name,
             CallbackHandler callbackHandler)Instantiate a new LoginContextobject with a name
 and aCallbackHandlerobject. | |
| LoginContext(String name,
             Subject subject)Instantiate a new LoginContextobject with a name
 and aSubjectobject. | |
| LoginContext(String name,
             Subject subject,
             CallbackHandler callbackHandler)Instantiate a new LoginContextobject with a name,
 aSubjectto be authenticated, and aCallbackHandlerobject. | |
| LoginContext(String name,
             Subject subject,
             CallbackHandler callbackHandler,
             Configuration config)Instantiate a new LoginContextobject with a name,
 aSubjectto be authenticated,
 aCallbackHandlerobject, and a loginConfiguration. | |
| Uses of LoginException in javax.security.auth.spi | 
|---|
| Methods in javax.security.auth.spi that throw LoginException | |
|---|---|
|  boolean | LoginModule.abort()Method to abort the authentication process (phase 2). | 
|  boolean | LoginModule.commit()Method to commit the authentication process (phase 2). | 
|  boolean | LoginModule.login()Method to authenticate a Subject(phase 1). | 
|  boolean | LoginModule.logout()Method which logs out a Subject. | 
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.