java.lang.Object
java.security.Permission
org.wymiwyg.mies.server.auth.MiesPermission
- All Implemented Interfaces:
- java.security.Guard, java.io.Serializable
- public class MiesPermission
- extends java.security.Permission
| Fields inherited from class java.security.Permission |
|
|
Constructor Summary |
MiesPermission(Resource resource)
Constructor for MiesPermission. |
propertyAndObjectSet
java.util.Set propertyAndObjectSet
logger
private static org.apache.log4j.Logger logger
MiesPermission
public MiesPermission(Resource resource)
- Constructor for MiesPermission.
getPropertyAndObjectSet
private java.util.Set getPropertyAndObjectSet(Resource resource)
throws RDFException
equals
public boolean equals(java.lang.Object object)
- Two MiesPermission are same if and only all the attribute of
their resources are the same
hashCode
public int hashCode()
- Description copied from class:
java.security.Permission
- This method returns a hash code for this
Permission. It
must satisfy the contract of Object.hashCode: it must be
the same for all objects that equals considers to be the same.
implies
public boolean implies(java.security.Permission permission)
- Description copied from class:
java.security.Permission
- This method tests whether this
Permission implies that the
specified Permission is also granted.
getActions
public java.lang.String getActions()
- Description copied from class:
java.security.Permission
- This method returns the list of actions for this
Permission
as a String. The string should be in canonical order, for
example, both new FilePermission(f, "write,read") and
new FilePermission(f, "read,write") have the action list
"read,write".