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, boolean propagateRoutingContext) basicAuthenticationMechanismBean(VertxHttpConfig httpConfig, boolean formAuthEnabled) 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) createSecurityInterceptorStorage(Map<RuntimeValue<MethodDescription>, Consumer<io.vertx.ext.web.RoutingContext>> endpointRuntimeValToInterceptor, Map<String, Consumer<io.vertx.ext.web.RoutingContext>> classNameToInterceptor) 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, VertxHttpConfig httpConfig, io.quarkus.arc.runtime.BeanContainer beanContainer) io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>voidvoidsetMtlsCertificateRoleProperties(VertxHttpConfig httpConfig)
-
Constructor Details
-
HttpSecurityRecorder
public HttpSecurityRecorder()
-
-
Method Details
-
authenticationMechanismHandler
public RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> authenticationMechanismHandler(boolean proactiveAuthentication, boolean propagateRoutingContext) -
getHttpAuthenticatorHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> getHttpAuthenticatorHandler(RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> handlerRuntimeValue) -
initializeHttpAuthenticatorHandler
public void initializeHttpAuthenticatorHandler(RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> handlerRuntimeValue, VertxHttpConfig httpConfig, io.quarkus.arc.runtime.BeanContainer beanContainer) -
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, Map<String, Consumer<io.vertx.ext.web.RoutingContext>> classNameToInterceptor) -
createAdditionalSecEventPropsSupplier
-
setMtlsCertificateRoleProperties
-
createMethodDescription
public RuntimeValue<MethodDescription> createMethodDescription(String className, String methodName, String[] paramTypes) -
authMechanismSelectionInterceptorCreator
-
getSecurityIdentityContextKeySupplier
-
createEagerSecurityInterceptor
-
compoundSecurityInterceptor
-
selectAuthMechanismViaAnnotation
public void selectAuthMechanismViaAnnotation() -
basicAuthenticationMechanismBean
public Supplier<BasicAuthenticationMechanism> basicAuthenticationMechanismBean(VertxHttpConfig httpConfig, boolean formAuthEnabled)
-