Class HttpSecurityRecorder
java.lang.Object
io.quarkus.vertx.http.runtime.security.HttpSecurityRecorder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionHttpSecurityRecorder(io.quarkus.runtime.RuntimeValue<VertxHttpConfig> httpConfig, VertxHttpBuildTimeConfig httpBuildTimeConfig) -
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.runtime.RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> authenticationMechanismHandler(boolean proactiveAuthentication, boolean propagateRoutingContext) 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) io.quarkus.runtime.RuntimeValue<io.quarkus.security.spi.runtime.MethodDescription> createMethodDescription(String className, String methodName, String[] paramTypes) createSecurityInterceptorStorage(Map<io.quarkus.runtime.RuntimeValue<io.quarkus.security.spi.runtime.MethodDescription>, Consumer<io.vertx.ext.web.RoutingContext>> endpointRuntimeValToInterceptor, Map<String, Consumer<io.vertx.ext.web.RoutingContext>> classNameToInterceptor) voidformAuthPostHandler(io.quarkus.runtime.RuntimeValue<io.vertx.ext.web.Router> httpRouter) This handler resolves the identity, and will be mapped to the post location.io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> getHttpAuthenticatorHandler(io.quarkus.runtime.RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> handlerRuntimeValue) voidinitializeHttpAuthenticatorHandler(io.quarkus.runtime.RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> handlerRuntimeValue, io.quarkus.arc.runtime.BeanContainer beanContainer) io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> io.quarkus.runtime.RuntimeValue<CORSConfig> prepareHttpSecurityConfiguration(io.quarkus.runtime.ShutdownContext shutdownContext) voidvoid
-
Constructor Details
-
HttpSecurityRecorder
public HttpSecurityRecorder(io.quarkus.runtime.RuntimeValue<VertxHttpConfig> httpConfig, VertxHttpBuildTimeConfig httpBuildTimeConfig)
-
-
Method Details
-
authenticationMechanismHandler
public io.quarkus.runtime.RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> authenticationMechanismHandler(boolean proactiveAuthentication, boolean propagateRoutingContext) -
getHttpAuthenticatorHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> getHttpAuthenticatorHandler(io.quarkus.runtime.RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> handlerRuntimeValue) -
initializeHttpAuthenticatorHandler
public void initializeHttpAuthenticatorHandler(io.quarkus.runtime.RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> handlerRuntimeValue, io.quarkus.arc.runtime.BeanContainer beanContainer) -
permissionCheckHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> permissionCheckHandler() -
formAuthPostHandler
public void formAuthPostHandler(io.quarkus.runtime.RuntimeValue<io.vertx.ext.web.Router> httpRouter) 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<io.quarkus.runtime.RuntimeValue<io.quarkus.security.spi.runtime.MethodDescription>, Consumer<io.vertx.ext.web.RoutingContext>> endpointRuntimeValToInterceptor, Map<String, Consumer<io.vertx.ext.web.RoutingContext>> classNameToInterceptor) -
createAdditionalSecEventPropsSupplier
-
prepareHttpSecurityConfiguration
public io.quarkus.runtime.RuntimeValue<CORSConfig> prepareHttpSecurityConfiguration(io.quarkus.runtime.ShutdownContext shutdownContext) -
createFormAuthMechanism
-
setMtlsCertificateRoleProperties
public void setMtlsCertificateRoleProperties() -
createMethodDescription
-
authMechanismSelectionInterceptorCreator
-
getSecurityIdentityContextKeySupplier
-
createEagerSecurityInterceptor
-
compoundSecurityInterceptor
-
selectAuthMechanismViaAnnotation
public void selectAuthMechanismViaAnnotation() -
basicAuthenticationMechanismBean
-