Searched defs:policy (Results 1 - 13 of 13) sorted by relevance

/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/utility/
H A DNumericConverterFactory.java66 * This method returns an instance of NumericConverter for a given policy.
67 * @param policy for determining mechanism for conversion from
69 * @return NumericConverter corresponds to a policy
71 public static NumericConverter getNumericConverter(int policy) { argument
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/spi/container/
H A DSFSBContainerInitialization.java63 public void setCheckpointPolicy(CheckpointPolicy policy); argument
/glassfish-3.1.2/security/appclient.security/src/main/java/com/sun/enterprise/security/appclient/
H A DConfigXMLParser.java193 "\n request policy: " + requestPolicy +
194 "\n response policy: " + responsePolicy +
221 private MessagePolicy parsePolicy(Object policy) { argument
223 if (policy == null) {
229 if (policy instanceof RequestPolicy) {
230 RequestPolicy clientRequestPolicy = (RequestPolicy)policy;
233 } else if (policy instanceof ResponsePolicy) {
234 ResponsePolicy clientResponsePolicy = (ResponsePolicy)policy;
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/jmac/config/
H A DConfigDomainParser.java228 "\n request policy: " + requestPolicy +
229 "\n response policy: " + responsePolicy +
254 private MessagePolicy parsePolicy(RequestPolicy policy) { argument
256 if (policy == null) {
260 String authSource = policy.getAuthSource();
261 String authRecipient = policy.getAuthRecipient();
265 private MessagePolicy parsePolicy(ResponsePolicy policy) { argument
267 if (policy == null) {
271 String authSource = policy.getAuthSource();
272 String authRecipient = policy
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/
H A DPermissionCache.java73 private static Policy policy = Policy.getPolicy(); field in class:PermissionCache
93 * @param pcID - a string identifying the policy context and which must
95 * null, in which case the permisions of the default policy context
140 * @param pcID - a string identifying the policy context and which must
142 * null, in which case the permisions of the default policy context
273 pc = policy.getPermissions(this.codesource);
/glassfish-3.1.2/security/ejb.security/src/main/java/com/sun/enterprise/iiop/security/
H A DSecurityContextUtil.java88 private Policy policy; field in class:SecurityContextUtil
101 policy = Policy.getPolicy();
190 // as required by the object's CSIv2 policy.
192 // conform to security policy.
260 // Check if policy gives principal the permissions
261 boolean result = policy.implies(prdm, perm);
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/provider/
H A DBasePolicyWrapper.java69 * This class is a wrapper around the default jdk policy file
70 * implementation. BasePolicyWrapper is installed as the JRE policy object
71 * It multiples policy decisions to the context specific instance of
76 * javax.security.jacc.policy.provider.
88 // this is the jdk policy file instance
89 private java.security.Policy policy = null; field in class:BasePolicyWrapper
107 * or set to false, this class will detect or avoid reentrancy in policy
149 // the jdk policy file implementation
150 policy = getNewPolicy();
164 * Evaluates the global policy an
[all...]
H A DPolicyConfigurationImpl.java100 private static String policySuffix = ".policy";
102 private static String PROVIDER_URL = "policy.url.";
124 private Policy policy = null; field in class:PolicyConfigurationImpl
127 // policy file mod times
146 * @param remove, then remove any existing policy statements
171 * This method returns this object's policy context identifier.
172 * @return this object's policy context identifier.
209 * if the state of the policy context whose interface is this
256 * if the state of the policy context whose interface is this
282 * Used to add unchecked policy statement
[all...]
H A DPolicyParser.java58 * The policy for a Java runtime (specifying
66 * represent the static policy configuration file. It is consulted by
70 * <p>The Policy <code>init</code> method parses the policy
73 * it is not involved in making policy decisions. It is merely the
74 * Java runtime representation of the persistent policy configuration
82 * policy = Policy.getPolicy();
83 * Permissions perms = policy.getPermissions(protectiondomain)
89 * The Policy object evaluates the global policy in light of who the
109 // package-private: used by PolicyFile for static policy
157 * Reads a policy configuratio
169 read(Reader policy) argument
326 write(Writer policy) argument
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/org/glassfish/ejb/security/application/
H A DEJBSecurityManager.java150 private final Policy policy; field in class:EJBSecurityManager
169 // get the default policy
170 policy = Policy.getPolicy();
245 // only load the policy configuration if it isn't already in service.
249 // is called. Note that policy statements are not
254 // translate the deployment descriptor to configure the policy rules.
260 _logger.fine("JACC: policy translated for policy context:" +contextId);
334 * and adds them to the policy configuration object
340 * @param pcid, the policy contex
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/web/integration/
H A DWebSecurityManager.java117 // The JACC policy provider.
118 protected Policy policy = Policy.getPolicy(); field in class:WebSecurityManager
139 // to determine if the effective policy is grant all
196 // used to get the policy context id. Also used by the RealmAdapter
297 // only regenerate policy file if it isn't already in service
302 // the WebSecurityManager. Note that policy statements are not
371 // component will not call into any other policy contexts.
415 return policy.implies(prdm, perm);
525 * request satisfy the applicable policy.
600 policy
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DStatefulSessionContainer.java2844 public void setCheckpointPolicy(CheckpointPolicy policy) { argument
2845 this.checkpointPolicy = policy;
/glassfish-3.1.2/installer/src/cpp/share/launcher/
H A Djava_md.unix.c438 int policy; local
557 if (pthread_getschedparam(tid, &policy, &priority) || (priority.sched_priority = sched_get_priority_max(policy)) == -1)
559 if (pthread_setschedparam(tid, policy, &priority))

Completed in 87 milliseconds