public class CardPermission extends Permission
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:
|Constructor and Description|
Constructs a new CardPermission with the specified actions.
|Modifier and Type||Method and Description|
Compares the specified object with this CardPermission for equality.
Returns the canonical string representation of the actions.
Returns the hash code value for this CardPermission object.
Checks if this CardPermission object implies the specified permission.
checkGuard, getName, newPermissionCollection, toString
terminalNameis the name of a CardTerminal or
*if this permission applies to all terminals.
actionscontains a comma-separated list of the individual actions or
*to signify all actions. For more information, see the documentation at the top of this class.
public String getActions()
*to signify all actions defined by this class or the string concatenation of the comma-separated, lexicographically sorted list of individual actions.
public boolean implies(Permission permission)
permission is an instance of CardPermission,
permission's actions are a proper subset of this
object's actions, and
getName() method is either
* or equal to
public boolean equals(Object obj)
object, if and only if
object is an instance of CardPermission,
this.getName() is equal to
this.getActions() is equal to
Copyright © 2005, 2013, Oracle and/or its affiliates. All rights reserved.