|
|||||||||
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.spi.cardmgmt.CardManagementPermission
@TransactionType(value=NOT_SUPPORTED) public final class CardManagementPermission
This class is for Card Management permissions. A CardManagementPermission 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 card management 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, "*credentialManager" or "c*r" is not valid.
The possible target names are "deploymentUnit.load", "deploymentUnit.unload", "application.create", "application.delete", "credentialManager.get" and "protectionDomain.get". Their meaning is defined as follows:
BasicPermission
,
Permission
,
AccessController
,
AccessControlException
Field Summary | |
---|---|
static String |
NAME_APPLICATION_CREATE
The "application.create" action. |
static String |
NAME_APPLICATION_DELETE
The "application.delete" action. |
static String |
NAME_CREDENTIAL_MANAGER_GET
The "credentialManager.get" action. |
static String |
NAME_DEPLOYMENT_UNIT_LOAD
The "deploymentUnit.load" action. |
static String |
NAME_DEPLOYMENT_UNIT_UNLOAD
The "deploymentUnit.unload" action. |
static String |
NAME_PROTECTION_DOMAIN_GET
The "protectionDomain.get" action. |
Constructor Summary | |
---|---|
CardManagementPermission(String name)
Creates a new CardManagementPermission 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_DEPLOYMENT_UNIT_LOAD
public static final String NAME_DEPLOYMENT_UNIT_UNLOAD
public static final String NAME_APPLICATION_CREATE
public static final String NAME_APPLICATION_DELETE
public static final String NAME_CREDENTIAL_MANAGER_GET
public static final String NAME_PROTECTION_DOMAIN_GET
Constructor Detail |
---|
public CardManagementPermission(String name)
name
- the name of the CardManagementPermission.
NullPointerException
- if name
is null
.
IllegalArgumentException
- if name
is not a recognized target name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |