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
Version:
$Id: ExpressionBasedAnnotationAttributeFactory.java 3650 2009-05-11 05:18:20Z ltaylor $
Author:
Luke Taylor

Constructor Summary
ExpressionBasedAnnotationAttributeFactory(MethodSecurityExpressionHandler handler)
           
 
Method Summary
 PostInvocationAttribute createPostInvocationAttribute(PostFilter postFilter, PostAuthorize postAuthorize)
           
 PreInvocationAttribute createPreInvocationAttribute(PreFilter preFilter, PreAuthorize preAuthorize)
           
 
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(PreFilter preFilter,
                                                           PreAuthorize preAuthorize)
Specified by:
createPreInvocationAttribute in interface PrePostInvocationAttributeFactory

createPostInvocationAttribute

public PostInvocationAttribute createPostInvocationAttribute(PostFilter postFilter,
                                                             PostAuthorize postAuthorize)
Specified by:
createPostInvocationAttribute in interface PrePostInvocationAttributeFactory


Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.