Module java.base
Package javax.security.auth.login
package javax.security.auth.login
This package provides a pluggable authentication framework.
Package Specification
- Since:
- 1.4
-
InterfaceDescriptionThis represents a marker interface for Configuration parameters.
-
ClassDescriptionThis class represents a single
LoginModule
entry configured for the application specified in thegetAppConfigurationEntry(String appName)
method in theConfiguration
class.This class represents whether or not aLoginModule
is REQUIRED, REQUISITE, SUFFICIENT or OPTIONAL.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.This class defines the Service Provider Interface (SPI) for theConfiguration
class.TheLoginContext
class describes the basic methods used to authenticate Subjects and provides a way to develop an application independent of the underlying authentication technology. -
ExceptionDescriptionA generic account exception.Signals that a user account has expired.Signals that an account was locked.Signals that an account was not found.A generic credential exception.Signals that a
Credential
has expired.Signals that a credential was not found.Signals that user authentication failed.This is the basic login exception.