Skip to Content

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

Jan 27, 2017 at 10:48 AM


avatar image


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.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Andrzej Filusz 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 -

wssec - passwordType - PasswordDigest

wssec - pwd.password - ***

wssec - user - your user name

Check AXIS FAQ note 1039369 please :-)



Show 1 Share
10 |10000 characters needed characters left 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