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(RuntimeValue<VertxHttpConfig> httpConfig, VertxHttpBuildTimeConfig httpBuildTimeConfig) -
Method Summary
Modifier and TypeMethodDescriptionauthenticationMechanismHandler(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) 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) voidformAuthPostHandler(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(RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> handlerRuntimeValue) voidinitializeHttpAuthenticatorHandler(RuntimeValue<HttpSecurityRecorder.AuthenticationHandler> handlerRuntimeValue, io.quarkus.arc.runtime.BeanContainer beanContainer) io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> voidprepareHttpSecurityConfiguration(ShutdownContext shutdownContext) voidvoid
-
Constructor Details
-
HttpSecurityRecorder
public HttpSecurityRecorder(RuntimeValue<VertxHttpConfig> httpConfig, VertxHttpBuildTimeConfig httpBuildTimeConfig)
-
-
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, io.quarkus.arc.runtime.BeanContainer beanContainer) -
permissionCheckHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> permissionCheckHandler() -
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
-
prepareHttpSecurityConfiguration
-
createFormAuthMechanism
-
setMtlsCertificateRoleProperties
public void setMtlsCertificateRoleProperties() -
createMethodDescription
public RuntimeValue<MethodDescription> createMethodDescription(String className, String methodName, String[] paramTypes) -
authMechanismSelectionInterceptorCreator
-
getSecurityIdentityContextKeySupplier
-
createEagerSecurityInterceptor
-
compoundSecurityInterceptor
-
selectAuthMechanismViaAnnotation
public void selectAuthMechanismViaAnnotation() -
basicAuthenticationMechanismBean
-