Deprecated
as a consequence of Policy being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private static final AllPermission | |
| pack-priv static final Permissions | |
| private static final CodeSource | |
| private final Policy |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static Permissions | |
| public Policy. | getParameters()
Overrides java.
Deprecated
as a consequence of
Return Policy.Parameters being deprecated.
Policy parameters.
|
| public PermissionCollection | getPermissions(final CodeSource
the CodeSource to which the returned
PermissionCollection has been granted. codesource)Overrides java. |
| public PermissionCollection | getPermissions(final ProtectionDomain
the ProtectionDomain to which the returned
PermissionCollection has been granted. domain)Overrides java. |
| public Provider | |
| public String | |
| public boolean | implies(final ProtectionDomain
the ProtectionDomain to test domain, final Permission the Permission object to be tested for implication. permission)Overrides java. |
| public void |
| ALL_PERMISSION | back to summary |
|---|---|
| private static final AllPermission ALL_PERMISSION | |
| DEFAULT_PERMISSION_COLLECTION | back to summary |
|---|---|
| pack-priv static final Permissions DEFAULT_PERMISSION_COLLECTION | |
| ourCodeSource | back to summary |
|---|---|
| private static final CodeSource ourCodeSource | |
| policy | back to summary |
|---|---|
| private final Policy policy
Deprecated as a consequence of | |
| ModulesPolicy | back to summary |
|---|---|
| pack-priv ModulesPolicy(final Policy policy)
Deprecated as a consequence of | |
| getAllPermission | back to summary |
|---|---|
| private static Permissions getAllPermission() | |
| getParameters | back to summary |
|---|---|
| public Policy. Overrides java. Doc from java. Deprecated as a consequence of Return This
| |
| getPermissions | back to summary |
|---|---|
| public PermissionCollection getPermissions(final CodeSource codesource) Overrides java. Doc from java. Return a PermissionCollection object containing the set of permissions granted to the specified CodeSource. Applications are discouraged from calling this method
since this operation may not be supported by all policy implementations.
Applications should solely rely on the The default implementation of this method returns Policy.UNSUPPORTED_EMPTY_COLLECTION. This method can be overridden if the policy implementation can return a set of permissions granted to a CodeSource.
| |
| getPermissions | back to summary |
|---|---|
| public PermissionCollection getPermissions(final ProtectionDomain domain) Overrides java. Doc from java. Return a PermissionCollection object containing the set of permissions granted to the specified ProtectionDomain. Applications are discouraged from calling this method
since this operation may not be supported by all policy implementations.
Applications should rely on the The default implementation of this method first retrieves
the permissions returned via This method can be overridden if the policy implementation supports returning a set of permissions granted to a ProtectionDomain.
| |
| getProvider | back to summary |
|---|---|
| public Provider getProvider() Overrides java. Doc from java. Return the This
| |
| getType | back to summary |
|---|---|
| public String getType() Overrides java. Doc from java. Return the type of this This
| |
| implies | back to summary |
|---|---|
| public boolean implies(final ProtectionDomain domain, final Permission permission) Overrides java. Doc from java. Evaluates the global policy for the permissions granted to the ProtectionDomain and tests whether the permission is granted.
| |
| refresh | back to summary |
|---|---|
| public void refresh() Overrides java. Doc from java. Refreshes/reloads the policy configuration. The behavior of this method
depends on the implementation. For example, calling The default implementation of this method does nothing. This method should be overridden if a refresh operation is supported by the policy implementation. | |