Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.wymiwyg.mies.server.auth
Class MiesPermission  view MiesPermission download MiesPermission.java

java.lang.Object
  extended byjava.security.Permission
      extended byorg.wymiwyg.mies.server.auth.MiesPermission
All Implemented Interfaces:
java.security.Guard, java.io.Serializable

public class MiesPermission
extends java.security.Permission


Field Summary
private static org.apache.log4j.Logger logger
           
(package private)  java.util.Set propertyAndObjectSet
           
 
Fields inherited from class java.security.Permission
 
Constructor Summary
MiesPermission(Resource resource)
          Constructor for MiesPermission.
 
Method Summary
 boolean equals(java.lang.Object object)
          Two MiesPermission are same if and only all the attribute of their resources are the same
 java.lang.String getActions()
          This method returns the list of actions for this Permission as a String.
private  java.util.Set getPropertyAndObjectSet(Resource resource)
           
 int hashCode()
          This method returns a hash code for this Permission.
 boolean implies(java.security.Permission permission)
          This method tests whether this Permission implies that the specified Permission is also granted.
 
Methods inherited from class java.security.Permission
checkGuard, getName, newPermissionCollection, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

propertyAndObjectSet

java.util.Set propertyAndObjectSet

logger

private static org.apache.log4j.Logger logger
Constructor Detail

MiesPermission

public MiesPermission(Resource resource)
Constructor for MiesPermission.

Method Detail

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".