Uses of Class
javax.security.auth.login.LoginException
Package
Description
Provides implementations of
LoginModule
.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 com.sun.security.auth.module
Modifier and TypeMethodDescriptionboolean
JndiLoginModule.abort()
This method is called if the LoginContext's overall authentication failed.boolean
KeyStoreLoginModule.abort()
This method is called if the LoginContext's overall authentication failed.boolean
Krb5LoginModule.abort()
This method is called if the LoginContext's overall authentication failed.boolean
LdapLoginModule.abort()
Abort user authentication.boolean
NTLoginModule.abort()
This method is called if the LoginContext's overall authentication failed.boolean
UnixLoginModule.abort()
Abort the authentication (second phase).boolean
JndiLoginModule.commit()
Abstract method to commit the authentication process (phase 2).boolean
KeyStoreLoginModule.commit()
Abstract method to commit the authentication process (phase 2).boolean
Krb5LoginModule.commit()
This method is called if the LoginContext's overall authentication succeeded (the relevant REQUIRED, REQUISITE, SUFFICIENT and OPTIONAL LoginModules succeeded).boolean
LdapLoginModule.commit()
Complete user authentication.boolean
NTLoginModule.commit()
This method is called if the LoginContext's overall authentication succeeded (the relevant REQUIRED, REQUISITE, SUFFICIENT and OPTIONAL LoginModules succeeded).boolean
UnixLoginModule.commit()
Commit the authentication (second phase).boolean
JndiLoginModule.login()
Prompt for username and password.boolean
KeyStoreLoginModule.login()
Authenticate the user.boolean
Krb5LoginModule.login()
Authenticate the userboolean
LdapLoginModule.login()
Begin user authentication.boolean
NTLoginModule.login()
Import underlying NT system identity information.boolean
UnixLoginModule.login()
Authenticate the user (first phase).boolean
JndiLoginModule.logout()
Logout a user.boolean
KeyStoreLoginModule.logout()
Logout a user.boolean
Krb5LoginModule.logout()
Logout the user.boolean
LdapLoginModule.logout()
Logout a user.boolean
NTLoginModule.logout()
Logout the user.boolean
UnixLoginModule.logout()
Logout the user -
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
.