/openjdk7/jdk/src/share/classes/java/security/ |
H A D | DomainCombiner.java | 94 * privileged <code>ProtectionDomain</code>. 96 * with the most recently executing <code>ProtectionDomain</code> 110 ProtectionDomain[] combine(ProtectionDomain[] currentDomains, 111 ProtectionDomain[] assignedDomains);
|
H A D | PolicySpi.java | 48 * 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 D | AccessControlContext.java | 81 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 D | ClassFileTransformer.java | 28 import java.security.ProtectionDomain; 185 ProtectionDomain protectionDomain,
|
/openjdk7/jdk/test/java/security/AccessControlContext/ |
H A D | CheckNullPermission.java | 31 import java.security.ProtectionDomain; 37 ProtectionDomain pd[] = new ProtectionDomain[1];
|
H A D | NullCombinerEquals.java | 62 public ProtectionDomain[] combine(ProtectionDomain[] a, 63 ProtectionDomain[] b) {
|
H A D | CheckCtor.java | 31 import java.security.ProtectionDomain; 48 ProtectionDomain zero[] = {}; 49 ProtectionDomain null1[] = {null}; 50 ProtectionDomain null2[] = {null, null};
|
H A D | FailureDebugOption.java | 32 import java.security.ProtectionDomain;
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | JavaSecurityProtectionDomainAccess.java | 28 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 D | Optimize.java | 38 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 D | Regression.java | 34 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 D | JMXSubjectDomainCombiner.java | 32 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 D | bug6795356.java | 35 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 D | NullPerms.java | 38 ProtectionDomain pd = new ProtectionDomain(cs, null);
|
H A D | CheckWhatYouGet.java | 29 * @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 D | Recursion.java | 50 ProtectionDomain pd = new ProtectionDomain 72 ProtectionDomain pd2 = new ProtectionDomain
|
H A D | RecursionDebug.java | 57 ProtectionDomain pd = new ProtectionDomain 77 ProtectionDomain pd2 = new ProtectionDomain
|
/openjdk7/jdk/test/java/rmi/server/RMIClassLoader/spi/ |
H A D | ContextInsulation.java | 40 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 D | nullDomain.java | 30 * @summary PolicyFile.getPermissions(ProtectionDomain) should return 42 Policy.getPolicy().getPermissions((ProtectionDomain) null)); 45 if (Policy.getPolicy().implies((ProtectionDomain)null, p))
|
H A D | Comparator.java | 181 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 D | CombinedPerms.java | 47 ProtectionDomain pd = new ProtectionDomain(cs, p, null, null);
|
H A D | TokenStore.java | 37 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 D | Alias.java | 58 ProtectionDomain pd = new ProtectionDomain
|
H A D | EmailAddress.java | 77 ProtectionDomain pd = new ProtectionDomain
|
/openjdk7/jdk/src/share/classes/javax/security/auth/ |
H A D | SubjectDomainCombiner.java | 35 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...] |