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
-
Related PackagesModulePackageDescriptionThis package provides a framework for authentication and authorization.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).This package contains utility classes related to the Kerberos network authentication protocol.This package provides the interface to be used for implementing pluggable authentication modules.This package contains the classes that should be used to store X500 Principal and X500 Private Credentials in a Subject.
-
Interface SummaryInterfaceDescriptionThis represents a marker interface for Configuration parameters.
-
Class SummaryClassDescriptionThis 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. -
Exception SummaryExceptionDescriptionA 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.