DisabledException class
The login was refused because the account is disabled
(UserDetails.isEnabled is false).
Checked before the password.
Spring (Java): DisabledException.
- Inheritance
-
- Object
- AuthenticationException
- AccountStatusException
- DisabledException
Constructors
- DisabledException([String message = 'User is disabled', Object? cause])
-
A refused login;
messagedefaults to'User is disabled'.
Properties
- authenticationRequest ↔ Authentication?
-
The login request that failed, set by
ProviderManager;nullwhen unknown.getter/setter pairinherited - cause → Object?
-
The lower-level error that led to this one, or
null.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
What went wrong, for logs; never sent to the client.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited