|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
AccessControlList getAccessControlList() throws SecurityException
SecurityException
void setAccessControlList(AccessControlList acl) throws SecurityException
SecurityException
boolean supportsAccessControlList()
Persona getOwner() throws SecurityException
SecurityException
void setOwner(Persona persona) throws SecurityException
SecurityException
boolean supportsOwner()
SecurityContext getSecurityContext()
AccessControlList unsecuredGetAccessControlList() throws SecurityException
This is considered to be a private API for the security policy and domain objects and should not be used by applications.
SecurityException
void unsecuredSetAccessControlList(AccessControlList acl) throws SecurityException
This is considered to be a private API for the security policy and domain objects and should not be used by applications.
SecurityException
Persona unsecuredGetOwner() throws SecurityException
This is considered to be a private API for the security policy and domain objects and should not be used by applications.
SecurityException
void unsecuredSetOwner(Persona owner) throws SecurityException
This is considered to be a private API for the security policy and domain objects and should not be used by applications.
SecurityException
SecuredContainer[] unsecuredGetContainers() throws SecurityException
This is considered to be a private API for the security policy and domain objects and should not be used by applications.
SecurityException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |