SAP Knowledge Base Article - Preview

3729147 - How to override bean definition of Spring when using SAP Commerce Cloud

Symptom

The custom logic doesn't work when overriding some Spring shipped beans during their customization when using SAP Commerce Cloud.

Like: ResourceOwnerPasswordTokenGranter custom logic is not being invoked after successful authentication, despite being defined in the Spring XML configuration.


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud all versions

Keywords

spring.main.allow-bean-definition-overriding;Spring Boot;Custom logic , KBA , CEC-SCC-COM-BC-OCC , Commerce Web Services - OCC , 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.