Searched refs:ProtectionDomain (Results 1 - 25 of 77) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/java/security/
H A DDomainCombiner.java94 * privileged <code>ProtectionDomain</code>.
96 * with the most recently executing <code>ProtectionDomain</code>
110 ProtectionDomain[] combine(ProtectionDomain[] currentDomains,
111 ProtectionDomain[] assignedDomains);
H A DPolicySpi.java48 * Check whether the policy has granted a Permission to a ProtectionDomain.
50 * @param domain the ProtectionDomain to check.
58 (ProtectionDomain domain, Permission permission);
97 * permissions granted to the specified ProtectionDomain.
102 * permissions granted to a ProtectionDomain.
104 * @param domain the ProtectionDomain to which the returned
107 * @return a set of permissions granted to the specified ProtectionDomain.
115 (ProtectionDomain domain) {
H A DAccessControlContext.java81 private ProtectionDomain context[];
119 public AccessControlContext(ProtectionDomain context[])
130 List<ProtectionDomain> v = new ArrayList<>(context.length);
136 this.context = new ProtectionDomain[v.size()];
188 AccessControlContext(ProtectionDomain context[], DomainCombiner combiner) {
200 AccessControlContext(ProtectionDomain context[],
211 AccessControlContext(ProtectionDomain[] context,
222 ProtectionDomain[] getContext() {
278 * this object. The request is allowed only if every ProtectionDomain
363 final ProtectionDomain p
[all...]
/openjdk7/jdk/src/share/classes/java/lang/instrument/
H A DClassFileTransformer.java28 import java.security.ProtectionDomain;
185 ProtectionDomain protectionDomain,
/openjdk7/jdk/test/java/security/AccessControlContext/
H A DCheckNullPermission.java31 import java.security.ProtectionDomain;
37 ProtectionDomain pd[] = new ProtectionDomain[1];
H A DNullCombinerEquals.java62 public ProtectionDomain[] combine(ProtectionDomain[] a,
63 ProtectionDomain[] b) {
H A DCheckCtor.java31 import java.security.ProtectionDomain;
48 ProtectionDomain zero[] = {};
49 ProtectionDomain null1[] = {null};
50 ProtectionDomain null2[] = {null, null};
H A DFailureDebugOption.java32 import java.security.ProtectionDomain;
/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaSecurityProtectionDomainAccess.java28 import java.security.ProtectionDomain;
32 void put(ProtectionDomain pd, PermissionCollection pc);
33 PermissionCollection get(ProtectionDomain pd);
/openjdk7/jdk/test/javax/security/auth/SubjectDomainCombiner/
H A DOptimize.java38 ProtectionDomain pd1 = new ProtectionDomain(
41 ProtectionDomain pd2 = new ProtectionDomain(
44 ProtectionDomain pd3 = new ProtectionDomain(
48 ProtectionDomain[] current = new ProtectionDomain[] {pd1, pd2};
49 ProtectionDomain[] assigned = new ProtectionDomain[] {pd
[all...]
H A DRegression.java34 import java.security.ProtectionDomain;
67 ProtectionDomain d1 = new ProtectionDomain
73 ProtectionDomain d2 = new ProtectionDomain
79 ProtectionDomain d3 = new ProtectionDomain
85 ProtectionDomain d4 = new ProtectionDomain
95 ProtectionDomain currentDomain
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/security/
H A DJMXSubjectDomainCombiner.java32 import java.security.ProtectionDomain;
38 * and is used to add a new {@link ProtectionDomain}, comprised of a null
42 * <p>When the {@link #combine} method is called the {@link ProtectionDomain}
52 public ProtectionDomain[] combine(ProtectionDomain[] current,
53 ProtectionDomain[] assigned) {
54 // Add a new ProtectionDomain with the null codesource/signers, and
60 ProtectionDomain[] newCurrent;
62 newCurrent = new ProtectionDomain[1];
65 newCurrent = new ProtectionDomain[curren
[all...]
/openjdk7/jdk/test/javax/swing/UIDefaults/6795356/
H A Dbug6795356.java35 import java.security.ProtectionDomain;
44 volatile static WeakReference<ProtectionDomain> weakRef;
48 ProtectionDomain domain = new ProtectionDomain(null, null);
58 }, new AccessControlContext(new ProtectionDomain[]{domain}));
60 weakRef = new WeakReference<ProtectionDomain>(domain);
/openjdk7/jdk/test/java/security/ProtectionDomain/
H A DNullPerms.java38 ProtectionDomain pd = new ProtectionDomain(cs, null);
H A DCheckWhatYouGet.java29 * @summary RMI regression tests failing due to new behavior in ProtectionDomain
41 ProtectionDomain pd = new ProtectionDomain(codesource, perms);
50 pd = new ProtectionDomain(codesource, perms);
H A DRecursion.java50 ProtectionDomain pd = new ProtectionDomain
72 ProtectionDomain pd2 = new ProtectionDomain
H A DRecursionDebug.java57 ProtectionDomain pd = new ProtectionDomain
77 ProtectionDomain pd2 = new ProtectionDomain
/openjdk7/jdk/test/java/rmi/server/RMIClassLoader/spi/
H A DContextInsulation.java40 import java.security.ProtectionDomain;
64 ProtectionDomain pd = new ProtectionDomain(codesource, perms);
66 new AccessControlContext(new ProtectionDomain[] { pd });
/openjdk7/jdk/test/sun/security/provider/PolicyFile/
H A DnullDomain.java30 * @summary PolicyFile.getPermissions(ProtectionDomain) should return
42 Policy.getPolicy().getPermissions((ProtectionDomain) null));
45 if (Policy.getPolicy().implies((ProtectionDomain)null, p))
H A DComparator.java181 ProtectionDomain pd = new ProtectionDomain(cs, null, null, badP);
205 ProtectionDomain pd = new ProtectionDomain(cs, null, null, p1);
212 pd = new ProtectionDomain(cs, null, null, p1);
219 pd = new ProtectionDomain(cs, null, null, p2);
226 pd = new ProtectionDomain(cs, null, null, p1);
233 pd = new ProtectionDomain(cs, null, null, p2);
247 ProtectionDomain pd = new ProtectionDomain(c
[all...]
H A DCombinedPerms.java47 ProtectionDomain pd = new ProtectionDomain(cs, p, null, null);
H A DTokenStore.java37 import java.security.ProtectionDomain;
65 private static ProtectionDomain NO_STORE_DOMAIN;
66 private static ProtectionDomain URL_DOMAIN;
67 private static ProtectionDomain URL_T_DOMAIN;
68 private static ProtectionDomain URL_T_P_DOMAIN;
157 NO_STORE_DOMAIN = new ProtectionDomain
166 URL_DOMAIN = new ProtectionDomain
174 URL_T_DOMAIN = new ProtectionDomain
182 URL_T_P_DOMAIN = new ProtectionDomain
248 private static void checkPerm(PolicyFile p, ProtectionDomain p
[all...]
H A DAlias.java58 ProtectionDomain pd = new ProtectionDomain
H A DEmailAddress.java77 ProtectionDomain pd = new ProtectionDomain
/openjdk7/jdk/src/share/classes/javax/security/auth/
H A DSubjectDomainCombiner.java35 import java.security.ProtectionDomain;
50 private WeakKeyValueMap<ProtectionDomain, ProtectionDomain> cachedPDs =
115 * <p> A new <code>ProtectionDomain</code> instance is created
116 * for each <code>ProtectionDomain</code> in the
117 * <i>currentDomains</i> array. Each new <code>ProtectionDomain</code>
120 * from the corresponding <code>ProtectionDomain</code> in
138 * privileged <code>ProtectionDomain</code>.
140 * with the most recently executing <code>ProtectionDomain</code>
156 public ProtectionDomain[] combin
[all...]

Completed in 43 milliseconds

1234