org.springframework.security.access.expression
Interface SecurityExpressionHandler<T>

All Superinterfaces:
AopInfrastructureBean
All Known Subinterfaces:
MethodSecurityExpressionHandler, WebSecurityExpressionHandler
All Known Implementing Classes:
AbstractSecurityExpressionHandler, DefaultMethodSecurityExpressionHandler, DefaultWebSecurityExpressionHandler

public interface SecurityExpressionHandler<T>
extends AopInfrastructureBean

Facade which isolates Spring Security's requirements for evaluating security expressions from the implementation of the underlying expression objects

Since:
3.1

Method Summary
 EvaluationContext createEvaluationContext(Authentication authentication, T invocation)
          Provides an evaluation context in which to evaluate security expressions for the invocation type.
 ExpressionParser getExpressionParser()
           
 

Method Detail

getExpressionParser

ExpressionParser getExpressionParser()
Returns:
an expression parser for the expressions used by the implementation.

createEvaluationContext

EvaluationContext createEvaluationContext(Authentication authentication,
                                          T invocation)
Provides an evaluation context in which to evaluate security expressions for the invocation type.