SAP Knowledge Base Article - Public

2167561 - Changes to rule for Password policy not reflected in password setup instructions

Symptom

An admin has made changes to a rule value in the password policy configuration file.

The new value works, however you do not see the actual value change within the Rules instructions.

Environment

SAP SuccessFactors Learning - All Supported Versions

Reproducing the Issue

  1. For example navigate to System Admin -> Configuration -> System Configuration -> PASSWORD_POLICY
  2. Update rules.PasswordLengthRule.minPasswordLength=1 and Applied Changes

    passwordpolicyMinLength.JPG


  3. After that change is made, you go to System Admin -> Configuration -> User Passwords and you still see the default message:
           The length of the password must be between 8 and 40 characters

    password policy.JPG

Cause

What controls the message itself is the Label and how that is set up.

The label can be hardcoded or you can take in values set in the Password Policy configuration. Using the same example above, if you have set rules.PasswordLengthRule.minPasswordLength=1 and see that the message still says The length of the password must be between 8 and 40 characters. 

This indicates that the label displaying this message is hardcoded.

Resolution

Keeping with the same example, the label controlling the message needs to be changed by doing the following:

  1. In the LMS Admin view, Open References -> Geography -> Labels
  2. In the Labels search wizard, search for Label ID instruction.passwordvalidation.PasswordLengthRuleHint and click Edit

    Step2.JPG
  1. Under the Locales Tab, Scroll down to the relevant language. In this case we will use English. You will see the hardcoded Label value The length of the password must be between 7 and 40 characters.

    Step3.JPG
  1. Change the label value to The length of the password must be between {0} and {1} characters. This will pass through the values to what is set in the Password policy for the min and max length.
  2. Apply the changes.

When the above steps are done, you should see the changes in the PASSWORD_POLICY file reflected in the password instructions. The same applies to other Rule changes and associated labels.

Keywords

password policy, update password, password, PASSWORD_POLICY, instruction.passwordvalidation.PasswordLengthRuleHint, rules.PasswordLengthRule.minPasswordLength , KBA , lmsadminui , LOD-SF-LMS-ADM , System Admin, Global Variables, References , How To

Product

SAP SuccessFactors Learning all versions

Attachments

passwordpolicyMinLength.JPG
password policy.JPG