|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.ACE
com.starteam.EffectiveACE
public final class 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.
ACE,
AccessRightsManager.getEffectiveRights(ISecurable),
AccessRightsManager.accessTest(Principal, PermissionCollection,
EffectiveACE[])| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.starteam.ACE |
|---|
ACE.WebCacheACE |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object another)
Returns true if the specified Object identifies the same
exact EffectiveACE. |
ISecurableContainer |
getContainer()
Gets the parent container whose ACL defined this EffectiveACE. |
java.lang.String |
getDescription()
Gets a description of this EffectiveACE, explaining its origin in human-readable form. |
Group |
getGroup()
Gets the Group to which this EffectiveACE applies. |
java.lang.String |
getName()
Gets the name of the user or group to which this EffectiveACE applies. |
ISecurable |
getObject()
Gets the securable object to which this EffectiveACE applies. |
Type |
getObjectType()
Gets the type of securable object to which this EffectiveACE applies. |
User |
getUser()
Gets the User to which this EffectiveACE applies. |
int |
hashCode()
Returns a hash code for this EffectiveACE. |
boolean |
isExplicitACE()
Determines whether or not this is an EffectiveACE 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 EffectiveACE 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 EffectiveACE that is implied by group privileges. |
boolean |
isFromMissingACE()
Determines whether or not this is an EffectiveACE 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 EffectiveACE 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 EffectiveACE that is explicitly defined in the object's Access Control List (ACL). |
boolean |
isFromObjectOwnership()
Determines whether or not this is an EffectiveACE that is implied by object ownership rules. |
boolean |
isImpliedACE()
Determines whether or not this is an implied EffectiveACE that is not explicitly represented in an ACL defined on the object or on one if its parent containers. |
| Methods inherited from class com.starteam.ACE |
|---|
addPermission, getPermissions, getPrincipal, hasPermission, isGranted, isGroup, 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()public boolean isFromObjectACL()
EffectiveACE.getObject(),
EffectiveACE.isExplicitACE(),
ISecurable.getRights()public boolean isFromContainerACL()
EffectiveACE.getContainer(),
EffectiveACE.getObjectType(),
EffectiveACE.isExplicitACE(),
ISecurable.getParentContainer(),
ISecurableContainer.getRights(com.starteam.Type)public boolean isFromMissingACE()
EffectiveACE.isImpliedACE()public boolean isFromMissingACL()
EffectiveACE.isImpliedACE()public Group getGroup()
ACE.isGroup(),
EffectiveACE.getUser()public User getUser()
EffectiveACE.getGroup(),
ACE.isGroup()public java.lang.String getName()
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 int hashCode()
hashCode in class ACEpublic boolean equals(java.lang.Object another)
Object identifies the same
exact EffectiveACE.
equals in class ACEanother - the object to be compared to for equality
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||