jxl.enclosure.security
Class GrantedPermissions

java.lang.Object
  extended by jxl.enclosure.security.GrantedPermissions

public final class GrantedPermissions
extends java.lang.Object

Author:
alex

Method Summary
static java.util.List<java.security.Permission> getGranedEquals()
          Return an unmodifiable list of pemissions granted by equals() evaluation.
static java.util.List<java.security.Permission> getGrantedDImplies()
          Return an unmodifiable list of pemissions granted by implies() evaluation.
static boolean isGranted(java.security.Permission p)
          Check if p is granted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isGranted

public static boolean isGranted(java.security.Permission p)
Check if p is granted.

Parameters:
p - permission to check
Returns:
true if the permission is forbided, false otherwise

getGranedEquals

public static java.util.List<java.security.Permission> getGranedEquals()
Return an unmodifiable list of pemissions granted by equals() evaluation.


getGrantedDImplies

public static java.util.List<java.security.Permission> getGrantedDImplies()
Return an unmodifiable list of pemissions granted by implies() evaluation.