public class Acl extends AbstractAcl
RepositoryItem
. Each ACL has an owner, which is a user. The ACL also
contains a set of AclEntry
objects. When an object is added to the repository, it will, by default,
have an ACL with two entries defined. One is the AclOwner entry, which defines permissions the owner can have. Note that
Read and admin permissions cannot be removed from the AclOwner entry. The other entry added by default is the
AclMembers entry. This entry defines which permissions members of the parent context will have. By default, only Read
permission is given to members. Additional entries can be defined to set permissions for other users and groups.Constructor and Description |
---|
Acl(ObjectIdentity owningObjectIdentity)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
getEntries, getOwner, getOwningObjectIdentity, setAce, setEntries, setOwner
public Acl(ObjectIdentity owningObjectIdentity)
owningObjectIdentity
- object identity for which this acl is definedpublic int hashCode()
hashCode
in class AbstractAcl
public boolean equals(Object obj)
equals
in class AbstractAcl
public String toString()
toString
in class AbstractAcl
<i>Copyright (c) 2022, SAS Institute Inc., Cary, NC, USA</i>