Class EagerSecurityInterceptorBuildItem


  • public final class EagerSecurityInterceptorBuildItem
    extends io.quarkus.builder.item.SimpleBuildItem
    Bears collected security interceptors per method candidate. Methods are candidates because not each of them must be finally resolved to endpoint and invoked.

    This build item should be consumed by every extension that run SecurityChecks before CDI interceptors when proactive auth is disabled.

    See Also:
    for detailed information on security filters
    • Field Detail

      • methodCandidateToSecurityInterceptor

        final Map<io.quarkus.runtime.RuntimeValue<io.quarkus.security.spi.runtime.MethodDescription>,​Consumer<io.vertx.ext.web.RoutingContext>> methodCandidateToSecurityInterceptor
    • Constructor Detail

      • EagerSecurityInterceptorBuildItem

        EagerSecurityInterceptorBuildItem​(List<org.jboss.jandex.MethodInfo> methodCandidates,
                                          Map<io.quarkus.runtime.RuntimeValue<io.quarkus.security.spi.runtime.MethodDescription>,​Consumer<io.vertx.ext.web.RoutingContext>> methodCandidateToSecurityInterceptor)
    • Method Detail

      • applyInterceptorOn

        public boolean applyInterceptorOn​(org.jboss.jandex.MethodInfo method)