cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Credential to SOAP Authorization header

Former Member
0 Kudos

Hello Experts

I have a requirement, in which I need to send credentials as a base64-encoded string in the Authorization header.

"As described in RFC 2617, the client must send a userid and password, separated by a single colon (u201C:u201D) character, within a base64-encoded string in the Authorization header.

So for example, if the username is 4416B990, the ID is F000193330072, the type is u201CMu201D and the password is u201CABCD1234u201D, then the string that must be base64-encoded will be:

4416B990-F000193330072-M:ABCD1234

Could you please shed some light on the configuration to satisfy the above requirement?

Thanks in Advance.

Regards

Sathish

Accepted Solutions (0)

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Another way of achieving this is using java mapping. But XSLT mapping is simpler in this case.

Former Member
0 Kudos

You can achieve this issue with XSLT mapping.

You can follow this "How To":

http://simonlesflex.wordpress.com/2011/01/26/sap-pi-customize-message-with-xslt-mapping/