SAP Knowledge Base Article - Preview

3695857 - encoderFactory bean null issue in SAP Commerce Cloud version 2211.41 or later

Symptom

  • An issue occurs when implementing the historical password policy feature introduced in SAP Commerce Cloud version 2211.41. The feature aims to prevent users from reusing historical passwords during password changes.
  • The `encoderFactory` bean is null across multiple environments, including local, cloud, and vanilla setups, resulting in a `NullPointerException`. This exception is caught internally, causing the method to always return false, even when the password has been used recently.


Read more...

Environment

  • SAP Commerce Cloud version 2211.41 or later

Product

SAP Commerce Cloud all versions

Keywords

encoderFactory, historical password policy, SAP Commerce Cloud, NullPointerException, password validation, DefaultUserService, DefaultCustomUserService, spring configuration, password change, bean configuration. , KBA , CEC-SCC-PLA-PL , Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.