Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9080

Re: UI5 application invoking multiple odata services

$
0
0

Hi Vicenzo, Now I'm at the same point

I've been able to reproduce your scenario. If you force to log on first on your app then you could consume your hanaxs service without logon again.

 

The best way to force logon in your app would be:

 

SAP HANA Cloud Platform

 

<login-config>

  <auth-method>FORM</auth-method>

</login-config>

<security-constraint>

  <web-resource-collection>

  <web-resource-name>Protected Area</web-resource-name>

  <url-pattern>*</url-pattern>

  </web-resource-collection>

  <auth-constraint>

  <!-- Role Everyone will not be assignable -->

  <role-name>Everyone</role-name>

  </auth-constraint>

</security-constraint>

<security-role>

  <description>All SAP HANA Cloud Platform users</description>

  <role-name>Everyone</role-name>

</security-role>

 

I have a problem consuming hanaxs service throught JS because Hana server makes a redirection first. I'm trying to avoid that.

 

Kind regards


Viewing all articles
Browse latest Browse all 9080

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>