Class HttpSecurityRecorder.DefaultAuthFailureHandler
java.lang.Object
io.quarkus.vertx.http.runtime.security.HttpSecurityRecorder.DefaultAuthFailureHandler
- All Implemented Interfaces:
BiConsumer<io.vertx.ext.web.RoutingContext,Throwable>
- Enclosing class:
- HttpSecurityRecorder
public abstract static class HttpSecurityRecorder.DefaultAuthFailureHandler
extends Object
implements BiConsumer<io.vertx.ext.web.RoutingContext,Throwable>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic ThrowableextractRootCause(Throwable throwable) static booleanisOtherAuthenticationFailure(io.vertx.ext.web.RoutingContext event) static voidmarkIfOtherAuthenticationFailure(io.vertx.ext.web.RoutingContext event, Throwable throwable) protected abstract voidstatic voidremoveMarkAsOtherAuthenticationFailure(io.vertx.ext.web.RoutingContext event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThen
-
Field Details
-
DEV_MODE_AUTHENTICATION_FAILURE_BODY
- See Also:
-
-
Constructor Details
-
DefaultAuthFailureHandler
protected DefaultAuthFailureHandler()
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<io.vertx.ext.web.RoutingContext,Throwable>
-
proceed
-
extractRootCause
-
markIfOtherAuthenticationFailure
public static void markIfOtherAuthenticationFailure(io.vertx.ext.web.RoutingContext event, Throwable throwable) -
removeMarkAsOtherAuthenticationFailure
public static void removeMarkAsOtherAuthenticationFailure(io.vertx.ext.web.RoutingContext event) -
isOtherAuthenticationFailure
public static boolean isOtherAuthenticationFailure(io.vertx.ext.web.RoutingContext event)
-