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
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:
-
Constructor Summary
ConstructorDescriptionLoginException
(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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LoginException
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.
-