| Modifier and Type | Method and Description |
|---|---|
| public ConditionalPermissionInfo | Returns: The ConditionalPermissionInfo for the specified Conditions and Permissions.The conditions that need to be satisfied to enable the
specified permissions. This argument can be conditions, PermissionInfo[] null or an
empty array indicating the specified permissions are not guarded
by any conditions.The permissions that are enabled when the specified
conditions, if any, are satisfied. This argument must not be
permissions)null and must specify at least one permission.
Deprecated
As of 1.1. Use
newConditionalPermissionUpdate()
instead.
Create a new Conditional Permission Info in the Conditional Permission Table. |
| public AccessControlContext | Returns: AnAccessControlContext that has the Permissions
associated with the signer.The signers for which to return an Access Control Context. signers)
References Deprecated
AccessControlContext is deprecated or references (maybe indirectly) at least one deprecated element.
Returns the Access Control Context that corresponds to the specified signers. |
| public ConditionalPermissionInfo | Returns: The Conditional Permission Info with the specified name ornull if no Conditional Permission Info with the specified
name exists in the Conditional Permission Table.The name of the Conditional Permission Info to be returned. name)
Deprecated
As of 1.1. Use
newConditionalPermissionUpdate()
instead.
Return the Conditional Permission Info with the specified name. |
| public Enumeration | Returns: An enumeration of the Conditional Permission Infos that are currently in the Conditional Permission Table.
Deprecated
As of 1.1. Use
newConditionalPermissionUpdate()
instead.
Returns the Conditional Permission Infos from the Conditional Permission Table. |
| public ConditionalPermissionInfo | Returns: AConditionalPermissionInfo object suitable for insertion
into a ConditionalPermissionUpdate.The name of the created name, ConditionInfo[] ConditionalPermissionInfo or
null to have a unique name generated when the returned
ConditionalPermissionInfo is committed in an update to the
Conditional Permission Table.The conditions that need to be satisfied to enable the
specified permissions. This argument can be conditions, PermissionInfo[] null or an
empty array indicating the specified permissions are not guarded
by any conditions.The permissions that are enabled when the specified
conditions, if any, are satisfied. This argument must not be
permissions, String access)null and must specify at least one permission.Creates a new ConditionalPermissionInfo with the specified fields
suitable for insertion into a |
| public ConditionalPermissionInfo | Returns: AConditionalPermissionInfo object suitable for insertion
into a ConditionalPermissionUpdate.The encoded
encodedConditionalPermissionInfo)ConditionalPermissionInfo. White space in the encoded
ConditionalPermissionInfo is ignored. The access decision
value in the encoded ConditionalPermissionInfo must be
evaluated case insensitively. If the encoded
ConditionalPermissionInfo does not contain the optional
name, null must be used for the name and a unique name
will be generated when the returned
ConditionalPermissionInfo is committed in an update to the
Conditional Permission Table.Creates a new |
| public ConditionalPermissionUpdate | Returns: A new update for the Conditional Permission Table.Creates a new update for the Conditional Permission Table. |
| public ConditionalPermissionInfo | Returns: The ConditionalPermissionInfo for the specified name, Conditions and Permissions.The name of the Conditional Permission Info, or name, ConditionInfo[] null.The conditions that need to be satisfied to enable the
specified permissions. This argument can be conditions, PermissionInfo[] null or an
empty array indicating the specified permissions are not guarded
by any conditions.The permissions that are enabled when the specified
conditions, if any, are satisfied. This argument must not be
permissions)null and must specify at least one permission.
Deprecated
As of 1.1. Use
newConditionalPermissionUpdate()
instead.
Set or create a Conditional Permission Info with a specified name in the Conditional Permission Table. |
| addConditionalPermissionInfo | back to summary |
|---|---|
| public ConditionalPermissionInfo addConditionalPermissionInfo(ConditionInfo[] conditions, PermissionInfo[] permissions)
Deprecated As of 1.1. Use Create a new Conditional Permission Info in the Conditional Permission Table.
The Conditional Permission Info will be given a unique, never reused
name. This entry will be added at the beginning of the Conditional
Permission Table with an access decision of
Since this method changes the Conditional Permission Table any
| |
| getAccessControlContext | back to summary |
|---|---|
| public AccessControlContext getAccessControlContext(String[] signers)
References Deprecated
See corresponding docs for further information. Returns the Access Control Context that corresponds to the specified signers. The returned Access Control Context must act as if its protection domain came from a bundle that has the following characteristics:
| |
| getConditionalPermissionInfo | back to summary |
|---|---|
| public ConditionalPermissionInfo getConditionalPermissionInfo(String name)
Deprecated As of 1.1. Use Return the Conditional Permission Info with the specified name.
| |
| getConditionalPermissionInfos | back to summary |
|---|---|
| public Enumeration Deprecated As of 1.1. Use Returns the Conditional Permission Infos from the Conditional Permission Table. The returned Enumeration will return elements in the order they are kept in the Conditional Permission Table. The Enumeration returned is based on a copy of the Conditional Permission Table and therefore will not throw exceptions if the Conditional Permission Table is changed during the course of reading elements from the Enumeration.
| |
| newConditionalPermissionInfo | back to summary |
|---|---|
| public ConditionalPermissionInfo newConditionalPermissionInfo(String name, ConditionInfo[] conditions, PermissionInfo[] permissions, String access) Creates a new ConditionalPermissionInfo with the specified fields
suitable for insertion into a
| |
| newConditionalPermissionInfo | back to summary |
|---|---|
| public ConditionalPermissionInfo newConditionalPermissionInfo(String encodedConditionalPermissionInfo) Creates a new
| |
| newConditionalPermissionUpdate | back to summary |
|---|---|
| public ConditionalPermissionUpdate newConditionalPermissionUpdate() Creates a new update for the Conditional Permission Table. The update is a working copy of the current Conditional Permission Table. If the running Conditional Permission Table is modified before commit is called on the returned update, then the call to commit on the returned update will fail. That is, the commit method will return false and no change will be made to the running Conditional Permission Table. There is no requirement that commit is eventually called on the returned update.
| |
| setConditionalPermissionInfo | back to summary |
|---|---|
| public ConditionalPermissionInfo setConditionalPermissionInfo(String name, ConditionInfo[] conditions, PermissionInfo[] permissions)
Deprecated As of 1.1. Use Set or create a Conditional Permission Info with a specified name in the Conditional Permission Table.
If the specified name is
Since this method changes the underlying permission table any
| |