java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | org.springframework.security.core.AuthenticationException | ||||
↳ | org.springframework.security.authentication.AuthenticationCredentialsNotFoundException |
Thrown if an authentication request is rejected because there is no Authentication
object in the SecurityContext
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an
AuthenticationCredentialsNotFoundException
with the specified message. | |||||||||||
Constructs an
AuthenticationCredentialsNotFoundException
with the specified message and root cause. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.security.core.AuthenticationException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructs an AuthenticationCredentialsNotFoundException
with the specified message.
msg | the detail message |
---|
Constructs an AuthenticationCredentialsNotFoundException
with the specified message and root cause.
msg | the detail message |
---|---|
t | root cause |