Plug the custom validation classes you create into the master index application by specifying the name of the custom plug-in for the class in validation.xml, as shown below.
<ValidationConfig module-name="Validation"
parser-class= "com.sun.mdm.index.configurator.impl.validation.ValidationConfiguration"
<rules>
<rule name="validate-auxiliary-id" object-name="PersonObject"
class="com.sun.mdm.index.user.AuxiliaryId"/>
<rule name="validate-birth-date" object-name="PersonObject"
class="com.sun.mdm.index.user.BirthDate"/>
</rules>
</ValidationConfig>
|