Lines Matching refs:Permission

836                     Permission perm;
883 Permission perm = new UnresolvedPermission(
897 ".error.adding.Permission.perm.message"));
905 ".error.adding.Permission.perm.message"));
926 * Returns a new Permission object of the given Type. The Permission is
933 * @param type the type of Permission being created.
934 * @param name the name of the Permission being created.
935 * @param actions the actions of the Permission being created.
937 * @exception ClassNotFoundException if the particular Permission
950 * @exception InvocationTargetException if the underlying Permission
955 private static final Permission getInstance(String type,
966 Permission answer = getKnownInstance(pc, name, actions);
974 return (Permission) c.newInstance(new Object[] {});
978 return (Permission) c.newInstance(
982 return (Permission) c.newInstance(
990 return (Permission) c.newInstance(new Object[] { name});
993 return (Permission) c.newInstance(
998 return (Permission) c.newInstance(
1009 private static final Permission getKnownInstance(Class claz,
1117 * @param permission the Permission object to be tested for implication.
1125 public boolean implies(ProtectionDomain pd, Permission p) {
1156 * it does not add that <code>Permission</code> to the returned
1189 Enumeration<Permission> e = pc.elements();
1474 Permission p = entry.permissions.get(i);
1613 Enumeration<Permission> e = perms.elements();
1615 Permission pElement = e.nextElement();
1637 perms.add((Permission)c.newInstance
1641 perms.add((Permission)c.newInstance
1647 perms.add((Permission)c.newInstance
1994 debug.println(" Permission name expanded from:\n\t" +
2049 * A PolicyEntry is a (CodeSource,Permission) pair. The
2057 * The Permission contains the (Type, Name, Action) triplet. <p>
2092 final List<Permission> permissions;
2096 * Given a Permission and a CodeSource, create a policy entry.
2111 this.permissions = new ArrayList<Permission>();
2125 * add a Permission object to this entry.
2129 void add(Permission p) {
2146 Permission p = permissions.get(j);
2158 private static class SelfPermission extends Permission {
2163 * The class name of the Permission class that will be
2194 * @param type the class name of the Permission class that will be
2276 @Override public boolean implies(Permission p) {