org.springframework.security.web.util.RequestMatcher |
Known Indirect Subclasses
AntPathRequestMatcher |
Matcher which compares a pre-defined ant-style pattern against the URL
(servletPath + pathInfo ) of an HttpServletRequest . |
AnyRequestMatcher |
Matches any supplied request. |
ELRequestMatcher |
A RequestMatcher implementation which uses a SpEL expression
With the default EvaluationContext (ELRequestMatcherContext) you can use
hasIpAdress() and hasHeader()
See DelegatingAuthenticationEntryPoint for an example configuration. |
IpAddressMatcher |
Matches a request based on IP Address or subnet mask matching against the remote address. |
RegexRequestMatcher |
Uses a regular expression to decide whether a supplied the URL of a supplied HttpServletRequest . |
|
Class Overview
Simple strategy to match an HttpServletRequest.
Summary
Public Methods |
abstract
boolean
|
matches(HttpServletRequest request)
Decides whether the rule implemented by the strategy matches the supplied request.
|
Public Methods
public
abstract
boolean
matches
(HttpServletRequest request)
Decides whether the rule implemented by the strategy matches the supplied request.
Parameters
request
| the request to check for a match |
Returns
- true if the request matches, false otherwise