Skip to Content
0
Oct 08, 2019 at 07:48 AM

Consume OData service using Java Backend and SAML2

150 Views

Hello,

I want to consum, inside a Java Spring Boot Backend, OData web services of a SAP Gateway.

This SAP Gateway was configured to support SSO SAML2. Because we use in fast our whole infrastructure OAuth2 for the authentication, I use Azure AD to get a valid SAML2 token. The authenticate flow we used here is "On_Behalf_Of".

With this SAML2 token (is that an assertion?) I want to consume OData web services from the Java backend Server. How to do that? How I need to send the token? In the Header, in the body? Do I need to use the parameter TARGET to reach the OData web service?

Please I need some hint. I found almost nothing of information about that.

Best regards

Alfredo