Assignment rules are applied when a password policy is assigned to a user or an enterprise.
To create an assignment rule, perform the following steps:
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 |
Assignment rules must implement the IPasswordPolicyForAssignment 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.policyassign.YCPPolicy |
Rule Type |
Select Assignment from the drop-down list. The interface associated with this rule is specified in Class Name. |
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 for the parameter. |
Data Type |
Specify the data type (number, string, long etc) of the parameter. |