|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.core.AuthenticationException
public abstract class AuthenticationException
Abstract superclass for all exceptions related to 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 | |
|---|---|
void |
clearExtraInformation()
|
Authentication |
getAuthentication()
The authentication request which this exception corresponds to (may be null) |
Object |
getExtraInformation()
Any additional information about the exception. |
void |
setAuthentication(Authentication authentication)
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, 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 message
public AuthenticationException(String msg,
Object extraInformation)
| Method Detail |
|---|
public Authentication getAuthentication()
null)
public void setAuthentication(Authentication authentication)
public Object getExtraInformation()
UserDetails object.
nullpublic void clearExtraInformation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||