Package javax.security.auth.login

This package provides a pluggable authentication framework.

Since:
1.4
Interface Summary
Interface Description
Configuration.Parameters

This represents a marker interface for Configuration parameters.

Class Summary
Class Description
AppConfigurationEntry

This class represents a single LoginModule entry configured for the application specified in the getAppConfigurationEntry(String appName) method in the Configuration class.

AppConfigurationEntry.LoginModuleControlFlag

This class represents whether or not a LoginModule is REQUIRED, REQUISITE, SUFFICIENT or OPTIONAL.

Configuration

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.

ConfigurationSpi

This class defines the Service Provider Interface (SPI) for the Configuration class.

LoginContext

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.

Exception Summary
Exception Description
AccountException

A generic account exception.

AccountExpiredException

Signals that a user account has expired.

AccountLockedException

Signals that an account was locked.

AccountNotFoundException

Signals that an account was not found.

CredentialException

A generic credential exception.

CredentialExpiredException

Signals that a Credential has expired.

CredentialNotFoundException

Signals that a credential was not found.

FailedLoginException

Signals that user authentication failed.

LoginException

This is the basic login exception.