Class IpPatternsRule

    • 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)
        Description copied from interface: SecurityRule
        Returns a security result based on any conditions.
        Parameters:
        request - The current request
        routeMatch - The matched route or empty if no route was matched. e.g. static resource.
        claims - The claims from the token. Null if not authenticated
        Returns:
        The result
        See Also:
        SecurityRuleResult