Class ConfigurationInterceptUrlMapRule

    • Field Detail

      • ORDER

        public static final java.lang.Integer ORDER
        The order of the rule.
    • Method Detail

      • getOrder

        public int getOrder()
      • check

        public SecurityRuleResult check​(io.micronaut.http.HttpRequest request,
                                        @Nullable
                                        io.micronaut.web.router.RouteMatch routeMatch,
                                        @Nullable
                                        java.util.Map<java.lang.String,​java.lang.Object> claims)
        If no configured pattern matches the request, return SecurityRuleResult.UNKNOWN. Reads the rules in order. The first matched rule will be used for determining authorization.
        Parameters:
        request - The current request
        routeMatch - The matched route
        claims - The claims from the token. Null if not authenticated
        Returns:
        The result
        See Also:
        SecurityRuleResult