magoffin.matt.ma2.aop
Class AlbumSecurityInterceptor

java.lang.Object
  extended by magoffin.matt.ma2.aop.AbstractSecurityInterceptor
      extended by magoffin.matt.ma2.aop.AlbumSecurityInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class AlbumSecurityInterceptor
extends AbstractSecurityInterceptor

AOP security interceptor for Album instances.

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
Matt Magoffin (spamsqr@msqr.us)

Constructor Summary
AlbumSecurityInterceptor()
           
 
Method Summary
 AlbumDao getAlbumDao()
           
protected  boolean isAllowed(org.aopalliance.intercept.MethodInvocation invocation, BizContext context)
          Return true if the method invocation should be allowed.
 void setAlbumDao(AlbumDao albumDao)
           
 
Methods inherited from class magoffin.matt.ma2.aop.AbstractSecurityInterceptor
getSecurityCache, getUserBiz, invoke, setSecurityCache, setUserBiz
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlbumSecurityInterceptor

public AlbumSecurityInterceptor()
Method Detail

isAllowed

protected boolean isAllowed(org.aopalliance.intercept.MethodInvocation invocation,
                            BizContext context)
Description copied from class: AbstractSecurityInterceptor
Return true if the method invocation should be allowed.

Specified by:
isAllowed in class AbstractSecurityInterceptor
Parameters:
invocation - the invocation
context - the context
Returns:
boolean

getAlbumDao

public AlbumDao getAlbumDao()
Returns:
the albumDao

setAlbumDao

public void setAlbumDao(AlbumDao albumDao)
Parameters:
albumDao - the albumDao to set