Lines Matching refs:permission
33 * The ExecPermission class represents permission for rmid to execute
38 * execute permission. A pathname that ends in "/*" (where "/" is
115 * Checks if this ExecPermission object "implies" the specified permission.
125 * @param p the permission to check against.
127 * @return true if the specified permission is implied by this object,
242 * Adds a permission to the collection.
244 * @param permission the Permission object to add.
246 * @exception IllegalArgumentException - if the permission is not a
252 public void add(Permission permission)
254 if (! (permission instanceof ExecPermission))
255 throw new IllegalArgumentException("invalid permission: "+
256 permission);
260 permissions.addElement(permission);
265 * expressed in "permission".
269 * @return true if "permission" is a proper subset of a permission in
272 public boolean implies(Permission permission)
274 if (! (permission instanceof ExecPermission))
281 if (x.implies(permission)) {