Class IAMTemplate
- java.lang.Object
-
- io.thestencil.quarkus.iam.handler.IAMTemplate
-
- All Implemented Interfaces:
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
- Direct Known Subclasses:
IAMHandler
public abstract class IAMTemplate extends Object implements io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
-
-
Constructor Summary
Constructors Constructor Description IAMTemplate(io.quarkus.security.identity.CurrentIdentityAssociation currentIdentityAssociation, io.quarkus.vertx.http.runtime.CurrentVertxRequest currentVertxRequest)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static voidcatch404(String id, IAMClient ctx, io.vertx.core.http.HttpServerResponse response)static voidcatch422(Throwable e, IAMClient ctx, io.vertx.core.http.HttpServerResponse response)static StringexceptionHash(String msg)voidhandle(io.vertx.ext.web.RoutingContext event)protected abstract voidhandleResource(io.vertx.ext.web.RoutingContext event, io.vertx.core.http.HttpServerResponse response, IAMClient ctx)protected voidhandleSecurity(io.vertx.ext.web.RoutingContext event)
-
-
-
Method Detail
-
handleResource
protected abstract void handleResource(io.vertx.ext.web.RoutingContext event, io.vertx.core.http.HttpServerResponse response, IAMClient ctx)
-
handleSecurity
protected void handleSecurity(io.vertx.ext.web.RoutingContext event)
-
handle
public void handle(io.vertx.ext.web.RoutingContext event)
- Specified by:
handlein interfaceio.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
-
catch404
public static void catch404(String id, IAMClient ctx, io.vertx.core.http.HttpServerResponse response)
-
catch422
public static void catch422(Throwable e, IAMClient ctx, io.vertx.core.http.HttpServerResponse response)
-
-