TopBlend: Here is the first difference. There are 4 differences. is old. is new.

Package javax.security.auth.login

This package provides a pluggable authentication framework.

See:
           Description

Interface Class Summary
Configuration.Parameters AppConfigurationEntry This class represents a marker interface single LoginModule entry configured for the application specified in the getAppConfigurationEntry(String appName) method in the Configuration parameters. class.
AppConfigurationEntry.LoginModuleControlFlag This class represents whether or not a LoginModule is REQUIRED, REQUISITE, SUFFICIENT or OPTIONAL.
Configuration This is an abstract class for representing the configuration of LoginModules under an application.
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.
 

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