Package com.sas.lsaf.security.acl
Class DefaultAcl
java.lang.Object
com.sas.lsaf.security.acl.AbstractAcl
com.sas.lsaf.security.acl.DefaultAcl
- All Implemented Interfaces:
Serializable
A DefaultAcl contains owner and access permission information for a given container object. It is a template that controls the
permission set on any child object created directly underneath this container. The
DefaultAcl maintains the
association with the object that owns it, the user that will own any newly created child objects, and the
collection of individual AclEntry objects that maintain fine-grained permissions that will be established
on the newly created child instance.- Since:
- 2.1
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe enumeration to determine the default owner of child items created underneath this container. -
Constructor Summary
ConstructorsConstructorDescriptionDefaultAcl(ObjectIdentity owningObjectIdentity) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the OwnerPropagation value that will determine the owner of child items created underneath this container.inthashCode()voidsetOwnerPropagation(DefaultAcl.OwnerPropagation ownerPropagation) Sets the OwnerPropagation value that will determine the owner of child items created underneath this container.toString()Methods inherited from class com.sas.lsaf.security.acl.AbstractAcl
getEntries, getOwner, getOwningObjectIdentity, setAce, setEntries, setOwner
-
Constructor Details
-
DefaultAcl
It is not intended or recommended that the consumer of this API construct these objects. They should only deal with default ACLs returned by the API.- Parameters:
owningObjectIdentity- object identity for which this default acl is defined
-
-
Method Details
-
getOwnerPropagation
Gets the OwnerPropagation value that will determine the owner of child items created underneath this container. Default isDefaultAcl.OwnerPropagation.CREATOR.- Returns:
- OwnerPropagation value for this default ACL.
-
setOwnerPropagation
Sets the OwnerPropagation value that will determine the owner of child items created underneath this container.- Parameters:
ownerPropagation- the OwnerPropagation value for this default ACL
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAcl
-
equals
- Overrides:
equalsin classAbstractAcl
-
toString
- Overrides:
toStringin classAbstractAcl
-