|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.web.util.ELRequestMatcher
public class 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.
Constructor Summary | |
---|---|
ELRequestMatcher(String el)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ELRequestMatcher(String el)
Method Detail |
---|
public boolean matches(javax.servlet.http.HttpServletRequest request)
RequestMatcher
matches
in interface RequestMatcher
request
- the request to check for a match
public EvaluationContext createELContext(javax.servlet.http.HttpServletRequest request)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |