Home
last modified time | relevance | path

Searched refs:Permission (Results 1 – 25 of 65) sorted by relevance

123

/libcore/ojluni/src/main/java/java/security/acl/
DAclEntry.java111 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()
DAcl.java203 public Enumeration<Permission> getPermissions(Principal user); in getPermissions()
232 public boolean checkPermission(Principal principal, Permission permission); in checkPermission()
DPermission.java33 public interface Permission { interface
/libcore/ojluni/src/main/java/java/security/
DPermissionCollection.java38 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()
DPermissions.java41 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()
DAccessControlException.java48 private Permission perm;
68 public AccessControlException(String s, Permission p) { in AccessControlException()
79 public Permission getPermission() { in getPermission()
DPermission.java34 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()
DPolicy.java91 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()
DUnresolvedPermissionCollection.java74 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()
DAllPermission.java34 public final class AllPermission extends Permission {
40 public boolean implies(Permission p) { return true; } in implies()
DBasicPermission.java34 public abstract class BasicPermission extends Permission
42 public boolean implies(Permission p) { return true; } in implies()
DUnresolvedPermission.java43 public final class UnresolvedPermission extends Permission
52 public boolean implies(Permission p) { return false; } in implies()
/libcore/ojluni/src/main/java/java/net/
DSocketPermission.java28 import java.security.Permission;
37 public final class SocketPermission extends Permission
43 public boolean implies(Permission p) { return true; } in implies()
DHttpURLConnection.java30 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/
DPrivateCredentialPermission.java29 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/
DFtpDirEntry.java47 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/
DFilePermission.java36 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/
DCryptoPermissions.java51 public void add(Permission permission) { } in add()
53 public boolean implies(Permission permission) { return true; } in implies()
DCryptoPermission.java36 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/
DJarFileFactory.java34 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/
DAccessControllerTest.java22 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/
DIdentityScopeTest.java26 import java.security.Permission;
44 public void checkPermission(Permission permission){ in checkPermission()
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/
DSerializationTest.java37 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/
DSecurityManager.java125 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/
DFileURLConnection.java38 import java.security.Permission;
216 Permission permission;
221 public Permission getPermission() throws IOException { in getPermission()

123