com.sas.hls.security.acl
Class AclContainer

java.lang.Object
  extended by com.sas.hls.security.acl.Acl
      extended by com.sas.hls.security.acl.AclContainer
All Implemented Interfaces:
Serializable

public class AclContainer
extends Acl

A data object that contains owner and access permission information for a container. Containers for which access permissions can be set need to be of type AclContainerSecurable. Like an Acl, each AclContainer has an owner and a set of AclEntry objects. AclContainers also have a default acl which specifies the default permissions for new objects added to that container. By default, owner field on the defaultAcl is null which indicates when an object is added to the container, the creator is the owner. If the owner is non-null, the owner specified will be the owner of all added objects

See Also:
Serialized Form

Constructor Summary
AclContainer()
          Zero-arg AclContainer constructor
 
Method Summary
 Acl getDefaultAcl()
          Gets the default acl for this aclContainer
 void setDefaultAcl(Acl defaultAcl)
          Sets the default acl for this aclContainer
 String toString()
          Return a string representation of the object.
 
Methods inherited from class com.sas.hls.security.acl.Acl
getEntries, getOwner, getOwningObjectIdentity, setAce, setEntries, setOwner, setOwningObjectIdentity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AclContainer

public AclContainer()
Zero-arg AclContainer constructor

Method Detail

getDefaultAcl

public Acl getDefaultAcl()
Gets the default acl for this aclContainer

Returns:
Acl defaultAcl for this aclContainer

setDefaultAcl

public void setDefaultAcl(Acl defaultAcl)
Sets the default acl for this aclContainer

Parameters:
defaultAcl - default acl for this aclContainer

toString

public String toString()
Return a string representation of the object.

Overrides:
toString in class Acl
See Also:
Object.toString()


Copyright (c) 2014, SAS Institute Inc., Cary, NC, USA