Uses of Class
javax.security.auth.login.LoginException
Packages that use 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
Methods in com.sun.security.auth.module that throw LoginExceptionModifier and TypeMethodDescriptionbooleanJndiLoginModule.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 LoginExceptionModifier and TypeMethodDescriptionabstract 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.loginModifier and TypeClassDescriptionclassA generic account exception.classSignals that a user account has expired.classSignals that an account was locked.classSignals that an account was not found.classA generic credential exception.classSignals that aCredentialhas expired.classSignals that a credential was not found.classSignals that user authentication failed.Methods in javax.security.auth.login that throw LoginExceptionModifier and TypeMethodDescriptionvoidLoginContext.login()Perform the authentication.voidLoginContext.logout()Logout theSubject.Constructors in javax.security.auth.login that throw LoginExceptionModifierConstructorDescriptionLoginContext(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 LoginExceptionModifier and TypeMethodDescriptionbooleanLoginModule.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.