Package org.owasp.esapi.errors
Class AuthenticationCredentialsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.owasp.esapi.errors.EnterpriseSecurityException
-
- org.owasp.esapi.errors.AuthenticationException
-
- org.owasp.esapi.errors.AuthenticationCredentialsException
-
- All Implemented Interfaces:
java.io.Serializable
public class AuthenticationCredentialsException extends AuthenticationException
An AuthenticationException should be thrown when anything goes wrong during login or logout. They are also appropriate for any problems related to identity management.- Author:
- Jeff Williams (jeff.williams@aspectsecurity.com)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.owasp.esapi.errors.EnterpriseSecurityException
logger, logMessage
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AuthenticationCredentialsException()
Instantiates a new authentication exception.AuthenticationCredentialsException(java.lang.String userMessage, java.lang.String logMessage)
Creates a new instance ofAuthenticationCredentialsException
.AuthenticationCredentialsException(java.lang.String userMessage, java.lang.String logMessage, java.lang.Throwable cause)
Instantiates a new authentication exception.
-
Method Summary
-
Methods inherited from class org.owasp.esapi.errors.EnterpriseSecurityException
getLogMessage, getUserMessage
-
-
-
-
Constructor Detail
-
AuthenticationCredentialsException
protected AuthenticationCredentialsException()
Instantiates a new authentication exception.
-
AuthenticationCredentialsException
public AuthenticationCredentialsException(java.lang.String userMessage, java.lang.String logMessage)
Creates a new instance ofAuthenticationCredentialsException
.- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message logged
-
AuthenticationCredentialsException
public AuthenticationCredentialsException(java.lang.String userMessage, java.lang.String logMessage, java.lang.Throwable cause)
Instantiates a new authentication exception.- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message loggedcause
- the root cause
-
-