info.magnolia.cms.security
Class ACLImpl

java.lang.Object
  extended by info.magnolia.cms.security.ACLImpl
All Implemented Interfaces:
ACL, Serializable, Principal

public class ACLImpl
extends Object
implements ACL

Basic ACL implementation.

Version:
$Id: $
Author:
had
See Also:
Serialized Form

Constructor Summary
ACLImpl(String name, List<Permission> permissions)
           
 
Method Summary
 List<Permission> getList()
          Returns list of permissions for this principal.
 String getName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode
 

Constructor Detail

ACLImpl

public ACLImpl(String name,
               List<Permission> permissions)
Method Detail

getList

public List<Permission> getList()
Description copied from interface: ACL
Returns list of permissions for this principal.

Specified by:
getList in interface ACL

getName

public String getName()
Specified by:
getName in interface ACL
Specified by:
getName in interface Principal

toString

public String toString()
Specified by:
toString in interface Principal
Overrides:
toString in class Object


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.