Class ExpressionBasedPreInvocationAdvice
- java.lang.Object
-
- org.springframework.security.access.expression.method.ExpressionBasedPreInvocationAdvice
-
- All Implemented Interfaces:
org.springframework.aop.framework.AopInfrastructureBean,PreInvocationAuthorizationAdvice
@Deprecated public class ExpressionBasedPreInvocationAdvice extends java.lang.Object implements PreInvocationAuthorizationAdvice
Deprecated.UseAuthorizationManagerAfterMethodInterceptorinsteadMethod pre-invocation handling based on expressions.- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor Description ExpressionBasedPreInvocationAdvice()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanbefore(Authentication authentication, org.aopalliance.intercept.MethodInvocation mi, PreInvocationAttribute attr)Deprecated.The "before" advice which should be executed to perform any filtering necessary and to decide whether the method call is authorised.voidsetExpressionHandler(MethodSecurityExpressionHandler expressionHandler)Deprecated.
-
-
-
Method Detail
-
before
public boolean before(Authentication authentication, org.aopalliance.intercept.MethodInvocation mi, PreInvocationAttribute attr)
Deprecated.Description copied from interface:PreInvocationAuthorizationAdviceThe "before" advice which should be executed to perform any filtering necessary and to decide whether the method call is authorised.- Specified by:
beforein interfacePreInvocationAuthorizationAdvice- Parameters:
authentication- the information on the principal on whose account the decision should be mademi- the method invocation being attemptedattr- the attribute built from the @PreFilter and @PostFilter annotations.- Returns:
- true if authorised, false otherwise
-
setExpressionHandler
public void setExpressionHandler(MethodSecurityExpressionHandler expressionHandler)
Deprecated.
-
-