/libcore/luni/src/main/java/java/security/ |
D | PermissionsHash.java | 44 public void add(Permission permission) { in add() argument 45 perms.put(permission, permission); in add() 67 public boolean implies(Permission permission) { in implies() argument 69 if (((Permission)elements.nextElement()).implies(permission)) { in implies()
|
D | AllPermissionCollection.java | 26 @Override public void add(Permission permission) { } in add() argument 30 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|
D | Permissions.java | 27 public void add(Permission permission) {} in add() argument 31 public boolean implies(Permission permission) { return true; } in implies() argument
|
D | PermissionCollection.java | 30 public abstract void add(Permission permission); in add() argument 34 public abstract boolean implies(Permission permission); in implies() argument
|
D | AllPermission.java | 30 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|
D | SecurityPermission.java | 30 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|
D | PolicySpi.java | 51 Permission permission); in engineImplies() argument
|
D | BasicPermission.java | 32 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|
D | Permission.java | 38 public abstract boolean implies(Permission permission); in implies() argument
|
D | ProtectionDomain.java | 36 public boolean implies(Permission permission) { return true; } in implies() argument
|
/libcore/luni/src/main/java/java/security/acl/ |
D | AclEntry.java | 76 boolean addPermission(Permission permission); in addPermission() argument 86 boolean removePermission(Permission permission); in removePermission() argument 95 boolean checkPermission(Permission permission); in checkPermission() argument
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | AccessControllerTest.java | 37 final Permission permission = new RuntimePermission("do stuff"); in testDoPrivilegedWithCombiner() local 53 AccessController.getContext().checkPermission(permission); in testDoPrivilegedWithCombiner() 60 AccessController.getContext().checkPermission(permission); in testDoPrivilegedWithCombiner()
|
/libcore/luni/src/main/java/javax/security/auth/ |
D | Subject.java | 533 private transient AuthPermission permission; field in Subject.SecureSet 536 permission = perm; in SecureSet() 563 if (permission == _PRINCIPALS && !(Principal.class.isAssignableFrom(o.getClass()))) { in verifyElement() 590 if (permission == _PRIVATE_CREDENTIALS) { in iterator() 685 permission = _PRINCIPALS; in readObject() 688 permission = _PRIVATE_CREDENTIALS; in readObject() 691 permission = _PUBLIC_CREDENTIALS; in readObject() 705 if (permission == _PRIVATE_CREDENTIALS) { in writeObject() 707 } else if (permission == _PRINCIPALS) { in writeObject()
|
D | AuthPermission.java | 33 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | IdentityScopeTest.java | 44 public void checkPermission(Permission permission){ in checkPermission() argument 45 if (denied!=null && denied.implies(permission)) throw new SecurityException(); in checkPermission()
|
/libcore/luni/src/main/java/libcore/net/url/ |
D | FileURLConnection.java | 71 private FilePermission permission; field in FileURLConnection 325 if (permission == null) { in getPermission() 330 permission = new FilePermission(path, "read"); in getPermission() 332 return permission; in getPermission()
|
/libcore/luni/src/main/java/java/lang/ |
D | SecurityManager.java | 149 public void checkPermission(Permission permission) { } in checkPermission() argument 151 public void checkPermission(Permission permission, Object context) { } in checkPermission() argument
|
D | RuntimePermission.java | 33 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|
/libcore/luni/src/main/java/java/io/ |
D | FilePermission.java | 30 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|
D | SerializablePermission.java | 33 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|
/libcore/luni/src/main/java/java/net/ |
D | SocketPermission.java | 31 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|
D | NetPermission.java | 33 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MyBasicPermission.java | 28 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|
/libcore/luni/src/main/java/javax/net/ssl/ |
D | SSLPermission.java | 33 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|
/libcore/luni/src/main/java/java/lang/reflect/ |
D | ReflectPermission.java | 33 @Override public boolean implies(Permission permission) { return true; } in implies() argument
|