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

    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

    Modifier and Type
    Class
    Description
    class 
    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 a Credential has expired.
    class 
    Signals that a credential was not found.
    class 
    Signals that user authentication failed.
    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
    Modifier
    Constructor
    Description
     
    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

    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.