cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Dear guys

I am facing an integration challenge with specific/enhanced security requirements.

There should be an async interface to transfer document from internal system to external webservice via SAP PI java only.

  • Sender will be REST
  • receiver also REST (either JSON or XML message as https POST)

For security reasons the receiver expects basic authentication, but the authentication string should be dynamic consisting of :

  • username (fix)
  • public key (dynamic per Call)
  • encrypted password (dynamic as encrypted by dynamic key)

the document should be tranfered directly as base64 string and not be included in JSON or XML structure.

Following two main questions arises:

  1. Is there an possibility to dynamically set basic authentication string in HTTP header? I know it is not possible in SOAP Receiver via ASMA. Maybe there are other ways to set this value dynamically during runtime
  2. Does REST or SOAP in plain mode support direct transmitting of base64 string or is structure mandatory e.g. XML with single field. This should be a minor issue.

Any Idea how to solve part 1 dynamic basic authentication?

Any thoughts or idea appreciated.

Best regards

Jochen

0 Likes
View Entire Topic
manoj_khavatkopp
Active Contributor
0 Likes

Hi Jochen,

1.I don't think this is possible as basic authentication is static in REST channel and there are no Dynamic Configuration variable available for these attributes .

2.When you say direct transmitting you mean without any soap envelope or any structure ? just the main output paylaod should have base64 content.

Br,

Manoj