|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.springframework.core.NestedRuntimeException org.springframework.security.SpringSecurityException org.springframework.security.AuthenticationException
public abstract class AuthenticationException
Abstract superclass for all exceptions related an Authentication
object being invalid for whatever
reason.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
Authentication |
getAuthentication()
The authentication request which this exception corresponds to (may be null ) |
Object |
getExtraInformation()
Any additional information about the exception. |
Methods inherited from class org.springframework.core.NestedRuntimeException |
---|
contains, getCause, getMessage, getMostSpecificCause, getRootCause, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 AuthenticationException(String msg, Object extraInformation)
Method Detail |
---|
public Authentication getAuthentication()
null
)
public Object getExtraInformation()
UserDetails
object.
null
|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |