| biz.hammurapi.web.security.Permission
Permission | public class Permission extends AssignedPermissionImpl implements DataAccessObject(Code) | | This class overrides equality - it uses class name and action name instead of "helper" permission id.
author: Pavel Vlasov |
Permission | public Permission()(Code) | | |
Permission | public Permission(boolean force)(Code) | | Parameters: force - |
Permission | public Permission(Element holder, boolean force) throws ConfigurationException(Code) | | Parameters: holder - Parameters: force - throws: ConfigurationException - |
Permission | public Permission(Element holder, Properties pathMap, CachedXPathAPI cxpa, boolean force) throws ConfigurationException(Code) | | Parameters: holder - Parameters: pathMap - Parameters: cxpa - Parameters: force - throws: ConfigurationException - |
hashCode | public int hashCode()(Code) | | |
isDerived | public boolean isDerived()(Code) | | Indicates whether permission was directly assigned to the object or derived from other objects.
E.g. User derives permission from Role.
|
isGranted | public Boolean isGranted(String className, String actionName)(Code) | | Parameters: className - Parameters: actionName - True if permission for given class and action is granted by this permission or permissionsimplied by this permission. |
setDerived | public void setDerived(boolean isDerived)(Code) | | Sets derived indicator.
Parameters: isDerived - |
setSQLProcessor | public void setSQLProcessor(SQLProcessor processor) throws SQLException(Code) | | Retrieves derived permissons
|
|
|