WebNMS Developer Forums
Click on Join Now to Sign Up
Web NMS provides new interface ValidateCredentials to perform custom validation (like validating against password history, password format etc.,) of the Password field at server side. ValidateCredentials is an interface to do a custom validation over the password field. The interface is defined with the single method validate().The implementing class can do custom validation like to ensure the password is the combination of uppercase, lowercase and special characters etc. It needs to return false/true based on unsuccessful and successful validation and can show error dialog to the User at error condition.
The implementation class need to be configured at client configuration file <NMS_HOME>/conf/clientparameters.conf file to the attribute 'Validator' like,
<PARAMETERS DEFAULT_FONT="Dialog,0,11" INIT_PANEL="Events"
SHOW_LEDPANEL="false" LOGO_ICON="../images/logoPane.png"
TreeViewWidth="225"
Validator="MyPasswordValidator"
</CLIENT_PARAMETERS_CONF>