it.openutils.hibernate.security.filter
Class SecurityRuleAfterInvocationHandler

java.lang.Object
  extended by it.openutils.hibernate.security.filter.SecurityRuleBaseHandler
      extended by it.openutils.hibernate.security.filter.SecurityRuleAfterInvocationHandler
All Implemented Interfaces:
org.acegisecurity.afterinvocation.AfterInvocationProvider

public class SecurityRuleAfterInvocationHandler
extends SecurityRuleBaseHandler
implements org.acegisecurity.afterinvocation.AfterInvocationProvider

Version:
$Id: SecurityRuleAfterInvocationHandler.java 705 2008-02-26 10:56:55Z fcarone $
Author:
fcarone

Constructor Summary
SecurityRuleAfterInvocationHandler()
           
 
Method Summary
 java.lang.Object decide(org.acegisecurity.Authentication authentication, java.lang.Object object, org.acegisecurity.ConfigAttributeDefinition config, java.lang.Object returnedObject)
          
 void setDenyIfNoRulesFound(boolean denyIfNoRulesFound)
          Sets the denyIfNoRulesFound.
 void setEnabled(boolean enabled)
          Sets the enabled.
 void setSecurityRuleManager(SecurityRuleManager securityRuleManager)
          Sets the securityRuleManager.
 
Methods inherited from class it.openutils.hibernate.security.filter.SecurityRuleBaseHandler
supports, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.acegisecurity.afterinvocation.AfterInvocationProvider
supports, supports
 

Constructor Detail

SecurityRuleAfterInvocationHandler

public SecurityRuleAfterInvocationHandler()
Method Detail

decide

public java.lang.Object decide(org.acegisecurity.Authentication authentication,
                               java.lang.Object object,
                               org.acegisecurity.ConfigAttributeDefinition config,
                               java.lang.Object returnedObject)
                        throws org.acegisecurity.AccessDeniedException

Specified by:
decide in interface org.acegisecurity.afterinvocation.AfterInvocationProvider
Throws:
org.acegisecurity.AccessDeniedException

setSecurityRuleManager

public void setSecurityRuleManager(SecurityRuleManager securityRuleManager)
Sets the securityRuleManager.

Parameters:
securityRuleManager - the securityRuleManager to set

setDenyIfNoRulesFound

public void setDenyIfNoRulesFound(boolean denyIfNoRulesFound)
Sets the denyIfNoRulesFound.

Parameters:
denyIfNoRulesFound - the denyIfNoRulesFound to set

setEnabled

public void setEnabled(boolean enabled)
Sets the enabled.

Parameters:
enabled - the enabled to set


Copyright © 2008 Openmind. All Rights Reserved.