Class HttpSecurityRecorder

java.lang.Object
io.quarkus.vertx.http.runtime.security.HttpSecurityRecorder

public class HttpSecurityRecorder extends Object
  • Constructor Details

  • 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

      public void formAuthPostHandler(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<RuntimeValue<MethodDescription>,Consumer<io.vertx.ext.web.RoutingContext>> endpointRuntimeValToInterceptor, Map<String,Consumer<io.vertx.ext.web.RoutingContext>> classNameToInterceptor)
    • createAdditionalSecEventPropsSupplier

      public Supplier<Map<String,Object>> createAdditionalSecEventPropsSupplier()
    • prepareHttpSecurityConfiguration

      public void prepareHttpSecurityConfiguration(ShutdownContext shutdownContext)
    • createFormAuthMechanism

      public Supplier<FormAuthenticationMechanism> createFormAuthMechanism()
    • setMtlsCertificateRoleProperties

      public void setMtlsCertificateRoleProperties()
    • createMethodDescription

      public RuntimeValue<MethodDescription> createMethodDescription(String className, String methodName, String[] paramTypes)
    • authMechanismSelectionInterceptorCreator

      public Function<String,Consumer<io.vertx.ext.web.RoutingContext>> authMechanismSelectionInterceptorCreator()
    • getSecurityIdentityContextKeySupplier

      public RuntimeValue<List<String>> getSecurityIdentityContextKeySupplier()
    • createEagerSecurityInterceptor

      public Consumer<io.vertx.ext.web.RoutingContext> createEagerSecurityInterceptor(Function<String,Consumer<io.vertx.ext.web.RoutingContext>> interceptorCreator, String annotationValue)
    • compoundSecurityInterceptor

      public Consumer<io.vertx.ext.web.RoutingContext> compoundSecurityInterceptor(Consumer<io.vertx.ext.web.RoutingContext> interceptor1, Consumer<io.vertx.ext.web.RoutingContext> interceptor2)
    • selectAuthMechanismViaAnnotation

      public void selectAuthMechanismViaAnnotation()
    • basicAuthenticationMechanismBean

      public Supplier<BasicAuthenticationMechanism> basicAuthenticationMechanismBean()