it.openutils.hibernate.security.filter
Class SecurityRuleAfterInvocationHandler
java.lang.Object
it.openutils.hibernate.security.filter.SecurityRuleBaseHandler
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 729 2008-03-06 09:26:46Z fcarone $
- Author:
- fcarone
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.acegisecurity.afterinvocation.AfterInvocationProvider |
supports, supports |
SecurityRuleAfterInvocationHandler
public SecurityRuleAfterInvocationHandler()
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.