All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.security.AuthenticationFailedException Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package io.quarkus.security;

import io.quarkus.security.identity.IdentityProvider;

/**
 * An exception that should be thrown (or otherwise returned to the client for
 * async implementations) by {@link IdentityProvider} 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. */ public final class AuthenticationFailedException extends SecurityException { public AuthenticationFailedException() { } public AuthenticationFailedException(String errorMessage) { this(errorMessage, null); } public AuthenticationFailedException(Throwable cause) { this(null, cause); } public AuthenticationFailedException(String errorMessage, Throwable cause) { super(errorMessage, cause); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy