javax.security.auth.login |
This package provides a pluggable authentication framework.
@since JDK1.4
|
Java Source File Name | Type | Comment |
AccountException.java | Class | A generic account exception. |
AccountExpiredException.java | Class | Signals that a user account has expired.
This exception is thrown by LoginModules when they determine
that an account has expired. |
AccountLockedException.java | Class | Signals that an account was locked. |
AccountNotFoundException.java | Class | Signals that an account was not found. |
AppConfigurationEntry.java | Class | This class represents a single LoginModule entry
configured for the application specified in the
getAppConfigurationEntry(String appName)
method in the Configuration class. |
Configuration.java | Class | A Configuration object is responsible for specifying which LoginModules
should be used for a particular application, and in what order the
LoginModules should be invoked.
A login configuration contains the following information.
Note that this example only represents the default syntax for the
Configuration . |
ConfigurationSpi.java | Class | This class defines the Service Provider Interface (SPI)
for the Configuration class.
All the abstract methods in this class must be implemented by each
service provider who wishes to supply a Configuration implementation.
Subclass implementations of this abstract class must provide
a public constructor that takes a Configuration.Parameters
object as an input parameter. |
CredentialException.java | Class | A generic credential exception. |
CredentialExpiredException.java | Class | Signals that a Credential has expired.
This exception is thrown by LoginModules when they determine
that a Credential has expired.
For example, a LoginModule authenticating a user
in its login method may determine that the user's
password, although entered correctly, has expired. |
CredentialNotFoundException.java | Class | Signals that a credential was not found. |
FailedLoginException.java | Class | Signals that user authentication failed. |
LoginContext.java | Class | The LoginContext class describes the basic methods used
to authenticate Subjects and provides a way to develop an
application independent of the underlying authentication technology.
A Configuration specifies the authentication technology, or
LoginModule , to be used with a particular application.
Different LoginModules can be plugged in under an application
without requiring any modifications to the application itself.
In addition to supporting pluggable authentication, this class
also supports the notion of stacked authentication.
Applications may be configured to use more than one
LoginModule. |
LoginException.java | Class | This is the basic login exception. |