org.jsecurity.authz.aop
Class AuthorizingAnnotationMethodInterceptor
java.lang.Object
org.jsecurity.aop.MethodInterceptorSupport
org.jsecurity.aop.AnnotationMethodInterceptor
org.jsecurity.authz.aop.AuthorizingAnnotationMethodInterceptor
- All Implemented Interfaces:
- MethodInterceptor
- Direct Known Subclasses:
- PermissionAnnotationMethodInterceptor, RoleAnnotationMethodInterceptor
public abstract class AuthorizingAnnotationMethodInterceptor
- extends AnnotationMethodInterceptor
An AnnotationMethodInterceptor that asserts the calling code is authorized to execute the method
before allowing the invocation to continue.
- Since:
- 0.1
- Author:
- Les Hazlewood
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorizingAnnotationMethodInterceptor
public AuthorizingAnnotationMethodInterceptor(Class<? extends Annotation> annotationClass)
invoke
public Object invoke(MethodInvocation methodInvocation)
throws Throwable
- Throws:
Throwable
assertAuthorized
public abstract void assertAuthorized(MethodInvocation mi)
throws AuthorizationException
- Throws:
AuthorizationException
Copyright © 2004-2008 JSecurity.