When an user is prompted to change the password, the user will be instructed to choose a password that matches your password policy. See the screenshots below. This updated version uses a progress bar instead of showing the requirements directly on the page. This should give some more protection against shoulder surfing.
Please note that this code snippet will only customize the look-and-feel of the APM portal. It will *not* enforce a password security policy. The password policy should be enforced on the backend authentication server (active directory).
Screenshot 1 - A password requirement progress bar is shown.
Screenshot 2 - While typing the progress bar will grow towards 100% if the required character types are being used.
Screenshot 3 - If you wonder why your new password doesn't meet the requirements, you can move your mouse over the progress bar to find out why.
Screenshot 4 - When you meet the requirements, you must retype the password for validation. The progress bar will become green when both passwords match. Move your mouse over the progress bar to get more info.
Screenshot 5 - All set, let's change the password.
How to use this snippet:
Use the F5 APM Advanced Customization Editor and reference this script from Common > footer.inc