SAP Commerce Cloud provides robust password policies designed to enhance security. These policies accommodate customizable settings, including minimum password length, complexity requirements, history restrictions, and expiration limits.
Specifically, two key components govern the password policies in SAP Commerce Cloud: the PasswordPolicyService and the PasswordPolicy.
As illustrated:
- Each 'PasswordPolicy' instance represents a specific password rule, such as minimum length and required character types.
- On the other hand, 'PasswordPolicyService' is a service-level component that uses 'PasswordPolicy' instances to enforce the rules during user actions, like creating new passwords or changing existing ones. The service checks for password compliance and will throw an exception if the chosen password doesn’t align with the 'PasswordPolicy’ criteria.
The below demo highlights the predefined password policy implementation.