A CardPermission with a name of *
applies to all
card terminals. The actions string is a comma separated list of the actions
listed below, or *
to signify "all actions."
Individual actions are:
Modifier and Type | Field and Description |
---|---|
private static final int | |
private static final int | |
private static final int | |
private static final int | |
private static final int | |
private static final int | |
private static final int | |
private final String | |
private static final int[] | |
private static final String[] | |
private transient int | |
private static final String | |
private static final String | |
private static final String | |
private static final String | |
private static final String | |
private static final String | |
private static final String | |
private static final long |
Access | Constructor and Description |
---|---|
public | CardPermission(String
the name of the card terminal, or terminalName, String * the action string (or null if the set of permitted
actions is empty) actions)Constructs a new CardPermission with the specified actions. |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true if and only if the specified object is equal to this CardPermissionthe object to be compared for equality with this CardPermission obj)Implements abstract java. Compares the specified object with this CardPermission for equality. |
private static String | |
public String | Returns: the canonical string representation of the actions.Implements abstract java. Returns the canonical string representation of the actions. |
private static int | |
public int | Returns: the hash code value for this CardPermission object.Implements abstract java. Returns the hash code value for this CardPermission object. |
public boolean | Returns: true if and only if this CardPermission object implies the specified permission.the permission to check against permission)Implements abstract java. Checks if this CardPermission object implies the specified permission. |
private void | |
private void |
A_ALL | back to summary |
---|---|
private static final int A_ALL |
A_CONNECT | back to summary |
---|---|
private static final int A_CONNECT |
A_EXCLUSIVE | back to summary |
---|---|
private static final int A_EXCLUSIVE |
A_GET_BASIC_CHANNEL | back to summary |
---|---|
private static final int A_GET_BASIC_CHANNEL |
A_OPEN_LOGICAL_CHANNEL | back to summary |
---|---|
private static final int A_OPEN_LOGICAL_CHANNEL |
A_RESET | back to summary |
---|---|
private static final int A_RESET |
A_TRANSMIT_CONTROL | back to summary |
---|---|
private static final int A_TRANSMIT_CONTROL |
actions | back to summary |
---|---|
private final String actions |
ARRAY_MASKS | back to summary |
---|---|
private static final int[] ARRAY_MASKS |
ARRAY_STRINGS | back to summary |
---|---|
private static final String[] ARRAY_STRINGS |
mask | back to summary |
---|---|
private transient int mask |
S_ALL | back to summary |
---|---|
private static final String S_ALL |
S_CONNECT | back to summary |
---|---|
private static final String S_CONNECT |
S_EXCLUSIVE | back to summary |
---|---|
private static final String S_EXCLUSIVE |
S_GET_BASIC_CHANNEL | back to summary |
---|---|
private static final String S_GET_BASIC_CHANNEL |
S_OPEN_LOGICAL_CHANNEL | back to summary |
---|---|
private static final String S_OPEN_LOGICAL_CHANNEL |
S_RESET | back to summary |
---|---|
private static final String S_RESET |
S_TRANSMIT_CONTROL | back to summary |
---|---|
private static final String S_TRANSMIT_CONTROL |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID |
CardPermission | back to summary |
---|---|
public CardPermission(String terminalName, String actions) Constructs a new CardPermission with the specified actions.
|
equals | back to summary |
---|---|
public boolean equals(Object obj) Implements abstract java. Compares the specified object with this CardPermission for equality.
This CardPermission is equal to another Object
|
getActions | back to summary |
---|---|
private static String getActions(int mask) |
getActions | back to summary |
---|---|
public String getActions() Implements abstract java. Returns the canonical string representation of the actions.
It is
|
getMask | back to summary |
---|---|
private static int getMask(String actions) |
hashCode | back to summary |
---|---|
public int hashCode() Implements abstract java. Returns the hash code value for this CardPermission object.
|
implies | back to summary |
---|---|
public boolean implies(Permission permission) Implements abstract java. Checks if this CardPermission object implies the specified permission. That is the case, if and only if
|
readObject | back to summary |
---|---|
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException |
writeObject | back to summary |
---|---|
private void writeObject(ObjectOutputStream s) throws IOException |