Searched refs:implies (Results 1 - 25 of 79) sorted by relevance

1234

/openjdk7/jdk/test/com/sun/security/jgss/
H A DInquireSecContextPermissionCheck.java41 if (!p1.implies(p0) || !p1.implies(p1) || !p0.implies(p0)) {
45 if (p0.implies(p1)) {
/openjdk7/jdk/test/javax/security/auth/PrivateCredentialPermission/
H A DEquals.java38 // test regular equals and implies
45 if (!pcp1.implies(pcp2) || !pcp2.implies(pcp1))
55 if (!pcp1.implies(pcp2) || !pcp2.implies(pcp1))
58 // test equals/implies failure
63 if (!pcp1.implies(pcp2) || pcp2.implies(pcp1))
71 if (!pcp1.implies(pcp2) || pcp2.implies(pcp
[all...]
H A DCanonError.java37 // test regular equals and implies
44 if (!pcp1.implies(pcp2) || !pcp2.implies(pcp1))
47 // test equals/implies failure
52 if (pcp1.implies(pcp3) || pcp3.implies(pcp1))
62 if (pcp_4.implies(pcp__4) || pcp__4.implies(pcp_4))
/openjdk7/jdk/test/sun/security/provider/PolicyFile/
H A DCanonPath.java72 if (!w.implies(u) || !u.implies(w)) {
76 if (w.implies(u) || u.implies(w)) {
90 if (!w.implies(u) || !u.implies(w)) {
94 if (w.implies(u) || u.implies(w)) {
108 if (!w.implies(u) || !u.implies(
[all...]
H A DComparator.java28 * @summary Frivolous ClassCastExceptions thrown by SubjectCodeSource.implies
101 public boolean implies (Subject subject) { method in class:Comparator.PCompare1
116 public boolean implies (Subject subject) { method in class:Comparator.PCompare2
132 public boolean implies (Subject subject) { method in class:Comparator.PCompare3
182 if (policy.implies(pd, FOO)) {
188 if (policy.implies(pd, BAR)) {
194 if (policy.implies(pd, FOOBAR)) {
206 if (!policy.implies(pd, FOO)) {
213 if (policy.implies(pd, BAR)) {
220 if (!policy.implies(p
[all...]
H A DnullDomain.java45 if (Policy.getPolicy().implies((ProtectionDomain)null, p))
46 System.out.println ("implies succeeded");
H A DCombinedPerms.java49 if (pd.implies(new SocketPermission(host, "connect,accept"))) {
/openjdk7/jdk/test/java/lang/RuntimePermission/
H A DExitVM.java57 (" testing implies(new RuntimePermission(\"exitVM.23\"))");
58 if (!newWildcard.implies(other)) {
62 (" testing implies(new RuntimePermission(\"exitVM.*\"))");
63 if (!newWildcard.implies(new RuntimePermission("exitVM.*"))) {
67 (" testing implies(new RuntimePermission(\"exitVM\"))");
68 if (!newWildcard.implies(oldWildcard)) {
73 (" testing implies(new RuntimePermission(\"exitVM.*\"))");
74 if (!oldWildcard.implies(newWildcard)) {
78 (" testing implies(new RuntimePermission(\"exitVM\"))");
79 if (!oldWildcard.implies(ne
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/auth/
H A DPrincipalComparator.java33 * <p> The comparison is achieved via the <code>implies</code> method.
34 * The implementation of the <code>implies</code> method determines
35 * whether this object "implies" the specified <code>Subject</code>.
63 boolean implies(javax.security.auth.Subject subject); method in interface:PrincipalComparator
/openjdk7/jdk/test/java/net/SocketPermission/
H A DB4414825.java27 * @summary SocketPermission.implies seems wrong for unresolveable hosts
35 if (!p.implies(p))
39 if (!p.implies(p1))
/openjdk7/jdk/test/java/security/BasicPermission/
H A DEqualsImplies.java49 if (p1.implies(p2) || p2.implies(p1) || p1.equals(p2)) {
54 if (! (p1.implies(p1) && p1.equals(p1))) {
H A DExitVMEquals.java40 if (!bp1.implies(bp2)) sb.append("bp1 does not implies bp2\n");
41 if (!bp2.implies(bp1)) sb.append("bp2 does not implies bp1\n");
H A DHomogeneity.java66 if (perms.implies(np)) {
H A DPermClass.java63 if (pc.implies(mp)) {
77 if (pc.implies(mp)) {
91 if (pc.implies(mp)) {
113 if (pc.implies(mp)) {
/openjdk7/jdk/test/java/security/Policy/Root/
H A DRoot.java41 if (p.implies(Root.class.getProtectionDomain(), new AllPermission())) {
/openjdk7/jdk/test/java/security/UnresolvedPermission/
H A DDebugPermission0.java30 public boolean implies(java.security.Permission perm) { method in class:DebugPermission0
H A DDebugPermission1.java30 public boolean implies(java.security.Permission perm) { method in class:DebugPermission1
H A DDebugPermission2.java30 public boolean implies(java.security.Permission perm) { method in class:DebugPermission2
H A DDebugPermissionBad.java30 public boolean implies(java.security.Permission perm) { method in class:DebugPermissionBad
/openjdk7/jdk/test/java/security/ProtectionDomain/
H A DNullPerms.java39 if (pd.implies(new SecurityPermission("foo"))) {
40 throw new Exception("implies should return false");
/openjdk7/jdk/src/share/classes/java/security/
H A DAllPermission.java35 * The AllPermission is a permission that implies all other permissions.
38 * as it implies all other permissions. Thus, it grants code the ability
93 public boolean implies(Permission p) { method in class:AllPermission
147 * order, but enable the implies function to evaluate the implies
203 * Check and see if this set of permissions implies the permissions
211 public boolean implies(Permission permission) method in class:AllPermissionCollection
H A DPermissionCollection.java37 * collection, using the <code>implies</code> method.
49 * <code>PermissionCollection.implies</code> method is called.
124 public abstract boolean implies(Permission permission); method in class:PermissionCollection
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCryptoAllPermission.java33 * The CryptoAllPermission is a permission that implies
66 public boolean implies(Permission p) { method in class:CryptoAllPermission
152 * Check and see if this set of permissions implies the permissions
160 public boolean implies(Permission permission) method in class:CryptoAllPermissionCollection
/openjdk7/jdk/test/java/lang/ProcessBuilder/
H A DSecurityManagerClinit.java47 public boolean implies(ProtectionDomain pd, Permission p) { method in class:SecurityManagerClinit.Policy
48 return perms.implies(p);
/openjdk7/jdk/src/share/classes/com/sun/rmi/rmid/
H A DExecPermission.java115 * Checks if this ExecPermission object "implies" the specified permission.
121 * pathname. For example, "/tmp/*" implies "/tmp/foo", since
130 public boolean implies(Permission p) { method in class:ExecPermission
136 return fp.implies(that.fp);
187 * PermissionCollection <code>implies</code> method
221 * order, but enable the implies function to evaluate the implies
264 * Check and see if this set of permissions implies the permissions
272 public boolean implies(Permission permission) method in class:ExecPermission.ExecPermissionCollection
281 if (x.implies(permissio
[all...]

Completed in 1620 milliseconds

1234