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

Re: SAP PI 7.4 REST Adapter Authentication

$
0
0

Hi Larry

 

AFAIK, there is no standard feature in the REST adapter to generate such a signature.

 

I think you'd need to generate the signature using some Java logic. Some API providers provide sample logic to access their services, like the example for Amazon below. You can probably check with the provider if they have something similar.

Java Sample Code for Calculating HMAC-SHA1 Signatures - Amazon Simple Queue Service

 

You can use third party libraries to do so, for example the open source library from Apache below. I haven't tried it myself, but you should be able to search for examples online.

https://commons.apache.org/proper/commons-codec/apidocs/org/apache/commons/codec/digest/HmacUtils.html

 

Rgds

Eng Swee


Viewing all articles
Browse latest Browse all 2161

Trending Articles



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