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 |
|---|---|
org.springframework.expression.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.
|
java.lang.String |
toString() |
public boolean matches(javax.servlet.http.HttpServletRequest request)
RequestMatchermatches in interface RequestMatcherrequest - the request to check for a matchpublic org.springframework.expression.EvaluationContext createELContext(javax.servlet.http.HttpServletRequest request)
public java.lang.String toString()
toString in class java.lang.Object