public abstract class AuthenticationException extends SpringSecurityException
Authentication object being invalid for whatever
reason.| Constructor and Description |
|---|
AuthenticationException(java.lang.String msg)
Constructs an
AuthenticationException with the specified
message and no root cause. |
AuthenticationException(java.lang.String msg,
java.lang.Object extraInformation) |
AuthenticationException(java.lang.String msg,
java.lang.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) |
java.lang.Object |
getExtraInformation()
Any additional information about the exception.
|
contains, getMessage, getMostSpecificCause, getRootCausepublic AuthenticationException(java.lang.String msg,
java.lang.Throwable t)
AuthenticationException with the specified
message and root cause.msg - the detail messaget - the root causepublic AuthenticationException(java.lang.String msg)
AuthenticationException with the specified
message and no root cause.msg - the detail messagepublic AuthenticationException(java.lang.String msg,
java.lang.Object extraInformation)
public Authentication getAuthentication()
null)public java.lang.Object getExtraInformation()
UserDetails object.null