Java™ Platform
Standard Ed. 6

Package javax.security.auth.login

This package provides a pluggable authentication framework.

See:
          Description

Interface Summary
Configuration.Parameters This represents a marker interface for Configuration parameters.
 

Class Summary
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
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:
JDK1.4

Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.