Uses of Class
javax.security.auth.login.LoginException

Packages that use LoginException 
Package Description
com.sun.security.auth.module
Provides implementations of LoginModule.
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
    boolean 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 user
    boolean 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

    Methods in java.security that throw LoginException 
    Modifier and Type Method Description
    abstract 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

    Subclasses of LoginException in javax.security.auth.login 
    Modifier and Type Class Description
    class  AccountException
    A generic account exception.
    class  AccountExpiredException
    Signals that a user account has expired.
    class  AccountLockedException
    Signals that an account was locked.
    class  AccountNotFoundException
    Signals that an account was not found.
    class  CredentialException
    A generic credential exception.
    class  CredentialExpiredException
    Signals that a Credential has expired.
    class  CredentialNotFoundException
    Signals that a credential was not found.
    class  FailedLoginException
    Signals that user authentication failed.
    Methods in javax.security.auth.login that throw LoginException 
    Modifier and Type Method Description
    void LoginContext.login()
    Perform the authentication.
    void LoginContext.logout()
    Logout the Subject.
    Constructors in javax.security.auth.login that throw LoginException 
    Constructor Description
    LoginContext​(String name)
    Instantiate a new LoginContext object with a name.
    LoginContext​(String name, CallbackHandler callbackHandler)
    Instantiate a new LoginContext object with a name and a CallbackHandler object.
    LoginContext​(String name, Subject subject)
    Instantiate a new LoginContext object with a name and a Subject object.
    LoginContext​(String name, Subject subject, CallbackHandler callbackHandler)
    Instantiate a new LoginContext object with a name, a Subject to be authenticated, and a CallbackHandler object.
    LoginContext​(String name, Subject subject, CallbackHandler callbackHandler, Configuration config)
    Instantiate a new LoginContext object with a name, a Subject to be authenticated, a CallbackHandler object, and a login Configuration.
  • Uses of LoginException in javax.security.auth.spi

    Methods in javax.security.auth.spi that throw LoginException 
    Modifier and Type Method Description
    boolean 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 a Subject (phase 1).
    boolean LoginModule.logout()
    Method which logs out a Subject.