Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.2
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
javax.security.auth.login.LoginException

Packages that use LoginException
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 javax.security.auth.login

Subclasses of LoginException in javax.security.auth.login
`class` | `AccountExpiredException` Signals that a user account has expired.
`class` | `CredentialExpiredException` Signals that a `Credential` has expired.
`class` | `FailedLoginException` Signals that user authentication failed.

Methods in javax.security.auth.login that throw LoginException
`void` | `LoginContext.login()` Perform the authentication and, if successful, associate Principals and Credentials with the authenticated `Subject`.
`void` | `LoginContext.logout()` Logout the `Subject`.

Constructors in javax.security.auth.login that throw LoginException
`LoginContext(String name)` Constructor for the `LoginContext` class.
`LoginContext(String name, Subject subject)` Constructor for the `LoginContext` class.
`LoginContext(String name, CallbackHandler callbackHandler)` Constructor for the `LoginContext` class.
`LoginContext(String name, Subject subject, CallbackHandler callbackHandler)` Constructor for the `LoginContext` class.

Uses of LoginException in javax.security.auth.spi

Methods in javax.security.auth.spi that throw LoginException
`boolean` | `LoginModule.login()` Method to authenticate a `Subject` (phase 1).
`boolean` | `LoginModule.commit()` Method to commit the authentication process (phase 2).
`boolean` | `LoginModule.abort()` Method to abort the authentication process (phase 2).
`boolean` | `LoginModule.logout()` Method which logs out a `Subject`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.2
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.