org.springframework.security.access.expression.method
Class ExpressionBasedAnnotationAttributeFactory

java.lang.Object
  extended by org.springframework.security.access.expression.method.ExpressionBasedAnnotationAttributeFactory
All Implemented Interfaces:
AopInfrastructureBean, PrePostInvocationAttributeFactory

public class ExpressionBasedAnnotationAttributeFactory
extends Object
implements PrePostInvocationAttributeFactory

PrePostInvocationAttributeFactory which interprets the annotation value as an expression to be evaluated at runtime.

Since:
3.0

Constructor Summary
ExpressionBasedAnnotationAttributeFactory(MethodSecurityExpressionHandler handler)
           
 
Method Summary
 PostInvocationAttribute createPostInvocationAttribute(String postFilterAttribute, String postAuthorizeAttribute)
           
 PreInvocationAttribute createPreInvocationAttribute(String preFilterAttribute, String filterObject, String preAuthorizeAttribute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionBasedAnnotationAttributeFactory

public ExpressionBasedAnnotationAttributeFactory(MethodSecurityExpressionHandler handler)
Method Detail

createPreInvocationAttribute

public PreInvocationAttribute createPreInvocationAttribute(String preFilterAttribute,
                                                           String filterObject,
                                                           String preAuthorizeAttribute)
Specified by:
createPreInvocationAttribute in interface PrePostInvocationAttributeFactory

createPostInvocationAttribute

public PostInvocationAttribute createPostInvocationAttribute(String postFilterAttribute,
                                                             String postAuthorizeAttribute)
Specified by:
createPostInvocationAttribute in interface PrePostInvocationAttributeFactory