Package javax.security.auth.login

This package provides a pluggable authentication framework.

See: Description

Interface Description
Configuration.Parameters

This represents a marker interface for Configuration parameters.

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 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.

Package javax.security.auth.login Description

This package provides a pluggable authentication framework.

Since:
1.4

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/security/auth/login/package-summary.html