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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EvaluationContext |
createELContext(javax.servlet.http.HttpServletRequest request)
Deprecated.
Subclasses can override this methode if they want to use a different EL root context
|
boolean |
matches(javax.servlet.http.HttpServletRequest request)
Deprecated.
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)