Lines Matching refs:Permission
40 * The BasicPermission class extends the Permission class, and
53 * The action string (inherited from Permission) is unused.
62 * @see java.security.Permission
71 public abstract class BasicPermission extends Permission
175 public boolean implies(Permission p) {
227 * from the Permission superclass.
296 * with a Permission such as "a.b.*", or "*".
298 * @see java.security.Permission
320 private transient Map<String, Permission> perms;
344 perms = new HashMap<String, Permission>(11);
353 * @param permission the Permission object to add.
365 public void add(Permission permission)
371 throw new SecurityException("attempt to add a Permission to a readonly PermissionCollection");
402 * @param p the Permission object to compare
408 public boolean implies(Permission permission)
419 // short circuit if the "*" Permission was added
430 Permission x;
473 public Enumeration<Permission> elements() {
517 Hashtable<String, Permission> permissions =
545 Hashtable<String, Permission> permissions =
546 (Hashtable<String, Permission>)gfields.get("permissions", null);
547 perms = new HashMap<String, Permission>(permissions.size()*2);
558 Enumeration<Permission> e = permissions.elements();
560 Permission p = e.nextElement();