Class EagerSecurityInterceptorStorage
java.lang.Object
io.quarkus.vertx.http.runtime.security.EagerSecurityInterceptorStorage
Security interceptors run for desired annotated methods prior to security checks.
Interceptors should only be run when proactive security is disabled, because
they must be run before request is authenticated.
These interceptors are very important when SecurityCheck
s are not run
with CDI interceptors, because they provide only way to link request to invoked method prior to checks.
-
Constructor Summary
ConstructorsConstructorDescriptionEagerSecurityInterceptorStorage
(Map<MethodDescription, Consumer<io.vertx.ext.web.RoutingContext>> methodToInterceptor) -
Method Summary
Modifier and TypeMethodDescriptionConsumer<io.vertx.ext.web.RoutingContext>
getInterceptor
(MethodDescription endpoint) This method should be invoked prior to any security check is run if proactive auth is disabled.
-
Constructor Details
-
EagerSecurityInterceptorStorage
EagerSecurityInterceptorStorage(Map<MethodDescription, Consumer<io.vertx.ext.web.RoutingContext>> methodToInterceptor)
-
-
Method Details
-
getInterceptor
This method should be invoked prior to any security check is run if proactive auth is disabled.- Parameters:
endpoint
- with security annotation- Returns:
- return security interceptor
-