Quantcast
Channel: SCN : Discussion List - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3131

Consuming XS OData Service with Forms Authentication

$
0
0

Hello

 

I am trying to consume XS OData Services (with forms authentication enabled) in my Java application (hosted in a different HCP trial account)

 

The code available in the Corporate and Benefits application (available in OpenSAP Courses) seems to work only for services configured with basic authentication. After debbugging the code, i can realize that my HTTP Get Request is being redirected to the accounts.sap.com authentication form (normal behaviour taking in consideration that the forms authentication is enabled).

 

How can i perform the authentication in this example?

 

Thanks in advance

Best Regards


Viewing all articles
Browse latest Browse all 3131

Trending Articles