Class AntPathRequestMatcherProvider

java.lang.Object
org.springframework.boot.autoconfigure.security.servlet.AntPathRequestMatcherProvider
All Implemented Interfaces:
RequestMatcherProvider

public class AntPathRequestMatcherProvider extends Object implements RequestMatcherProvider
RequestMatcherProvider that provides an AntPathRequestMatcher.
Since:
2.1.8
Author:
Madhura Bhave
  • Constructor Details

    • AntPathRequestMatcherProvider

      public AntPathRequestMatcherProvider(Function<String,String> pathFactory)
  • Method Details

    • getRequestMatcher

      public org.springframework.security.web.util.matcher.RequestMatcher getRequestMatcher(String pattern)
      Description copied from interface: RequestMatcherProvider
      Return the RequestMatcher to be used for the specified pattern.
      Specified by:
      getRequestMatcher in interface RequestMatcherProvider
      Parameters:
      pattern - the request pattern
      Returns:
      a request matcher