Uses of Class
javax.security.auth.login.LoginException
Package
Description
Provides the classes and interfaces for the security framework.
This package provides a pluggable authentication framework.
This package provides the interface to be used for
implementing pluggable authentication modules.
-
Uses of LoginException in java.security
Modifier and TypeMethodDescriptionabstract void
AuthProvider.login
(Subject subject, CallbackHandler handler) Log in to this provider.abstract void
AuthProvider.logout()
Log out from this provider. -
Uses of LoginException in javax.security.auth.login
Modifier and TypeClassDescriptionclass
A generic account exception.class
Signals that a user account has expired.class
Signals that an account was locked.class
Signals that an account was not found.class
A generic credential exception.class
Signals that aCredential
has expired.class
Signals that a credential was not found.class
Signals that user authentication failed.Modifier and TypeMethodDescriptionvoid
LoginContext.login()
Perform the authentication.void
LoginContext.logout()
Logout theSubject
.ModifierConstructorDescriptionLoginContext
(String name) Instantiate a newLoginContext
object with a name.LoginContext
(String name, CallbackHandler callbackHandler) Instantiate a newLoginContext
object with a name and aCallbackHandler
object.LoginContext
(String name, Subject subject) Instantiate a newLoginContext
object with a name and aSubject
object.LoginContext
(String name, Subject subject, CallbackHandler callbackHandler) Instantiate a newLoginContext
object with a name, aSubject
to be authenticated, and aCallbackHandler
object.LoginContext
(String name, Subject subject, CallbackHandler callbackHandler, Configuration config) Instantiate a newLoginContext
object with a name, aSubject
to be authenticated, aCallbackHandler
object, and a loginConfiguration
. -
Uses of LoginException in javax.security.auth.spi
Modifier and TypeMethodDescriptionboolean
LoginModule.abort()
Method to abort the authentication process (phase 2).boolean
LoginModule.commit()
Method to commit the authentication process (phase 2).boolean
LoginModule.login()
Method to authenticate aSubject
(phase 1).boolean
LoginModule.logout()
Method which logs out aSubject
.