info.magnolia.cms.security.operations
Class ConfiguredAccessDefinition

java.lang.Object
  extended by info.magnolia.cms.security.operations.ConfiguredAccessDefinition
All Implemented Interfaces:
AccessDefinition

public class ConfiguredAccessDefinition
extends Object
implements AccessDefinition

Configured definition for action permissions.


Constructor Summary
ConfiguredAccessDefinition()
           
 
Method Summary
 void addRole(String roles)
           
 Collection<String> getRoles()
           
 boolean hasAccess(User user)
           
 void setRoles(Collection<String> roles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfiguredAccessDefinition

public ConfiguredAccessDefinition()
Method Detail

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.