Class HttpSecurityRecorder
- java.lang.Object
-
- io.quarkus.vertx.http.runtime.security.HttpSecurityRecorder
-
public class HttpSecurityRecorder extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpSecurityRecorder.AbstractAuthenticationHandler
static class
HttpSecurityRecorder.DefaultAuthFailureHandler
(package private) static class
HttpSecurityRecorder.HttpAuthenticationHandler
-
Constructor Summary
Constructors Constructor Description HttpSecurityRecorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
authenticationMechanismHandler(boolean proactiveAuthentication)
RuntimeValue<HttpSecurityPolicy>
createNamedHttpSecurityPolicy(Supplier<HttpSecurityPolicy> policySupplier, String name)
Supplier<EagerSecurityInterceptorStorage>
createSecurityInterceptorStorage(Map<RuntimeValue<MethodDescription>,Consumer<io.vertx.ext.web.RoutingContext>> endpointRuntimeValToInterceptor)
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
formAuthPostHandler()
This handler resolves the identity, and will be mapped to the post location.io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
permissionCheckHandler()
-
-
-
Method Detail
-
authenticationMechanismHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> authenticationMechanismHandler(boolean proactiveAuthentication)
-
permissionCheckHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> permissionCheckHandler()
-
formAuthPostHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> formAuthPostHandler()
This handler resolves the identity, and will be mapped to the post location. Otherwise, for lazy auth the post will not be evaluated if there is no security rule for the post location.
-
createSecurityInterceptorStorage
public Supplier<EagerSecurityInterceptorStorage> createSecurityInterceptorStorage(Map<RuntimeValue<MethodDescription>,Consumer<io.vertx.ext.web.RoutingContext>> endpointRuntimeValToInterceptor)
-
createNamedHttpSecurityPolicy
public RuntimeValue<HttpSecurityPolicy> createNamedHttpSecurityPolicy(Supplier<HttpSecurityPolicy> policySupplier, String name)
-
-