Use Cases for Change Password
This content provides some use cases for APS Change Password.
sm1252sp1
This content provides some use cases for APS Change Password.
URL Based Examples
Example 1: Days Left Warning Message
When the change password URL is appended with the Days Left warning message with number of days left, then it appears on the Change Password screen.
http://<hostname>/APS/ChangePassword?DaysLeft=<number of days>
Example 2: Cancel To
When the change password URL is appended with CancelTo query parameter, the change password screen appears with a Cancel button.
If user wants to skip change password, on clicking Cancel button, user is directed to CancelTo
http://<hostname>/APS/ChangePassword?CancelTo=<URL>
Example 3: Target URL
When the change password URL is appended with Target tag along with its URL, then on successfully changing the password, user is redirected to the Target page.
http://<hostname>/APS/ChangePassword?Target=<URL>
Example 4: GraceLogins
When the change password URL is appended with GraceLogins parameter with number of days, then it appears on the change password screen
http://<hostname>/APS/ChangePassword?GraceLogins=<number of days>
Note:
All the above URL parameters can be used in combinations.Properties File Based Examples
Example 1: Customize strings in Properties file
The SmCPW.properties file is present in Web Agent resource folder. Any customization for change password UI can be reflected by changing the SmCPW.properties file.
For changing the password message, you can edit the following attribute:
SM-APS-35007 = Password Changed screen is customized.
Example 2: Customize URLs in properties file
The SmCPW.properties file is present in Web Agent resource folder. This peroperties in it support URL redirects also. For any property which is of URL form, change password redirects to URL specified in the properties file.
Both relative and fully qualified URLs are supported in properties file for redirects.
SM-APS-35007 = http://<host name>/URI