Class ManualAuthentication


public class ManualAuthentication extends EnrollmentPolicy
ManualAuthentication is an enrollment policy that queues all requests for issuing agent's approval if no authentication is present. The policy rejects a request if any of the auth tokens indicates authentication failure.

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

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

    • ManualAuthentication

      public ManualAuthentication()
  • Method Details

    • init

      public void init(PolicyProcessor owner, ConfigStore config) throws EPolicyException
      Initializes this policy rule.

      The entries may be of the form: ra.Policy.rule..implName=ManualAuthentication ra.Policy.rule..enable=true ra.Policy.rule..predicate= ou == engineering AND o == netscape.com

      Specified by:
      init in class PolicyRule
      Parameters:
      config - The config store reference
      Throws:
      EPolicyException
    • apply

      public PolicyResult apply(Request req)
      Applies the policy on the given Request.

      Specified by:
      apply in class PolicyRule
      Parameters:
      req - The request on which to apply policy.
      Returns:
      The policy result object.
    • getInstanceParams

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

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