| Modifier and Type | Field and Description |
|---|---|
| public static final String | ALLOW
This string is used to indicate that a row in the Conditional Permission Table should return an access decision of "allow" if the conditions are all satisfied and at least one of the permissions is implied. |
| public static final String | DENY
This string is used to indicate that a row in the Conditional Permission Table should return an access decision of "deny" if the conditions are all satisfied and at least one of the permissions is implied. |
| Modifier and Type | Method and Description |
|---|---|
| public void | delete()
Deprecated
As of 1.1.
Removes this Conditional Permission Info from the Conditional Permission Table. |
| public boolean | Returns: true if obj is a
ConditionalPermissionInfo, and has the same access
decision, conditions, permissions and name as this
ConditionalPermissionInfo object; false
otherwise.The object to test for equality with this
obj)ConditionalPermissionInfo object.Determines the equality of two |
| public String | |
| public ConditionInfo[] | Returns: The Condition Infos for the Conditions in this Conditional Permission Info.Returns the Condition Infos for the Conditions that must be satisfied to enable the Permissions. |
| public String | Returns: The string encoding of thisConditionalPermissionInfo.Returns the string encoding of this |
| public String | Returns: The name of this Conditional Permission Info. This can benull if this Conditional Permission Info was created
without a name.Returns the name of this Conditional Permission Info. |
| public PermissionInfo[] | Returns: The Permission Infos for the Permissions in this Conditional Permission Info.Returns the Permission Infos for the Permissions in this Conditional Permission Info. |
| public int | |
| public String | Returns: The string representation of thisConditionalPermissionInfo.Returns the string representation of this
|
| ALLOW | back to summary |
|---|---|
| public static final String ALLOW This string is used to indicate that a row in the Conditional Permission Table should return an access decision of "allow" if the conditions are all satisfied and at least one of the permissions is implied.
| |
| DENY | back to summary |
|---|---|
| public static final String DENY This string is used to indicate that a row in the Conditional Permission Table should return an access decision of "deny" if the conditions are all satisfied and at least one of the permissions is implied.
| |
| delete | back to summary |
|---|---|
| public void delete()
Deprecated As of 1.1. Use
Removes this Conditional Permission Info from the Conditional Permission Table.
Since this method changes the underlying permission table, any
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Determines the equality of two
| |
| getAccessDecision | back to summary |
|---|---|
| public String getAccessDecision() Returns the access decision for this Conditional Permission Info. | |
| getConditionInfos | back to summary |
|---|---|
| public ConditionInfo[] getConditionInfos() Returns the Condition Infos for the Conditions that must be satisfied to enable the Permissions.
| |
| getEncoded | back to summary |
|---|---|
| public String getEncoded() Returns the string encoding of this The encoded format is:
access {conditions permissions} name
where access is the access decision, conditions is zero or
more encoded conditions,
permissions is one or more encoded permissions and name is the name of the
ConditionalPermissionInfo.
name is optional. If name is present in the encoded string,
it must quoted, beginning and ending with
The encoded string contains no leading or trailing whitespace characters.
A single space character is used between access and
| |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of this Conditional Permission Info.
| |
| getPermissionInfos | back to summary |
|---|---|
| public PermissionInfo[] getPermissionInfos() Returns the Permission Infos for the Permissions in this Conditional Permission Info.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Returns the hash code value for this object.
| |
| toString | back to summary |
|---|---|
| public String toString() Returns the string representation of this
| |