| java.lang.Object com.sun.satsa.acl.ACLPermissions
All known Subclasses: com.sun.satsa.acl.APDUPermissions, com.sun.satsa.acl.JCRMIPermissions,
ACLPermissions | public class ACLPermissions (Code) | | This class represents a set of ACL permissions.
|
Field Summary | |
final static int | ALLOW Flag that indicates that MIDlet suite have full access. | final static int | CHECK Flag that indicates that the object contains permissions. | final public static int | CMD_CHANGE PIN operation constant. | final public static int | CMD_COUNT The number of supported PIN commands. | final public static int | CMD_DISABLE PIN operation constant. | final public static int | CMD_ENABLE PIN operation constant. | final public static int | CMD_UNBLOCK PIN operation constant. | final public static int | CMD_VERIFY PIN operation constant. | final static int | DISALLOW Flag that indicates that MIDlet suite have not access. | protected PINAttributes | attr1 Attributes of the first PIN to be entered. | protected PINAttributes | attr2 Attributes of the second PIN or null. | protected ACSlot | parent Parent ACSlot object, contains PIN attributes. | Vector | permissions The list of permissions. | int | type Verifier type. |
Method Summary | |
protected void | checkPINOperation(int pinID, int unblockPinID, int action) Verifies that PIN operation is supported, finds PIN attributes. | public Object[] | enterPIN(SecurityToken securityToken, int action) Requests the user to enter the PIN value(s).
Parameters: securityToken - class security token. Parameters: action - PIN operation identifier. | Object | getPINCommand(int pinID, int action) Get PIN command for specified ID and operation.
Parameters: pinID - PIN identifier. Parameters: action - PIN operation identifier. | public void | setPINData(PINData[] data) Set PIN data for this permission. | public void | setPermissions(Vector permissions) Set the list of permissions. | public void | setType(int type) Set type of the permission. |
ALLOW | final static int ALLOW(Code) | | Flag that indicates that MIDlet suite have full access.
|
CHECK | final static int CHECK(Code) | | Flag that indicates that the object contains permissions.
|
CMD_CHANGE | final public static int CMD_CHANGE(Code) | | PIN operation constant.
|
CMD_COUNT | final public static int CMD_COUNT(Code) | | The number of supported PIN commands.
|
CMD_DISABLE | final public static int CMD_DISABLE(Code) | | PIN operation constant.
|
CMD_ENABLE | final public static int CMD_ENABLE(Code) | | PIN operation constant.
|
CMD_UNBLOCK | final public static int CMD_UNBLOCK(Code) | | PIN operation constant.
|
CMD_VERIFY | final public static int CMD_VERIFY(Code) | | PIN operation constant.
|
DISALLOW | final static int DISALLOW(Code) | | Flag that indicates that MIDlet suite have not access.
|
parent | protected ACSlot parent(Code) | | Parent ACSlot object, contains PIN attributes.
|
permissions | Vector permissions(Code) | | The list of permissions.
|
type | int type(Code) | | Verifier type.
|
ACLPermissions | public ACLPermissions(ACSlot parent)(Code) | | Constructs new object.
Parameters: parent - parent ACSlot object. |
checkPINOperation | protected void checkPINOperation(int pinID, int unblockPinID, int action)(Code) | | Verifies that PIN operation is supported, finds PIN attributes.
Parameters: pinID - PIN identifier. Parameters: unblockPinID - unblocking PIN identifier. Parameters: action - PIN operation identifier. exception: SecurityException - if operation is notsupported. |
enterPIN | public Object[] enterPIN(SecurityToken securityToken, int action)(Code) | | Requests the user to enter the PIN value(s).
Parameters: securityToken - class security token. Parameters: action - PIN operation identifier. null if operation was cancelled or the array that containsbyte array(s) with PIN value(s). |
getPINCommand | Object getPINCommand(int pinID, int action)(Code) | | Get PIN command for specified ID and operation.
Parameters: pinID - PIN identifier. Parameters: action - PIN operation identifier. PIN data or null if not found. |
setPINData | public void setPINData(PINData[] data)(Code) | | Set PIN data for this permission.
Parameters: data - PIN data for this permission. |
setPermissions | public void setPermissions(Vector permissions)(Code) | | Set the list of permissions.
Parameters: permissions - the list of permissions. |
setType | public void setType(int type)(Code) | | Set type of the permission.
Parameters: type - permission type. |
|
|