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, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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.null
Copyright © 2018. All rights reserved.