public abstract class AbstractSecurityHandler
extends java.lang.Object
implements io.vertx.ext.web.handler.impl.AuthenticationHandlerInternal
Base class for our security handlers with some shared methods, how to deal with Heathans
Constructor and Description |
---|
AbstractSecurityHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
denyAccessToTheHeathans(io.vertx.ext.web.RoutingContext ctx) |
protected void |
denyAccessToTheHeathans(io.vertx.ext.web.RoutingContext ctx,
java.lang.Throwable exception) |
protected io.vertx.core.AsyncResult<io.vertx.ext.auth.User> |
getAsyncResultUser(io.vertx.ext.auth.User user,
java.lang.Throwable error) |
void |
handle(io.vertx.ext.web.RoutingContext ctx) |
protected void |
incrementAuthenticationMetrics(java.lang.Throwable t) |
protected abstract boolean |
isBasicAuth() |
public void handle(io.vertx.ext.web.RoutingContext ctx)
handle
in interface io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
protected void denyAccessToTheHeathans(io.vertx.ext.web.RoutingContext ctx)
protected void denyAccessToTheHeathans(io.vertx.ext.web.RoutingContext ctx, java.lang.Throwable exception)
protected io.vertx.core.AsyncResult<io.vertx.ext.auth.User> getAsyncResultUser(io.vertx.ext.auth.User user, java.lang.Throwable error)
protected void incrementAuthenticationMetrics(java.lang.Throwable t)
protected abstract boolean isBasicAuth()