Package io.quarkus.security
Class AuthenticationFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.SecurityException
-
- io.quarkus.security.AuthenticationFailedException
-
- All Implemented Interfaces:
AuthenticationException
,Serializable
public final class AuthenticationFailedException extends SecurityException implements AuthenticationException
An exception that should be thrown (or otherwise returned to the client for async implementations) byIdentityProvider
implementations if the authentication failed.This can be used by a mechanism to determine if an authentication failure was due to bad credentials vs some other form of internal failure.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationFailedException()
AuthenticationFailedException(String errorMessage)
AuthenticationFailedException(String errorMessage, Throwable cause)
AuthenticationFailedException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-