org.acegisecurity
public abstract class AuthenticationException extends AcegiSecurityException
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, getRootCause
public 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
Copyright © 2004-2014 Interface21, Inc. All Rights Reserved.