org.ikasan.framework.security
Class AbstractModuleAfterInvocationProvider
java.lang.Object
org.ikasan.framework.security.AbstractModuleAfterInvocationProvider
- All Implemented Interfaces:
- org.springframework.security.afterinvocation.AfterInvocationProvider
- Direct Known Subclasses:
- AfterInvocationModuleCollectionFilteringProvider, ModuleAfterInvocationProvider
public abstract class AbstractModuleAfterInvocationProvider
- extends Object
- implements org.springframework.security.afterinvocation.AfterInvocationProvider
Abstract class that provides functionality for determining access/configuration rights
- Author:
- Ikasan Development Team
|
Method Summary |
protected boolean |
mayReadModule(org.springframework.security.Authentication authentication,
Module module)
Determines if the specified module should be accessible to the currently logged in user |
boolean |
supports(Class clazz)
|
boolean |
supports(org.springframework.security.ConfigAttribute configAttribute)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.security.afterinvocation.AfterInvocationProvider |
decide |
AbstractModuleAfterInvocationProvider
public AbstractModuleAfterInvocationProvider(String responsiveConfigAttribute)
- Constructor
- Parameters:
responsiveConfigAttribute - - The configuration to check
mayReadModule
protected boolean mayReadModule(org.springframework.security.Authentication authentication,
Module module)
- Determines if the specified module should be accessible to the currently logged in user
- Parameters:
authentication - - The authentication to usemodule - - The module to check against
- Returns:
- true if user should be allowed to read module
supports
public boolean supports(org.springframework.security.ConfigAttribute configAttribute)
- Specified by:
supports in interface org.springframework.security.afterinvocation.AfterInvocationProvider
supports
public boolean supports(Class clazz)
- Specified by:
supports in interface org.springframework.security.afterinvocation.AfterInvocationProvider
Copyright © 2007-2011 Ikasan. All Rights Reserved.