public interface PreInvocationAuthorizationAdvice
extends org.springframework.aop.framework.AopInfrastructureBean
Modifier and Type | Method and Description |
---|---|
boolean |
before(Authentication authentication,
org.aopalliance.intercept.MethodInvocation mi,
PreInvocationAttribute preInvocationAttribute)
The "before" advice which should be executed to perform any filtering necessary and
to decide whether the method call is authorised.
|
boolean before(Authentication authentication, org.aopalliance.intercept.MethodInvocation mi, PreInvocationAttribute preInvocationAttribute)
authentication
- the information on the principal on whose account the
decision should be mademi
- the method invocation being attemptedpreInvocationAttribute
- the attribute built from the @PreFilter
and @PostFilter annotations.