SAP Knowledge Base Article - Preview

3753378 - How to Override Login Authentication Failure Handler

Symptom

After upgrading to SAP Commerce Cloud version 2211-jdk21.1, the 'CustomLoginAuthenticationFailureHandler' introduced in the 'authorizationserver' extension sends either the error code 'account_disabled' or 'bad_credentials'. The requirement is to override 'CustomLoginAuthenticationFailureHandler' or create and register a custom handler to modify this logic, enabling the sending of additional error codes and handling the corresponding error messages on the frontend.


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud 2211

Keywords

CustomLoginAuthenticationFailureHandler, SecurityFilterChain , KBA , CEC-SCC-COM-BBA-ACC , Accelerator , How To

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.