Skip to Content
Sep 16, 2020 at 05:06 PM

SMP Hybrid application authentication not working under Linux



The frontend is Cordova wrapped SAPUI5 application, its authentication is using Kapsel Logon Plugin.

New Hybrid Application is defined for the above application under SMP Server for Windows, and its authentication works well. Below are some highlight settings:

- Backend url is pointing to SAP Gateway, with SSO2 mechanism

~ Rewrite Mode: No Rewriting

- Authentication Profile is configured as HTTP/HTTPS -> its url is pointing to SAP NetWeaver Portal

~ Client's HTTP Values to Send: Authorization

~ Send Client HTTP Values as: header:Authorization

~ SSO Cookie Name: MYSAPSSO2

However, after applying the same configurations to SMP Server for Linux it is failing at Logon (Registration Error: please check your connection data). Below is the excerpt from SMP Server log:

2020 09 15 found and assignable |
2020 09 15 |
2020 09 15 object is an httpservletrequest |
2020 09 15 is a ContextRetrieverPrincipal |
2020 09 15 check access |
2020 09 15,subject.getName()=smpadm |
2020 09 15 |

Is there anything missed from SMP Server for Linux? Is there anything about Role Mapping to be done (the Security Profile is using the default "Impersonator")?

Any inputs and comments are appreciated.


Jinlin Wang