Class HttpSecurityRecorder
java.lang.Object
io.quarkus.vertx.http.runtime.security.HttpSecurityRecorder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationMechanismHandler(boolean proactiveAuthentication) Consumer<io.vertx.ext.web.RoutingContext>compoundSecurityInterceptor(Consumer<io.vertx.ext.web.RoutingContext> interceptor1, Consumer<io.vertx.ext.web.RoutingContext> interceptor2) Consumer<io.vertx.ext.web.RoutingContext>createEagerSecurityInterceptor(Function<String, Consumer<io.vertx.ext.web.RoutingContext>> interceptorCreator, String annotationValue) createMethodDescription(String className, String methodName, String[] paramTypes) createNamedHttpSecurityPolicy(Supplier<HttpSecurityPolicy> policySupplier, String name) createSecurityInterceptorStorage(Map<RuntimeValue<MethodDescription>, Consumer<io.vertx.ext.web.RoutingContext>> endpointRuntimeValToInterceptor) io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>This handler resolves the identity, and will be mapped to the post location.io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>getHttpAuthenticatorHandler(RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> handlerRuntimeValue) voidinitializeHttpAuthenticatorHandler(RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> handlerRuntimeValue, HttpConfiguration httpConfig) io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>voidvoid
-
Constructor Details
-
HttpSecurityRecorder
public HttpSecurityRecorder()
-
-
Method Details
-
authenticationMechanismHandler
public RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> authenticationMechanismHandler(boolean proactiveAuthentication) -
getHttpAuthenticatorHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> getHttpAuthenticatorHandler(RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> handlerRuntimeValue) -
initializeHttpAuthenticatorHandler
public void initializeHttpAuthenticatorHandler(RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> handlerRuntimeValue, HttpConfiguration httpConfig) -
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) -
createAdditionalSecEventPropsSupplier
-
setMtlsCertificateRoleProperties
-
createMethodDescription
public RuntimeValue<MethodDescription> createMethodDescription(String className, String methodName, String[] paramTypes) -
authMechanismSelectionInterceptorCreator
-
createEagerSecurityInterceptor
-
compoundSecurityInterceptor
-
selectAuthMechanismViaAnnotation
public void selectAuthMechanismViaAnnotation()
-