AuthenticationServiceException class

A login could not be checked because something failed, such as the user database being down, rather than because the credentials are wrong.

A web client still gets a 401 and learns nothing about the failure; the message and the cause are for the logs.

Spring (Java): AuthenticationServiceException.

Inheritance

Constructors

AuthenticationServiceException(String message, [Object? cause])
A failure described by message, caused by cause.

Properties

authenticationRequest ↔ Authentication?
The login request that failed, set by ProviderManager; null when 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