|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.starbase.starteam.AclEntry
|
+--com.starbase.starteam.EffectiveACE
An Access Control Entry (ACE) in an Effective Access Control List (ACL).
An EffectiveACE may be an ACE that is explicitly listed in the ACL for an object or for its parent container, or may be implied by group permissions that have been defined, or by object ownership rules, or by the StarTeam access test algorithm itself.
Each EffectiveACE provides information about its origin, including a description in human-readable form.
EffectiveACEs are important with respect to explaining the results of an access test.
AclEntry,
AccessRightsManager.getEffectiveACL(ISecurable),
AccessRightsManager.accessTest(int, int, EffectiveACE[])| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
ISecurableContainer |
getContainer()
Gets the parent container whose ACL defined this ACE. |
java.lang.String |
getDescription()
Gets a description of this ACE, explaining its origin in human-readable form. |
Group |
getGroup()
Gets the Group to which this ACE applies. |
ISecurable |
getObject()
Gets the securable object to which this ACE applies. |
Type |
getObjectType()
Gets the type of securable object to which this ACE applies. |
User |
getUser()
Gets the User to which this ACE applies. |
java.lang.String |
getUserOrGroupName()
Gets the name of the user or group to which this ACE applies. |
int |
hashCode()
returns a unique hash for all instances of this type |
boolean |
isExplicitACE()
Determines whether or not this is an ACE that is explicitly represented in an Access Control List (ACL) on the object or one of its parent containers. |
boolean |
isFromContainerACL()
Determines whether or not this is an ACE that is explicitly defined in the Access Control List (ACL) of one of the object's parent containers. |
boolean |
isFromGroupPrivileges()
Determines whether or not this is an ACE that is implied by group privileges. |
boolean |
isFromMissingACE()
Determines whether or not this is an ACE that is implicit in the StarTeam access control algorithm: if a given permission is not explicitly specified in an Access Control List (ACL), then access is denied by default. |
boolean |
isFromMissingACL()
Determines whether or not this is an ACE that is implicit in the StarTeam access control algorithm: if there is no Access Control List (ACL) defined on an object or on any of its parent containers, then access is granted by default. |
boolean |
isFromObjectACL()
Determines whether or not this is an ACE that is explicitly defined in the object's Access Control List (ACL). |
boolean |
isFromObjectOwnership()
Determines whether or not this is an ACE that is implied by object ownership rules. |
boolean |
isImpliedACE()
Determines whether or not this is an implied ACE that is not explicitly represented in an ACL defined on the object or on one if its parent containers. |
| Methods inherited from class com.starbase.starteam.AclEntry |
addPermission, getID, getPermissionFlags, hasPermission, isGranted, isGroupID, removePermission, setGranted |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public boolean isFromGroupPrivileges()
EffectiveACE.getGroup(),
EffectiveACE.isImpliedACE(),
SystemPolicy.getSkipGroupPrivilegesCheck()public boolean isFromObjectOwnership()
EffectiveACE.getObject(),
EffectiveACE.isImpliedACE(),
SystemPolicy.getSkipOwnershipCheck()public boolean isFromObjectACL()
EffectiveACE.getObject(),
EffectiveACE.isExplicitACE(),
ISecurable.getACL()public boolean isFromContainerACL()
EffectiveACE.getContainer(),
EffectiveACE.getObjectType(),
EffectiveACE.isExplicitACE(),
ISecurable.getParentContainer(),
ISecurableContainer.getContainerLevelACL(java.lang.String)public boolean isFromMissingACE()
EffectiveACE.isImpliedACE()public boolean isFromMissingACL()
EffectiveACE.isImpliedACE()public Group getGroup()
AclEntry.isGroupID(),
EffectiveACE.getUser()public User getUser()
EffectiveACE.getGroup(),
AclEntry.isGroupID()public java.lang.String getUserOrGroupName()
public ISecurable getObject()
EffectiveACE.isFromObjectACL(),
EffectiveACE.isFromObjectOwnership(),
EffectiveACE.getObjectType()public ISecurableContainer getContainer()
EffectiveACE.isFromContainerACL(),
EffectiveACE.getObjectType(),
ISecurableContainerpublic Type getObjectType()
EffectiveACE.isFromContainerACL(),
EffectiveACE.isFromObjectACL(),
EffectiveACE.isFromObjectOwnership()public boolean isExplicitACE()
EffectiveACE.isFromObjectACL(),
EffectiveACE.isFromContainerACL()public boolean isImpliedACE()
EffectiveACE.isFromGroupPrivileges(),
EffectiveACE.isFromObjectOwnership(),
EffectiveACE.isFromMissingACE(),
EffectiveACE.isFromMissingACL()public java.lang.String getDescription()
public boolean equals(java.lang.Object source)
equals in class AclEntrysource - Object the source to comapre with
public int hashCode()
hashCode in class AclEntry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||