Home
last modified time | relevance | path

Searched refs:permission (Results 1 – 25 of 45) sorted by relevance

12

/libcore/luni/src/main/java/java/security/
DPermissionsHash.java44 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()
DAllPermissionCollection.java26 @Override public void add(Permission permission) { } in add() argument
30 @Override public boolean implies(Permission permission) { return true; } in implies() argument
DPermissions.java27 public void add(Permission permission) {} in add() argument
31 public boolean implies(Permission permission) { return true; } in implies() argument
DPermissionCollection.java30 public abstract void add(Permission permission); in add() argument
34 public abstract boolean implies(Permission permission); in implies() argument
DAllPermission.java30 @Override public boolean implies(Permission permission) { return true; } in implies() argument
DSecurityPermission.java30 @Override public boolean implies(Permission permission) { return true; } in implies() argument
DPolicySpi.java51 Permission permission); in engineImplies() argument
DBasicPermission.java32 @Override public boolean implies(Permission permission) { return true; } in implies() argument
DPermission.java38 public abstract boolean implies(Permission permission); in implies() argument
DProtectionDomain.java36 public boolean implies(Permission permission) { return true; } in implies() argument
/libcore/luni/src/main/java/java/security/acl/
DAclEntry.java76 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/
DAccessControllerTest.java37 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/
DSubject.java533 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()
DAuthPermission.java33 @Override public boolean implies(Permission permission) { return true; } in implies() argument
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScopeTest.java44 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/
DFileURLConnection.java71 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/
DSecurityManager.java149 public void checkPermission(Permission permission) { } in checkPermission() argument
151 public void checkPermission(Permission permission, Object context) { } in checkPermission() argument
DRuntimePermission.java33 @Override public boolean implies(Permission permission) { return true; } in implies() argument
/libcore/luni/src/main/java/java/io/
DFilePermission.java30 @Override public boolean implies(Permission permission) { return true; } in implies() argument
DSerializablePermission.java33 @Override public boolean implies(Permission permission) { return true; } in implies() argument
/libcore/luni/src/main/java/java/net/
DSocketPermission.java31 @Override public boolean implies(Permission permission) { return true; } in implies() argument
DNetPermission.java33 @Override public boolean implies(Permission permission) { return true; } in implies() argument
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyBasicPermission.java28 @Override public boolean implies(Permission permission) { return true; } in implies() argument
/libcore/luni/src/main/java/javax/net/ssl/
DSSLPermission.java33 @Override public boolean implies(Permission permission) { return true; } in implies() argument
/libcore/luni/src/main/java/java/lang/reflect/
DReflectPermission.java33 @Override public boolean implies(Permission permission) { return true; } in implies() argument

12