Class AgentPolicy

  • All Implemented Interfaces:
    IPolicy, IEnrollmentPolicy, IPolicyRule

    public class AgentPolicy
    extends APolicyRule
    implements IEnrollmentPolicy
    AgentPolicy is an enrollment policy wraps another policy module. Requests are sent first to the contained module, but if the policy indicates that the request should be deferred, a check for agent approvals is done. If any are found, the request is approved.

     NOTE:  The Policy Framework has been replaced by the Profile Framework.
     

    Version:
    $Revision$, $Date$
    • Constructor Detail

      • AgentPolicy

        public AgentPolicy()
    • Method Detail

      • init

        public void init​(IPolicyProcessor owner,
                         IConfigStore config)
                  throws EPolicyException
        Initializes this policy rule.

        The entries may be of the form: ra.Policy.rule..implName=AgentPolicy ra.Policy.rule..enable=true ra.Policy.rule..predicate= ou == engineering AND o == netscape.com ra.Policy.rule..class=xxxx ra.Policy.rule..params.*

        Specified by:
        init in interface IPolicyRule
        Specified by:
        init in class APolicyRule
        Parameters:
        config - The config store reference
        Throws:
        EPolicyException
      • getInstanceParams

        public java.util.Vector<java.lang.String> getInstanceParams()
        Return configured parameters for a policy rule instance.
        Specified by:
        getInstanceParams in interface IPolicyRule
        Specified by:
        getInstanceParams in class APolicyRule
        Returns:
        nvPairs A Vector of name/value pairs.
      • getDefaultParams

        public java.util.Vector<java.lang.String> getDefaultParams()
        Return default parameters for a policy implementation.
        Specified by:
        getDefaultParams in interface IPolicyRule
        Specified by:
        getDefaultParams in class APolicyRule
        Returns:
        nvPairs A Vector of name/value pairs.