atg.security
Interface SecuredObject

All Known Subinterfaces:
Community, Gear, Page, PersonalizedPage, Portal, SecuredMutableRepositoryItem, SecuredRepositoryItem
All Known Implementing Classes:
GenericSecuredMutableContentItem, GenericSecuredMutableFolderItem, GenericSecuredMutableRepositoryItem, GenericSecuredObject, GenericSecuredRepositoryItem, SecuredRepositoryObject

public interface SecuredObject

An object with associated security information.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
 AccessControlList getAccessControlList()
          Retrieves the access control list associated with this object.
 Persona getOwner()
          Retrieves the owner of the object, if any.
 SecurityContext getSecurityContext()
          Returns the security system context information appropriate to this object.
 void setAccessControlList(AccessControlList acl)
          Changes the access control list associated with this object.
 void setOwner(Persona persona)
          Changes the owner of the object, if any.
 boolean supportsAccessControlList()
          Returns true if this object supports an access control list.
 boolean supportsOwner()
          Returns true if this object supports an owner.
 AccessControlList unsecuredGetAccessControlList()
          Retrieves the access control list associated with this object without performing access control.
 SecuredContainer[] unsecuredGetContainers()
          Returns the set of containers (parents) that contain or may contain access control information that should be effective when this object is being manipulated.
 Persona unsecuredGetOwner()
          Retrieves the owner of this object without performing access control.
 void unsecuredSetAccessControlList(AccessControlList acl)
          Changes the access control list associated with this object without performing access control.
 void unsecuredSetOwner(Persona owner)
          Changes the owner of this object without performing access control.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

getAccessControlList

AccessControlList getAccessControlList()
                                       throws SecurityException
Retrieves the access control list associated with this object.

Throws:
SecurityException

setAccessControlList

void setAccessControlList(AccessControlList acl)
                          throws SecurityException
Changes the access control list associated with this object.

Throws:
SecurityException

supportsAccessControlList

boolean supportsAccessControlList()
Returns true if this object supports an access control list.


getOwner

Persona getOwner()
                 throws SecurityException
Retrieves the owner of the object, if any.

Throws:
SecurityException

setOwner

void setOwner(Persona persona)
              throws SecurityException
Changes the owner of the object, if any. The security policy may deny change of ownership.

Throws:
SecurityException

supportsOwner

boolean supportsOwner()
Returns true if this object supports an owner.


getSecurityContext

SecurityContext getSecurityContext()
Returns the security system context information appropriate to this object.


unsecuredGetAccessControlList

AccessControlList unsecuredGetAccessControlList()
                                                throws SecurityException
Retrieves the access control list associated with this object without performing access control.

This is considered to be a private API for the security policy and domain objects and should not be used by applications.

Throws:
SecurityException

unsecuredSetAccessControlList

void unsecuredSetAccessControlList(AccessControlList acl)
                                   throws SecurityException
Changes the access control list associated with this object without performing access control.

This is considered to be a private API for the security policy and domain objects and should not be used by applications.

Throws:
SecurityException

unsecuredGetOwner

Persona unsecuredGetOwner()
                          throws SecurityException
Retrieves the owner of this object without performing access control.

This is considered to be a private API for the security policy and domain objects and should not be used by applications.

Throws:
SecurityException

unsecuredSetOwner

void unsecuredSetOwner(Persona owner)
                       throws SecurityException
Changes the owner of this object without performing access control.

This is considered to be a private API for the security policy and domain objects and should not be used by applications.

Throws:
SecurityException

unsecuredGetContainers

SecuredContainer[] unsecuredGetContainers()
                                          throws SecurityException
Returns the set of containers (parents) that contain or may contain access control information that should be effective when this object is being manipulated. This is used by StandardSecurityPolicy.getEffectiveAccessControlList() to determine creation and effective access control lists.

This is considered to be a private API for the security policy and domain objects and should not be used by applications.

Throws:
SecurityException