node-soap icon indicating copy to clipboard operation
node-soap copied to clipboard

WS-Security PasswordText type

Open roger3636 opened this issue 14 years ago • 3 comments

I understand that only PasswordText type is supported in the WS-Security header. My server is requiring the "Type" attribute to be set to such, otherwise it doesn't know how use the password unencrypted.

Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"

Suggest to change line of code to something like this: "<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">"+this._password+"/wsse:Password" +

roger3636 avatar Apr 18 '12 22:04 roger3636

The code is pasted doesn't show up correctly in this interface, but I see your comments in the code, so you should know what this is about

roger3636 avatar Apr 18 '12 23:04 roger3636

Created pull request : https://github.com/milewise/node-soap/pull/39

which should fix this.

jbuchbinder avatar Apr 18 '12 23:04 jbuchbinder

fix looks good. merging.

milewise avatar Apr 19 '12 03:04 milewise