org.springframework.security.web.access.expression
Class DefaultWebSecurityExpressionHandler
java.lang.Object
org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler
- All Implemented Interfaces:
- WebSecurityExpressionHandler
public class DefaultWebSecurityExpressionHandler
- extends Object
- implements WebSecurityExpressionHandler
Facade which isolates Spring Security's requirements for evaluating web-security expressions
from the implementation of the underlying expression objects.
- Since:
- 3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWebSecurityExpressionHandler
public DefaultWebSecurityExpressionHandler()
getExpressionParser
public ExpressionParser getExpressionParser()
- Specified by:
getExpressionParser
in interface WebSecurityExpressionHandler
- Returns:
- an expression parser for the expressions used by the implementation.
createEvaluationContext
public EvaluationContext createEvaluationContext(Authentication authentication,
FilterInvocation fi)
- Description copied from interface:
WebSecurityExpressionHandler
- Provides an evaluation context in which to evaluate security expressions for a web invocation.
- Specified by:
createEvaluationContext
in interface WebSecurityExpressionHandler
setRoleHierarchy
public void setRoleHierarchy(RoleHierarchy roleHierarchy)