Create a secret answer rule

Secret answer rules are applied during user authentication, whenever a password is changed or reset. Secret answer rules can be used to validate user answers against secret questions that are defined for the organization. Secret answer rules can also be used to validate and control the number of incorrect answers allowed to secret questions.

About this task

To create a secret answer rule, perform the following steps:

Procedure

  1. Open the Applications Manager and select Password Policy Management > Password Rule Definition. The Password Rule Definition List window is displayed.
  2. In the list window, click the Create New icon. The Rule Definition Details window is displayed.
  3. Specify the following:

    Field

    Description

    Rule Name

    Specify a name that is indicative, for the new rule. There is no restriction as to the length, case and type.

    Rule Description

    Provide a description for the rule.

    Class Name

    Secret answer rules must implement the IPasswordPolicyForSecretAnswers interface.

    Each rule definition has its own class for implementation. Specify the class to be used for validating the parameters provided in the policy configuration. This class must implement the interface associated with the specified rule type.

    For example,

    com.yantra.ycp.passwordpolicy.defaultimpl.secretanswer.
    YCPSecretAnswerIPValidator

    Rule Type

    Select Password Secret Answer from the drop-down list. The interface associated with this rule is specified in Class Name.


  4. After you define a rule, you must define the rule parameters. Click the Create New icon in the Rule Parameters panel. A pop-up window is displayed.
  5. Specify the following:

    Field

    Description

    Name

    Specify a parameter name that is indicative. The parameter name must be unique as this value is used in the class that validates the rule.

    Description

    Provide a description of the parameter.

    Data Type

    Specify the data type (number, string, long etc) of the parameter.


  6. Click OK to close the pop-up window.
  7. Repeat steps 5-6 to add more rule parameters, as applicable.
  8. Click the Save icon in the Rule Definition Details panel to save the rule configuration details.
  9. Proceed with configuring the policy parameters.