| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | org.springframework.security.core.AuthenticationException | |||
Known Indirect Subclasses
|
Abstract superclass for all exceptions related to an Authentication object being invalid for whatever
reason.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an
AuthenticationException with the specified message and root cause. | |||||||||||
Constructs an
AuthenticationException with the specified message and no root cause. | |||||||||||
This constructor is deprecated.
Use the exception message or use a custom exception if you really need additional information.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
to avoid potential leaking of sensitive information (e.g. through serialization/remoting).
| |||||||||||
This method is deprecated.
Use the exception message or use a custom exception if you really need additional information.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs an AuthenticationException with the specified message and root cause.
| msg | the detail message |
|---|---|
| t | the root cause |
Constructs an AuthenticationException with the specified message and no root cause.
| msg | the detail message |
|---|
This constructor is deprecated.
Use the exception message or use a custom exception if you really need additional information.
This method is deprecated.
to avoid potential leaking of sensitive information (e.g. through serialization/remoting).
The authentication request which this exception corresponds to (may be null)
This method is deprecated.
Use the exception message or use a custom exception if you really need additional information.
Any additional information about the exception. Generally a UserDetails object.
null