Dear Experts,
We are facing an issue while trying to access web services hosted on SMP Integration Gateway. We are having JDBC, Rest and SOAP back-ends in our implementation. All the web-service connections in SMP is tagged as internal connections, whereby no SSO mechanism needs to be configured.
Issue is that we are getting "401 Unauthorized" response from SMP, while trying to access the web services. Client security principles revoke us using "Authorization" header in our requests. For the first connection (where SMP registration is involved), the response comes even without the Authorization header in the request. However, for future access, without the header, 401 error occurs frequently, and when the header is provided, it happens occasionally, but 401 appears for either scenario.
While looking into the response, we found that SMP server is requiring to authenticate the user for further connections. Response header has WWW-Authenticate: Basic realm="XXXXXX" and if we pass the Authorization header, then this does not appear. As per Wiki link, if this response appears from server, client is supposed to authenticate itself to the server. We are using LDAP authentication provider for authenticating users.
Is using the Authorization header mandatory, or what other options do we have to get this resolved.
Thank you in advance for your guidance.