public class ELRequestMatcher extends java.lang.Object implements RequestMatcher
With the default EvaluationContext (ELRequestMatcherContext) you can use
hasIpAdress() and hasHeader()
See DelegatingAuthenticationEntryPoint for an example configuration.
| Constructor and Description |
|---|
ELRequestMatcher(java.lang.String el) |
| Modifier and Type | Method and Description |
|---|---|
EvaluationContext |
createELContext(HttpServletRequest request)
Subclasses can override this methode if they want to use a different EL root
context
|
boolean |
matches(HttpServletRequest request)
Decides whether the rule implemented by the strategy matches the supplied request.
|
public boolean matches(HttpServletRequest request)
RequestMatchermatches in interface RequestMatcherrequest - the request to check for a matchpublic EvaluationContext createELContext(HttpServletRequest request)