org.springframework.security.web.access.expression
Class DefaultWebSecurityExpressionHandler

java.lang.Object
  extended by 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

Constructor Summary
DefaultWebSecurityExpressionHandler()
           
 
Method Summary
 EvaluationContext createEvaluationContext(Authentication authentication, FilterInvocation fi)
          Provides an evaluation context in which to evaluate security expressions for a web invocation.
 ExpressionParser getExpressionParser()
           
 void setRoleHierarchy(RoleHierarchy roleHierarchy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWebSecurityExpressionHandler

public DefaultWebSecurityExpressionHandler()
Method Detail

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)