Uses of Class
javax.security.auth.login.LoginException
-
Packages that use LoginException Package Description com.sun.security.auth.module Provides implementations ofLoginModule.java.security Provides the classes and interfaces for the security framework.javax.security.auth.login This package provides a pluggable authentication framework.javax.security.auth.spi This package provides the interface to be used for implementing pluggable authentication modules. -
-
Uses of LoginException in com.sun.security.auth.module
Methods in com.sun.security.auth.module that throw LoginException Modifier and Type Method Description booleanJndiLoginModule. abort()This method is called if the LoginContext's overall authentication failed.booleanKeyStoreLoginModule. abort()This method is called if the LoginContext's overall authentication failed.booleanKrb5LoginModule. abort()This method is called if the LoginContext's overall authentication failed.booleanLdapLoginModule. abort()Abort user authentication.booleanNTLoginModule. abort()This method is called if the LoginContext's overall authentication failed.booleanUnixLoginModule. abort()Abort the authentication (second phase).booleanJndiLoginModule. commit()Abstract method to commit the authentication process (phase 2).booleanKeyStoreLoginModule. commit()Abstract method to commit the authentication process (phase 2).booleanKrb5LoginModule. commit()This method is called if the LoginContext's overall authentication succeeded (the relevant REQUIRED, REQUISITE, SUFFICIENT and OPTIONAL LoginModules succeeded).booleanLdapLoginModule. commit()Complete user authentication.booleanNTLoginModule. commit()This method is called if the LoginContext's overall authentication succeeded (the relevant REQUIRED, REQUISITE, SUFFICIENT and OPTIONAL LoginModules succeeded).booleanUnixLoginModule. commit()Commit the authentication (second phase).booleanJndiLoginModule. login()Prompt for username and password.booleanKeyStoreLoginModule. login()Authenticate the user.booleanKrb5LoginModule. login()Authenticate the userbooleanLdapLoginModule. login()Begin user authentication.booleanNTLoginModule. login()Import underlying NT system identity information.booleanUnixLoginModule. login()Authenticate the user (first phase).booleanJndiLoginModule. logout()Logout a user.booleanKeyStoreLoginModule. logout()Logout a user.booleanKrb5LoginModule. logout()Logout the user.booleanLdapLoginModule. logout()Logout a user.booleanNTLoginModule. logout()Logout the user.booleanUnixLoginModule. logout()Logout the user -
Uses of LoginException in java.security
Methods in java.security that throw LoginException Modifier and Type Method Description abstract voidAuthProvider. login(Subject subject, CallbackHandler handler)Log in to this provider.abstract voidAuthProvider. logout()Log out from this provider. -
Uses of LoginException in javax.security.auth.login
Subclasses of LoginException in javax.security.auth.login Modifier and Type Class Description classAccountExceptionA generic account exception.classAccountExpiredExceptionSignals that a user account has expired.classAccountLockedExceptionSignals that an account was locked.classAccountNotFoundExceptionSignals that an account was not found.classCredentialExceptionA generic credential exception.classCredentialExpiredExceptionSignals that aCredentialhas expired.classCredentialNotFoundExceptionSignals that a credential was not found.classFailedLoginExceptionSignals that user authentication failed.Methods in javax.security.auth.login that throw LoginException Modifier and Type Method Description voidLoginContext. login()Perform the authentication.voidLoginContext. logout()Logout theSubject.Constructors in javax.security.auth.login that throw LoginException Constructor Description LoginContext(String name)Instantiate a newLoginContextobject with a name.LoginContext(String name, CallbackHandler callbackHandler)Instantiate a newLoginContextobject with a name and aCallbackHandlerobject.LoginContext(String name, Subject subject)Instantiate a newLoginContextobject with a name and aSubjectobject.LoginContext(String name, Subject subject, CallbackHandler callbackHandler)Instantiate a newLoginContextobject with a name, aSubjectto be authenticated, and aCallbackHandlerobject.LoginContext(String name, Subject subject, CallbackHandler callbackHandler, Configuration config)Instantiate a newLoginContextobject with a name, aSubjectto be authenticated, aCallbackHandlerobject, and a loginConfiguration. -
Uses of LoginException in javax.security.auth.spi
Methods in javax.security.auth.spi that throw LoginException Modifier and Type Method Description booleanLoginModule. abort()Method to abort the authentication process (phase 2).booleanLoginModule. commit()Method to commit the authentication process (phase 2).booleanLoginModule. login()Method to authenticate aSubject(phase 1).booleanLoginModule. logout()Method which logs out aSubject.
-