Lines Matching defs:permission
61 * <DD> read permission. Allows <code>System.getProperty</code> to
64 * <DD> write permission. Allows <code>System.setProperty</code> to
70 * Care should be taken before granting code permission to access
71 * certain system properties. For example, granting permission to
74 * installation directory). Also, granting permission to access
172 * permission.
182 * @param p the permission to check against.
184 * @return true if the specified permission is implied by this object,
298 "invalid permission: " + actions);
314 "invalid permission: " + actions);
466 * Adds a permission to the PropertyPermissions. The key for the hash is
469 * @param permission the Permission object to add.
471 * @exception IllegalArgumentException - if the permission is not a
478 public void add(Permission permission)
480 if (! (permission instanceof PropertyPermission))
481 throw new IllegalArgumentException("invalid permission: "+
482 permission);
487 PropertyPermission pp = (PropertyPermission) permission;
502 perms.put(propName, permission);
514 * expressed in "permission".
518 * @return true if "permission" is a proper subset of a permission in
522 public boolean implies(Permission permission)
524 if (! (permission instanceof PropertyPermission))
527 PropertyPermission pp = (PropertyPermission) permission;