Class MvcRequestMatcherProvider
- java.lang.Object
- org.springframework.boot.autoconfigure.security.servlet.MvcRequestMatcherProvider
- All Implemented Interfaces:
RequestMatcherProvider
public class MvcRequestMatcherProvider extends Object implements RequestMatcherProvider
RequestMatcherProvider
that provides anMvcRequestMatcher
that can be used for Spring MVC applications.- Since:
- 2.0.5
Constructor Summary
Constructors Constructor Description MvcRequestMatcherProvider(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.web.util.matcher.RequestMatcher
getRequestMatcher(String pattern)
Return theRequestMatcher
to be used for the specified pattern.
Constructor Detail
MvcRequestMatcherProvider
public MvcRequestMatcherProvider(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector)
Method Detail
getRequestMatcher
public org.springframework.security.web.util.matcher.RequestMatcher getRequestMatcher(String pattern)
Description copied from interface:RequestMatcherProvider
Return theRequestMatcher
to be used for the specified pattern.- Specified by:
getRequestMatcher
in interfaceRequestMatcherProvider
- Parameters:
pattern
- the request pattern- Returns:
- a request matcher