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