| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.lang.RuntimeException | ||||
| ↳ | org.springframework.security.core.AuthenticationException | ||||
| ↳ | org.springframework.security.authentication.BadCredentialsException | ||||
Thrown if an authentication request is rejected because the credentials are invalid. For this exception to be thrown, it means the account is neither locked nor disabled.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a
BadCredentialsException with the specified
message. | |||||||||||
Constructs a
BadCredentialsException 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 a BadCredentialsException with the specified
message.
| msg | the detail message |
|---|
Constructs a BadCredentialsException with the specified
message and root cause.
| msg | the detail message |
|---|---|
| t | root cause |