public abstract class AuthorizingMethodInterceptor extends MethodInterceptorSupport
|Constructor and Description|
|Modifier and Type||Method and Description|
Asserts that the specified MethodInvocation is allowed to continue by performing any necessary authorization (access control) checks first.
public Object invoke(MethodInvocation methodInvocation) throws Throwable
methodInvocation.if authorization is allowed by first calling
Throwable- if the method invocation throws a Throwable or if an error occurs in pre/post/finally advice.
protected abstract void assertAuthorized(MethodInvocation methodInvocation) throws AuthorizationException
AuthorizationException- if the
methodInvocationshould not be allowed to continue/execute.
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.