Edit text for password rule names and descriptions
You can edit and modify password policy rule names. This changes the rule name that appears on the Password policy rules page, and the rule description that appears on the
and pages.Find the tag name of the rule that you want to change:
In the \<instance>\design\ directory, regenerate the skins in debug mode by executing the following commands:
make.bat debug default en-us make.bat install en-us
Click Manage the system > Policies > Password policies .
Select a password policy and click the Password policy tab.
Use the "Inspect element" or an equivalent option in your web browser to see the current HTML source.
"View page source" or an equivalent option cannot be used as it will not show the relevant HTML code and debug comments.
Search for the text you want to modify to find the tag name. The tag name is indicated by
[PWID]=[<tag>]
.The PWID and PWRULE lines only appear in the source code after the skins have been regenerated in debug mode.
For example, if you want to change the name "have at least N characters", then search for those words in the web page HTML source. The search finds this section:
[PROGRAM]=[psa.exe] [PWID]=[MINPASSLENGTH] [PWNAME]=[pnMINPASSLENGTH] [PWRULE]=[have at least N characters]
In this case, the tag name is MINPASSLENGTH.
Search for the tag name found in step 1e in
en-us-errmsg.kvg
, located in the \<instance>\design\src\common directory. The rule names use the following naming convention: STRENGTH_<tag>_RULE.Create a custom en-us-errmsg.kvg file in the \<instance>\design\custom\ directory to overwrite the rule name with your custom text.
Add the following outer KVGroup to your custom en-us-errmsg.kvg file:
# KVGROUP-V1.0 "language" "EN_US" = { }
Add a KVGroup to overwrite the name for the tag found in step 1e. Use the naming convention STRENGTH_<tag>_RULE_USER to override the default en-us-errmsg.kvg file.
For example, add the following KVGroup to the custom en-us-errmsg.kvg file to change the rule name for the example found in step 1e:
"language" "EN_US" = { "STRENGTH_MINPASSLENGTH_RULE_USER" "" = { "text" = "the password must have at least %STRENGTH_MINPASSLENGTH_RULE_INTVAL% characters" } }
Save and close the custom KVGroup file.