|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.MatchedACE
public final class MatchedACE
Used when explaining the results of an access test.
Each MatchedACE provides a subset of the permissions that were tested, as well as the corresponding EffectiveACE that was relevant in determining whether those permissions were granted or denied.
AccessRightsManager.AccessTestResults.getExplanation()| Method Summary | |
|---|---|
EffectiveACE |
getEffectiveACE()
Gets the corresponding EffectiveACE. |
int |
getIndexInACL()
Gets the index of the matched ACEManager in its Effective Access Control List. |
PermissionCollection |
getPermissions()
Gets a subset of the permissions that were tested. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public PermissionCollection getPermissions()
Permissionpublic EffectiveACE getEffectiveACE()
EffectiveACEpublic int getIndexInACL()
If an access test for a given permission is performed against an Effective ACL from an object for which the permission is not applicable, then it is possible for the resulting AccessTestResult to contain a MatchedACE for an EffectiveACE that did not appear in the original Effective ACL. In this case, getIndexInACL() will return -1.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||