wss-comment message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: PasswordDigest authentication
- From: Sebastian Van Lacke <svanlacke@caesarsystems.com>
- To: wss-comment@lists.oasis-open.org
- Date: Mon, 19 Sep 2011 16:23:29 -0300
Hi, I need help for using a web service with a PasswordDigest authentication. I have implemented the UsernameToken as is described in the standard document, but the server is answering with a "failedAuthentication#The security token could not be authenticated or authorized-->The password should be provided". If I send the password as plain text, the authentication success.
I don't know if I am doing something wrong. I have checked the digest generation with some examples and it's ok.
This is the envelope that I am creating:
<env:Envelope xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tp="http://targetprocess.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<env:Header>
<wsse:Security env:mustUnderstand="1"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="uuid_faf0159a-6b13-4139-a6da-cb7b4100c10c"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">svanlacke</wsse:Username>
<wsse:Password
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">WjM3atbbvbdzqnc4NUcoLpj2q7g=</wsse:Password>
<wsse:Nonce>WdzH2RXMBcEhm/bEaAZPpQ==</wsse:Nonce>
<wsu:Created>2011-09-19T19:11:30Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</env:Header>
Could you help me to found the problem?
Thank you very much
Sebastián Van Lacke
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]