cancel
Showing results for 
Search instead for 
Did you mean: 

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

PavanKumar
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Andrzej_Filusz
Contributor
0 Kudos

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

PavanKumar
Active Contributor
0 Kudos

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