# Package javax.security.auth.login

package javax.security.auth.login
This package provides a pluggable authentication framework.

## Package Specification

- Java Security Standard Algorithm Names Specification

Since:
  1.4
External Specifications
  - Java Security Standard Algorithm Names

Related Packages
Module
Package
Description
java.base
javax.security.auth
This package provides a framework for authentication and authorization.
java.base
javax.security.auth.callback
This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example).
java.security.jgss
javax.security.auth.kerberos
This package contains utility classes related to the Kerberos network authentication protocol.
java.base
javax.security.auth.spi
This package provides the interface to be used for implementing pluggable authentication modules.
java.base
javax.security.auth.x500
This package contains the classes that should be used to store X500 Principal and X500 Private Credentials in a Subject.
Class
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.
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 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.
Configuration.Parameters
This represents a marker interface for Configuration parameters.
ConfigurationSpi
This class defines the Service Provider Interface (SPI) for the `Configuration` class.
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.
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.
LoginException
This is the basic login exception.