cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication Keys

Former Member
0 Kudos

Hi expert,

somebody know how i can put Authentication Keys in receiver soap adapter?

thanks for all.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Antonio,

If you are talking about the Configure user Authenticaiton in receiver soap adapter then you will get this from the webservice team or to where you are going to publish.

If you are talking about Configure Certificate Authenticaiton then you will get this from your basis team. Your webservice provider will give the certificate where you will deploy in SAP J2EE Keystorage. Once when you deploy you will see all of them in your Keystore Entry check box. Or click F4 to view all the certificates.

I hope this is what you are looking for?

---Satish

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

- in Configuration Repository goto the Communication Channel, tab Parameters, tab Advanced.

- check Use Adapter-specific message attributes and variable transport binding

- check View authorization keys and enter key value pairs, where key means username

- you can set this authorization data as Adapter-Specific Message Attributes in the Message Header via a UDF in message mapping


String tAuthKey = "YOURKEY";
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey confKey1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","TAuthKey");
conf.put(confKey1, tAuthKey);
return "";

in our scenario we need to change the auth keys according to a dynamically changing TServerLocation. There is a possibility to enter about 10 auth keys which can be used, but we need more than 10.

Thanks, regards, Martin