com.ibm.tspaces.ac
Class TsPermission
java.lang.Object
|
+--com.ibm.tspaces.ac.TsPermission
- public class TsPermission
- extends java.lang.Object
- implements java.security.acl.Permission, java.io.Serializable
This class implements the
java.security.acl.Permission Interface.
It represents a permission, such as that used to grant
a particular type of access to a resource.
- Author:
- John Thomas
- See Also:
tsAcl, Serialized Form
|
Constructor Summary |
TsPermission(java.lang.String p)
TSPermission constructor ** |
|
Method Summary |
boolean |
equals(java.lang.Object another)
Returns true if the object passed matches the permission represented
in this interface. |
java.lang.String |
toString()
Prints a string representation of this permission. |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
TsPermission
public TsPermission(java.lang.String p)
- TSPermission constructor **
equals
public boolean equals(java.lang.Object another)
- Returns true if the object passed matches the permission represented
in this interface.
- Specified by:
- equals in interface java.security.acl.Permission
- Overrides:
- equals in class java.lang.Object
- Parameters:
another - the Permission object to compare with.- Returns:
- true if the Permission objects are equal, false otherwise
toString
public java.lang.String toString()
- Prints a string representation of this permission.
- Specified by:
- toString in interface java.security.acl.Permission
- Overrides:
- toString in class java.lang.Object
- Returns:
- the string representation of the permission.