Class LoginException

All Implemented Interfaces:
Serializable

public class LoginException extends SecurityException
LoginException is thrown by the LoginContext class whenever the following happens:
  • If the client is unable to authenticate successfully with the
Author:
Harish Prabandham, Harpreet Singh
See Also:
  • invalid reference
    com.sun.enterprise.security.auth.AuthenticationStatus
  • Serialized Form
  • Constructor Details

    • LoginException

      public LoginException(String message)
      Create a new LoginException object with the given message
      Parameters:
      The - message indicating why authentication failed.
    • LoginException

      public LoginException(boolean as)
      Create a new LoginException object with the given authentication value.
      Parameters:
      The - AuthenticationStatus object
  • Method Details

    • getStatus

      public boolean getStatus()
      Returns the status of the Authentication.