info.magnolia.cms.security.operations
Class ConfiguredAccessDefinition
java.lang.Object
info.magnolia.cms.security.operations.ConfiguredAccessDefinition
- All Implemented Interfaces:
- AccessDefinition
public class ConfiguredAccessDefinition
- extends Object
- implements AccessDefinition
Configured definition for action permissions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfiguredAccessDefinition
public ConfiguredAccessDefinition()
getRoles
public Collection<String> getRoles()
- Specified by:
getRoles
in interface AccessDefinition
setRoles
public void setRoles(Collection<String> roles)
addRole
public void addRole(String roles)
hasAccess
public boolean hasAccess(User user)
- Specified by:
hasAccess
in interface AccessDefinition
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.