Class HttpSecurityRecorder

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

public class HttpSecurityRecorder extends Object
  • Constructor Details

  • 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

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

      public io.quarkus.runtime.RuntimeValue<CORSConfig> prepareHttpSecurityConfiguration(io.quarkus.runtime.ShutdownContext shutdownContext)
    • createFormAuthMechanism

      public Supplier<FormAuthenticationMechanism> createFormAuthMechanism()
    • setMtlsCertificateRoleProperties

      public void setMtlsCertificateRoleProperties()
    • createMethodDescription

      public io.quarkus.runtime.RuntimeValue<io.quarkus.security.spi.runtime.MethodDescription> createMethodDescription(String className, String methodName, String[] paramTypes)
    • authMechanismSelectionInterceptorCreator

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

      public io.quarkus.runtime.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()