Skip to Content
avatar image
Former Member

Authentication Keys

Hi expert,

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

thanks for all.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 17, 2007 at 05:46 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 15, 2008 at 11:22 AM

    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

    Add comment
    10|10000 characters needed characters exceeded