|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.Permission
java.security.BasicPermission
javacardx.framework.JCRuntimePermission
@TransactionType(value=NOT_SUPPORTED) public final class JCRuntimePermission
This class is for Java Card runtime permissions. A JCRuntimePermission contains a name (also referred to as a "target name") but no actions list; the named permission is either granted or not.
The target name is the name of the runtime permission (see below). The naming convention follows the hierarchical property naming convention. Also, an asterisk may appear at the end of the name, following a ".", or by itself, to signify a wildcard match. For example: "credentialManager.*" or "*" is valid, "*Manager" or "c*r" is not valid.
The possible target names are "credentialManager.set", "credentialManager.get", "thread.create" and "thread.modify". Their meaning is defined as follows:
BasicPermission
,
Permission
,
AccessController
,
AccessControlException
Field Summary | |
---|---|
static String |
NAME_CREDENTIAL_MANAGER_GET
The "credentialManager.get" name. |
static String |
NAME_CREDENTIAL_MANAGER_SET
The "credentialManager.set" name. |
static String |
NAME_THREAD_CREATE
The "thread.create" name. |
static String |
NAME_THREAD_MODIFY
The "thread.modify" name. |
Constructor Summary | |
---|---|
JCRuntimePermission(String name)
Creates a new JCRuntimePermission with the specified name. |
Method Summary |
---|
Methods inherited from class java.security.BasicPermission |
---|
equals, getActions, hashCode, implies |
Methods inherited from class java.security.Permission |
---|
getName, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String NAME_CREDENTIAL_MANAGER_SET
public static final String NAME_CREDENTIAL_MANAGER_GET
public static final String NAME_THREAD_CREATE
public static final String NAME_THREAD_MODIFY
Constructor Detail |
---|
public JCRuntimePermission(String name)
name
- the name of the JCRuntimePermission.
NullPointerException
- if name
is null
.
IllegalArgumentException
- if name
is not a recognized target name.
SecurityException
- if name
is not accessible in the caller's context.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |