|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.security.access.expression.method.ExpressionBasedPreInvocationAdvice
public class ExpressionBasedPreInvocationAdvice
Method pre-invocation handling based on expressions.
| Constructor Summary | |
|---|---|
ExpressionBasedPreInvocationAdvice()
|
|
| Method Summary | |
|---|---|
boolean |
before(Authentication authentication,
org.aopalliance.intercept.MethodInvocation mi,
PreInvocationAttribute attr)
The "before" advice which should be executed to perform any filtering necessary and to decide whether the method call is authorised. |
void |
setExpressionHandler(MethodSecurityExpressionHandler expressionHandler)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpressionBasedPreInvocationAdvice()
| Method Detail |
|---|
public boolean before(Authentication authentication,
org.aopalliance.intercept.MethodInvocation mi,
PreInvocationAttribute attr)
PreInvocationAuthorizationAdvice
before in interface PreInvocationAuthorizationAdviceauthentication - 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.
public void setExpressionHandler(MethodSecurityExpressionHandler expressionHandler)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||