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

Re: Security

$
0
0

Hi everyone.

 

 

I have searched the same answer but the document doesn't show a solution outside SAP. I read about Proxy Servlet but it isn't work on server application (jboss).

So, I created a class Proxy Servlet to call SAP and hide user and password on backend because the front-end is suicide.

 

 

I created a CRUD following SAP HOW-TO

http://scn.sap.com/community/developer-center/front-end/blog/2012/12/07/building-a-crud-application-with-sapui5-and-icf-restjson-service--part-1

 

 

But that example the authentication applied by SAP, if I install that application another environment I need to authentication on SAP (but How can I do it?).

 

 

So I created a class Proxy Servlet and applied secutity zone on jboss, so if you try access /scnblog2/home, jboss will ask JAAS authentication.

After authentication SAPUI5 is working but need to access SAP.

I changed the call to "/scnblog2/ProxyServlet?url=contact/"

Example: oModel2.loadDataNew("/scnblog2/ProxyServlet?url=contact/", handleSuccess, handleError, oParameters, true, 'POST');

 

 

so, ProxyServer call SAP and return to browser the response.

 

Below my project

https://code.google.com/p/desapui5/downloads/detail?name=scnblog2.zip&can=2&q=#makechanges


Viewing all articles
Browse latest Browse all 9242

Trending Articles



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