Basic Customization > User Interface Customization > Presenting Information in the UI > URL Authorization > Registering Validators
  
Registering Validators
Configuration Files
The runtime location for the configuration files are in WT_HOME/codebase/config/urlValidators and they should follow the naming convention of *-validators.xml. The .dtd that is applied is urlValidators.dtd and it is available in the same location, as well as custom-validators.xml, which should be used for custom validators.
Structuring Validator Files
The validator files should be structured as indicated below:
<urlvalidators>
<urlvalidator url=”/tcomp/infoPage”
requestor =”wt.doc.WTDocument”
class =”com.ptc.DocInfoPageValidator”/>
<urlvalidator url=”/tcomp/infoPage”
requestor =”wt.part.WTPart”
class =”com.ptc.PartInfoPageValidator”/>
<urlvalidator url=”/comp/mycomponent”
uicomponent= “HOME_UTILITIES” />
<urlvalidator url=”/myfolder/myPage”
class =”com.ptc.MyPageValidator”/>
</urlvalidators>