Skip to Content

Ws-security & User Name TokenModule parameters for Soap(Axis) Sender adapter

Hi,

I am having a requirement in which need to enable Ws-security and to pass user name token in header of the request as it is not available in standard SOAP adapter.

planning to implement through Axis protocol

By default Security profile option is not available in Axis adapter to enable ws-security i read some blogs and notes of FAQs and understand it can be achievable through module parameters to enable ws-security

Please suggest the Module parameters for axis adapter to implement ws-security and to pass user name token in the request.

Regards

Pavan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 27, 2017 at 12:23 PM

    Hi Pavan,

    AF_Adapters/axis/HandlerBean - Local Enterprise Bean - wssec

    Module Key - Parameter Name - Parameter Value

    wssec - action - UsernameToken

    wssec - addUTElements - Nonce Created

    wssec - handler.type - java:com.sap.aii.adapter.axis.ra.handlers.security.WSDoAllSender

    wssec - passwordType - PasswordDigest

    wssec - pwd.password - ***

    wssec - user - your user name

    Check AXIS FAQ note 1039369 please :-)

    Regards,

    Andrzej

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Andrzej Filusz,

      Thanks for your response, I have read the note in which in point number 8 of advance usage questions mentioned about

      either i can enable decrypt/validate at sender request and in response i can enable encrypt/sign.

      Please confirm whether if can i include multiple security handlers to do decrypt and validate at request and to do sign,encrypt in response will it work

      My requirement is we will receive request from client in sign& encrypt format in which i should have to decrypt and validate at sender end and in response required to provide in sign,encrypt format.

      Please suggest

      Regards

      Pavan