FileDocCategorySizeDatePackage
PolicyWrapper.javaAPI DocGlassfish v2 API3457Tue Aug 14 14:23:16 BST 2007com.sun.enterprise.security.provider

PolicyWrapper

public class PolicyWrapper extends BasePolicyWrapper
This class is a wrapper around the default jdk policy file implementation. PolicyWrapper is installed as the JRE policy object It multiplexes policy decisions to the context specific instance of com.sun.enterprise.security.provider.PolicyFile. Although this Policy provider is implemented using another Policy class, this class is not a "delegating Policy provider" as defined by JACC, and as such it SHOULD not be configured using the JACC system property javax.security.jacc.policy.provider.
author
Harpreet Singh (harpreet.singh@sun.com)
author
Jean-Francois Arcand
author
Ron Monzillo

Fields Summary
private Policy
policy
Constructors Summary
public PolicyWrapper()
Creates a new instance of PolicyWrapper

   
           
      
        // the jdk policy file implementation
        policy = getNewPolicy();
	// recompute the refreshTime that was computed by the superclass
	defaultContextChanged();
    
Methods Summary
protected java.security.PolicygetNewPolicy()

	return new com.sun.enterprise.security.provider.PolicyFile();