public class ScopedMemoryPermission extends RealtimePermission
| Action Name | Description | Risks of grant |
|---|---|---|
| map | Uses a given amount of the global backing store. | Physical Map Risk |
| enter | Enters a scoped memory | Memory Risk |
| monitor | Visit root scoped memories | Encapsulation Risk |
* or no target allows access to any scoped
memory area or any amount of backing store.
The risk classes are defined in RealtimePermission.| Constructor and Description |
|---|
ScopedMemoryPermission(java.lang.String actions)
Creates a new
ScopedMemoryPermission object for a given action,
i.e., the symbolic name of an action. |
ScopedMemoryPermission(java.lang.String target,
java.lang.String actions)
Creates a new
ScopedMemoryPermission object for a given action,
i.e., the symbolic name of an action. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
implies(java.security.Permission permission)
Checks if the given permission's actions are "implied by" this
object's actions.
|
equals, getActions, hashCode, setHashCodepublic ScopedMemoryPermission(java.lang.String target,
java.lang.String actions)
ScopedMemoryPermission object for a given action,
i.e., the symbolic name of an action. The target string
specifies additional limitations on the action.target - Specifies the domain for the action, or *
for no limit on the permission.actions - The names of the actions to allow, or *
for all actions.java.lang.NullPointerException - when action is null.StaticIllegalArgumentException - when
target or action is empty.public ScopedMemoryPermission(java.lang.String actions)
ScopedMemoryPermission object for a given action,
i.e., the symbolic name of an action.actions - The names of the actions to allow, or *
for all actions.java.lang.NullPointerException - when action is null.StaticIllegalArgumentException - when
action is empty.public boolean implies(java.security.Permission permission)
RealtimePermissionimplies in class RealtimePermissionpermission - is the permission to check.true when yes and false otherwise.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2024 aicas GmbH. All Rights Reserved.