Class LoginException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.SecurityException
-
- com.sun.enterprise.security.auth.login.common.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:
AuthenticationStatus
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoginException(boolean as)
Create a new LoginException object with the given authentication value.LoginException(String message)
Create a new LoginException object with the given message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getStatus()
Returns the status of the Authentication.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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
-
-