/openjdk7/jdk/test/java/security/Policy/GetInstance/ |
H A D | GetInstanceSecurity.java | 27 * @summary Can not explicitly create a java.security.Policy object from a file 39 Policy p = Policy.getInstance(JAVA_POLICY, null); 46 Policy p = Policy.getInstance(JAVA_POLICY, null, "SUN"); 53 Policy p = Policy.getInstance(JAVA_POLICY, null,
|
H A D | GetInstance.java | 28 * @summary Can not explicitly create a java.security.Policy object from a file 43 private static class BadParam implements Policy.Parameters { } 63 Policy p = Policy.getInstance(JAVA_POLICY, null); 65 Policy.setPolicy(p); 70 p = Policy.getInstance("FooPolicy", null); 82 Policy p = Policy.getInstance(JAVA_POLICY, null, "SUN"); 84 Policy.setPolicy(p); 89 p = Policy [all...] |
H A D | GetInstancePolicySpi.java | 31 private Policy p; 33 public GetInstancePolicySpi(final Policy.Parameters params) { 35 (new PrivilegedAction<Policy>() { 36 public Policy run() {
|
/openjdk7/corba/src/share/classes/org/omg/PortableServer/ |
H A D | corba.idl | 35 // basic Policy definition 38 /** The Policy interface provides a mechanism for ORBs and Object 41 * using interfaces derived from the org.omg.CORBA.Policy interface. 43 interface Policy { 60 Policy copy( ); 68 typedef sequence <Policy> PolicyList;
|
/openjdk7/jdk/test/java/security/Policy/Root/ |
H A D | Root.java | 27 * @summary User Policy Setting is not recognized on Netscape 6 40 Policy p = Policy.getPolicy();
|
/openjdk7/corba/src/share/classes/org/omg/CORBA/ |
H A D | DomainManagerOperations.java | 48 public org.omg.CORBA.Policy get_domain_policy(int policy_type);
|
H A D | Policy.java | 29 * Interfaces derived from the <tt>Policy</tt> interface allow an 32 * manner using interfaces derived from the <tt>Policy</tt> 36 * this technique for associating Security Policy with objects 39 * org/omg/CORBA/Policy.java 45 public interface Policy extends PolicyOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity interface in inherits:PolicyOperations,org.omg.CORBA.Object,org.omg.CORBA.portable.IDLEntity 47 } // interface Policy
|
H A D | PolicyOperations.java | 29 * The interface for <tt>Policy</tt>. For more information on 40 * Provides the operations for a <code>Policy</code> object. 60 * Returns a copy of the <code>Policy</code> object. The copy does not retain 63 * @return a copy of the <code>Policy</code> object 65 org.omg.CORBA.Policy copy (); 68 * Destroys the <code>Policy</code> object. It is the responsibility of 69 * the <code>Policy</code> object to determine whether it can be destroyed.
|
H A D | PolicyHelper.java | 29 * The Helper for <tt>Policy</tt>. For more information on 40 private static String _id = "IDL:omg.org/CORBA/Policy:1.0"; 42 public static void insert (org.omg.CORBA.Any a, org.omg.CORBA.Policy that) 50 public static org.omg.CORBA.Policy extract (org.omg.CORBA.Any a) 60 __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.omg.CORBA.PolicyHelper.id (), "Policy"); 70 public static org.omg.CORBA.Policy read (org.omg.CORBA.portable.InputStream istream) 75 public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.Policy value) 80 public static org.omg.CORBA.Policy narrow (org.omg.CORBA.Object obj) 84 else if (obj instanceof org.omg.CORBA.Policy) 85 return (org.omg.CORBA.Policy)ob [all...] |
H A D | PolicyListHelper.java | 42 public static void insert (org.omg.CORBA.Any a, org.omg.CORBA.Policy[] that) 50 public static org.omg.CORBA.Policy[] extract (org.omg.CORBA.Any a) 72 public static org.omg.CORBA.Policy[] read (org.omg.CORBA.portable.InputStream istream) 74 org.omg.CORBA.Policy value[] = null; 76 value = new org.omg.CORBA.Policy[_len0]; 82 public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.CORBA.Policy[] value)
|
/openjdk7/jdk/test/java/lang/ProcessBuilder/ |
H A D | SecurityManagerClinit.java | 38 private static class Policy extends java.security.Policy { class in class:SecurityManagerClinit 41 public Policy(Permission... permissions) { method in class:SecurityManagerClinit.Policy 60 final Policy policy = 61 new Policy 64 Policy.setPolicy(policy);
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | PolicySpi.java | 31 * for the <code>Policy</code> class. 33 * service provider who wishes to supply a Policy implementation. 36 * a public constructor that takes a <code>Policy.Parameters</code> 39 * <code>Policy.Parameters</code> input. 76 * Policy.UNSUPPORTED_EMPTY_COLLECTION object. This method can be 88 * Policy.UNSUPPORTED_EMPTY_COLLECTION is returned. 92 return Policy.UNSUPPORTED_EMPTY_COLLECTION; 100 * Policy.UNSUPPORTED_EMPTY_COLLECTION object. This method can be 112 * Policy.UNSUPPORTED_EMPTY_COLLECTION is returned. 116 return Policy [all...] |
H A D | Policy.java | 47 * A Policy object is responsible for determining whether code executing 51 * <p> There is only one Policy object installed in the runtime at any 52 * given time. A Policy object can be installed by calling the 53 * <code>setPolicy</code> method. The installed Policy object can be 56 * <p> If no Policy object has been installed in the runtime, a call to 57 * <code>getPolicy</code> installs an instance of the default Policy 59 * The default Policy implementation can be changed by setting the value 61 * file) to the fully qualified name of the desired Policy subclass 67 * <p> Application code can directly subclass Policy to provide a custom 68 * implementation. In addition, an instance of a Policy objec 98 public abstract class Policy { class [all...] |
/openjdk7/jdk/test/sun/security/provider/PolicyParser/ |
H A D | AvoidPropertyExpansionExceptions.java | 38 Policy p = Policy.getPolicy();
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/extension/ |
H A D | CopyObjectPolicy.java | 28 import org.omg.CORBA.Policy ; 32 /** Policy used to specify the copyObject implementation to use. 34 public class CopyObjectPolicy extends LocalObject implements Policy 53 public org.omg.CORBA.Policy copy ()
|
H A D | ZeroPortPolicy.java | 28 import org.omg.CORBA.Policy ; 32 /** Policy used to implement zero IIOP port policy in the POA. 34 public class ZeroPortPolicy extends LocalObject implements Policy 65 public org.omg.CORBA.Policy copy ()
|
H A D | RequestPartitioningPolicy.java | 28 import org.omg.CORBA.Policy ; 36 /** Policy used to support the request partitioning feature and to 39 public class RequestPartitioningPolicy extends LocalObject implements Policy 70 public org.omg.CORBA.Policy copy()
|
/openjdk7/jdk/src/share/classes/javax/security/auth/ |
H A D | Policy.java | 35 * access control <code>Policy</code>. 37 * <p> A <code>Policy</code> object can be queried for the set of 42 * policy = Policy.getPolicy(); 47 * The <code>Policy</code> object consults the local policy and returns 53 * <p> A <code>Policy</code> contains the following information. 55 * <code>Policy</code> implementation. Subclass implementations of this class 57 * <code>Policy</code> from any source such as files, databases, 60 * <p> Each entry in the <code>Policy</code> is represented as 96 * Note that this <code>Policy</code> (and the Permissions 97 * granted in this <code>Policy</cod 160 public abstract class Policy { class 182 protected Policy() { } method in class:Policy [all...] |
/openjdk7/jdk/test/sun/security/provider/PolicyFile/ |
H A D | nullDomain.java | 42 Policy.getPolicy().getPermissions((ProtectionDomain) null)); 45 if (Policy.getPolicy().implies((ProtectionDomain)null, p))
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/ |
H A D | EffectivePolicyModifier.java | 57 final PolicyMapKey key, final Policy newEffectivePolicy) { 71 final PolicyMapKey key, final Policy newEffectivePolicy) { 86 final PolicyMapKey key, final Policy newEffectivePolicy) { 101 final PolicyMapKey key, final Policy newEffectivePolicy) { 116 final PolicyMapKey key, final Policy newEffectivePolicy) { 131 final PolicyMapKey key, final Policy newEffectivePolicy) {
|
H A D | Policy.java | 47 public class Policy implements Iterable<AssertionSet> { class in inherits:Iterable 76 private static final Policy ANONYMOUS_NULL_POLICY = new Policy(null, null, NULL_POLICY_ASSERTION_SETS, EMPTY_VOCABULARY); 82 private static final Policy ANONYMOUS_EMPTY_POLICY = new Policy(null, null, EMPTY_POLICY_ASSERTION_SETS, EMPTY_VOCABULARY); 85 * Policy ID holder 90 * Policy name holder 115 * policy object name used in a toString() method. This ensures that Policy class children can customize 116 * (via package private Policy constructors) the toString() method without having to override it. 126 public static Policy createNullPolic 288 private Policy(final String name, final String policyId, final List<AssertionSet> assertionSets, final Set<QName> vocabulary) { method in class:Policy 309 Policy(final String toStringName, final Collection<AssertionSet> sets) { method in class:Policy 339 Policy(final String toStringName, final String name, final String policyId, final Collection<AssertionSet> sets) { method in class:Policy 358 private Policy(final NamespaceVersion nsVersion, final String name, final String policyId, final List<AssertionSet> assertionSets, final Set<QName> vocabulary) { method in class:Policy 380 Policy(final NamespaceVersion nsVersion, final String toStringName, final Collection<AssertionSet> sets) { method in class:Policy 411 Policy(final NamespaceVersion nsVersion, final String toStringName, final String name, final String policyId, final Collection<AssertionSet> sets) { method in class:Policy [all...] |
H A D | PolicySubject.java | 44 private final List<Policy> policies = new LinkedList<Policy>(); 55 public PolicySubject(Object subject, Policy policy) throws IllegalArgumentException { 73 public PolicySubject(Object subject, Collection<Policy> policies) throws IllegalArgumentException { 87 * Attaches another Policy instance to the policy subject. 93 public void attach(final Policy policy) { 106 public Policy getEffectivePolicy(final PolicyMerger merger) throws PolicyException { 142 for (Policy policy : policies) {
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/policy/ |
H A D | ModelGenerator.java | 28 import com.sun.xml.internal.ws.policy.Policy; 60 protected PolicySourceModel create(Policy policy) {
|
/openjdk7/jdk/test/java/lang/annotation/ |
H A D | ParameterAnnotations.java | 41 import java.security.Policy; 54 static class MyPolicy extends Policy { 55 final Policy defaultPolicy; 56 MyPolicy(Policy defaultPolicy) { 74 Policy defaultPolicy = Policy.getPolicy(); 75 Policy.setPolicy(new MyPolicy(defaultPolicy)); 81 Policy.setPolicy(defaultPolicy);
|
/openjdk7/jdk/test/java/security/Policy/GetPermissions/ |
H A D | JarURL.java | 36 import java.security.Policy; 46 PermissionCollection perms = Policy.getPolicy().getPermissions(cs);
|