/libcore/ojluni/src/main/java/java/security/acl/ |
D | AclEntry.java | 111 public boolean addPermission(Permission permission); in addPermission() 121 public boolean removePermission(Permission permission); in removePermission() 132 public boolean checkPermission(Permission permission); in checkPermission() 139 public Enumeration<Permission> permissions(); in permissions()
|
D | Acl.java | 203 public Enumeration<Permission> getPermissions(Principal user); in getPermissions() 232 public boolean checkPermission(Principal principal, Permission permission); in checkPermission()
|
D | Permission.java | 33 public interface Permission { interface
|
/libcore/ojluni/src/main/java/java/security/ |
D | PermissionCollection.java | 38 public abstract void add(Permission permission); in add() 40 public abstract boolean implies(Permission permission); in implies() 42 public abstract Enumeration<Permission> elements(); in elements()
|
D | Permissions.java | 41 public void add(Permission permission) { } in add() 43 public boolean implies(Permission permission) { return true; } in implies() 45 public Enumeration<Permission> elements() { return null; } in elements()
|
D | AccessControlException.java | 48 private Permission perm; 68 public AccessControlException(String s, Permission p) { in AccessControlException() 79 public Permission getPermission() { in getPermission()
|
D | Permission.java | 34 public abstract class Permission implements Guard, java.io.Serializable { class 38 public Permission(String name) { in Permission() method in Permission 44 public abstract boolean implies(Permission permission); in implies()
|
D | Policy.java | 91 public boolean implies(ProtectionDomain domain, Permission permission) { in implies() 105 @Override public void add(Permission permission) { in add() 108 @Override public boolean implies(Permission permission) { in implies() 112 @Override public Enumeration<Permission> elements() { in elements()
|
D | UnresolvedPermissionCollection.java | 74 public void add(Permission permission) in add() 98 List<UnresolvedPermission> getUnresolvedPermissions(Permission p) { in getUnresolvedPermissions() 108 public boolean implies(Permission permission) in implies() 120 public Enumeration<Permission> elements() { in elements() 121 List<Permission> results = in elements()
|
D | AllPermission.java | 34 public final class AllPermission extends Permission { 40 public boolean implies(Permission p) { return true; } in implies()
|
D | BasicPermission.java | 34 public abstract class BasicPermission extends Permission 42 public boolean implies(Permission p) { return true; } in implies()
|
D | UnresolvedPermission.java | 43 public final class UnresolvedPermission extends Permission 52 public boolean implies(Permission p) { return false; } in implies()
|
/libcore/ojluni/src/main/java/java/net/ |
D | SocketPermission.java | 28 import java.security.Permission; 37 public final class SocketPermission extends Permission 43 public boolean implies(Permission p) { return true; } in implies()
|
D | HttpURLConnection.java | 30 import java.security.Permission; 796 public Permission getPermission() throws IOException { in getPermission() 800 Permission permission = new SocketPermission(host, "connect"); in getPermission()
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
D | PrivateCredentialPermission.java | 29 import java.security.Permission; 37 public final class PrivateCredentialPermission extends Permission { 48 public boolean implies(Permission p) { return true; } in implies()
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
D | FtpDirEntry.java | 47 public enum Permission { enum in FtpDirEntry 52 Permission(int v) { in Permission() method in FtpDirEntry.Permission 217 public boolean canRead(Permission p) { in canRead() 230 public boolean canWrite(Permission p) { in canWrite() 243 public boolean canExexcute(Permission p) { in canExexcute()
|
/libcore/ojluni/src/main/java/java/io/ |
D | FilePermission.java | 36 public final class FilePermission extends Permission implements Serializable { 40 public boolean implies(Permission p) { return true; } in implies()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | CryptoPermissions.java | 51 public void add(Permission permission) { } in add() 53 public boolean implies(Permission permission) { return true; } in implies()
|
D | CryptoPermission.java | 36 class CryptoPermission extends java.security.Permission { 60 public boolean implies(Permission p) { return true; } in implies()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | JarFileFactory.java | 34 import java.security.Permission; 126 Permission perm = getPermission(result); in getCachedJarFile() 152 private Permission getPermission(JarFile jarFile) { in getPermission()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | AccessControllerTest.java | 22 import java.security.Permission; 37 final Permission permission = new RuntimePermission("do stuff"); in testDoPrivilegedWithCombiner()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | IdentityScopeTest.java | 26 import java.security.Permission; 44 public void checkPermission(Permission permission){ in checkPermission()
|
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
D | SerializationTest.java | 37 import java.security.Permission; 242 Collection<Permission> refCollection = new HashSet<Permission>( 244 Collection<Permission> tstCollection = new HashSet<Permission>(
|
/libcore/ojluni/src/main/java/java/lang/ |
D | SecurityManager.java | 125 public void checkPermission(Permission perm) { in checkPermission() 129 public void checkPermission(Permission perm, Object context) { in checkPermission()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
D | FileURLConnection.java | 38 import java.security.Permission; 216 Permission permission; 221 public Permission getPermission() throws IOException { in getPermission()
|