JSecurity

org.jsecurity.authz.aop
Class AuthorizingMethodInterceptor

java.lang.Object
  extended by org.jsecurity.aop.MethodInterceptorSupport
      extended by org.jsecurity.authz.aop.AuthorizingMethodInterceptor
All Implemented Interfaces:
MethodInterceptor
Direct Known Subclasses:
AnnotationsAuthorizingMethodInterceptor

public abstract class AuthorizingMethodInterceptor
extends MethodInterceptorSupport

Since:
0.9
Author:
Les Hazlewood

Constructor Summary
AuthorizingMethodInterceptor()
           
 
Method Summary
protected abstract  void assertAuthorized(MethodInvocation methodInvocation)
           
 Object invoke(MethodInvocation methodInvocation)
           
 
Methods inherited from class org.jsecurity.aop.MethodInterceptorSupport
getSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizingMethodInterceptor

public AuthorizingMethodInterceptor()
Method Detail

invoke

public Object invoke(MethodInvocation methodInvocation)
              throws Throwable
Throws:
Throwable

assertAuthorized

protected abstract void assertAuthorized(MethodInvocation methodInvocation)
                                  throws AuthorizationException
Throws:
AuthorizationException

JSecurity

Copyright © 2004-2008 JSecurity.