info.magnolia.jaas.principal
Class ACLImpl

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

Deprecated. since 4.5 use ACLImpl instead

@Deprecated
public class ACLImpl
extends Object
implements info.magnolia.cms.security.auth.ACL

This class represents access control list as a principal.

Author:
Sameer Charles $Id: ACLImpl.java 50229 2011-10-20 16:10:16Z tmattsson $
See Also:
Serialized Form

Constructor Summary
ACLImpl()
          Deprecated.  
 
Method Summary
 void addPermission(Object permission)
          Deprecated. Adds permission in to the list of permissions for this principal.
 List getList()
          Deprecated. Returns list of permissions for this principal.
 String getName()
          Deprecated. Get name given to this principal.
 void setList(List list)
          Deprecated. Initialize access control list with provided permissions it will overwrite any existing permissions set before.
 void setName(String name)
          Deprecated. Set this principal name.
 String toString()
          Deprecated.  
 
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()
Deprecated. 
Method Detail

getName

public String getName()
Deprecated. 
Get name given to this principal.

Specified by:
getName in interface info.magnolia.cms.security.auth.ACL
Specified by:
getName in interface Principal
Returns:
name

setName

public void setName(String name)
Deprecated. 
Set this principal name.


addPermission

public void addPermission(Object permission)
Deprecated. 
Adds permission in to the list of permissions for this principal.

Parameters:
permission -

setList

public void setList(List list)
Deprecated. 
Initialize access control list with provided permissions it will overwrite any existing permissions set before.

Parameters:
list -

getList

public List getList()
Deprecated. 
Returns list of permissions for this principal. Returned list is not a copy and should be treated as read only!

Specified by:
getList in interface info.magnolia.cms.security.auth.ACL

toString

public String toString()
Deprecated. 
Specified by:
toString in interface Principal
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.