Class AuthProperties.PathMatcherProperties

  • Enclosing class:
    AuthProperties

    @Validated
    public static class AuthProperties.PathMatcherProperties
    extends Object
    The path matcher properties.
    • Constructor Detail

      • PathMatcherProperties

        public PathMatcherProperties()
    • Method Detail

      • getHttpMethod

        @NotEmpty
        public @NotEmpty String getHttpMethod()
        Gets http method.
        Returns:
        the http method
      • getAntPattern

        @NotEmpty
        public @NotEmpty String getAntPattern()
        Gets ant pattern.
        Returns:
        the ant pattern
      • httpMethod

        @Nullable
        public org.springframework.http.HttpMethod httpMethod()
        Http method http method.
        Returns:
        the http method
      • accessExpression

        @NotEmpty
        public @NotEmpty String accessExpression​(@Nullable
                                                 Function<String,​String> ensureRolePrefixFunction)
        Access expression string.
        Parameters:
        ensureRolePrefixFunction - the ensure role prefix function
        Returns:
        the string
      • roles

        public Set<String> roles​(@Nullable
                                 Function<String,​String> ensureRolePrefixFunction)
        Returns valid roles.
        Parameters:
        ensureRolePrefixFunction - the ensure role prefix function
        Returns:
        the valid roles