public abstract class AuthenticationException extends AcegiSecurityException
Authentication object being invalid for whatever
reason.| Constructor and Description |
|---|
AuthenticationException(String msg)
Constructs an
AuthenticationException with the specified
message and no root cause. |
AuthenticationException(String msg,
Object extraInformation) |
AuthenticationException(String msg,
Throwable t)
Constructs an
AuthenticationException with the specified
message and root cause. |
| Modifier and Type | Method and Description |
|---|---|
Authentication |
getAuthentication()
The authentication request which this exception corresponds to (may be
null) |
Object |
getExtraInformation()
Any additional information about the exception.
|
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AuthenticationException(String msg, Throwable t)
AuthenticationException with the specified
message and root cause.msg - the detail messaget - the root causepublic AuthenticationException(String msg)
AuthenticationException with the specified
message and no root cause.msg - the detail messagepublic Authentication getAuthentication()
null)public Object getExtraInformation()
UserDetails object.nullCopyright © 2016. All rights reserved.