Class ConfigurationInterceptUrlMapRule

java.lang.Object
io.micronaut.security.rules.AbstractSecurityRule<io.micronaut.http.HttpRequest<?>>
io.micronaut.security.rules.ConfigurationInterceptUrlMapRule
All Implemented Interfaces:
io.micronaut.core.order.Ordered, SecurityRule<io.micronaut.http.HttpRequest<?>>

@Requires(classes=io.micronaut.http.HttpRequest.class) @Requires(beans={RolesFinder.class,SecurityConfiguration.class,InterceptUrlPatternModifier.class}) @Singleton public class ConfigurationInterceptUrlMapRule extends AbstractSecurityRule<io.micronaut.http.HttpRequest<?>>
A security rule implementation backed by the SecurityConfiguration.getInterceptUrlMap().
Since:
1.0
Author:
Sergio del Amo
  • Field Details

    • ORDER

      public static final Integer ORDER
      The order of the rule.
  • Constructor Details

    • ConfigurationInterceptUrlMapRule

      public ConfigurationInterceptUrlMapRule(RolesFinder rolesFinder, SecurityConfiguration securityConfiguration, InterceptUrlPatternModifier interceptUrlPatternModifier)
      Parameters:
      rolesFinder - Roles Parser
      securityConfiguration - The Security Configuration
      interceptUrlPatternModifier - InterceptURLMap modifier
  • Method Details