History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-803
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Tomasz Sztelak
Reporter: Jara Cesnek
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XFire

WS-Security USERNAME_TOKEN PW_DIGEST dont work with .NET 2.0

Created: 14/Dec/06 03:57 AM   Updated: 03/Jan/07 07:32 AM
Component/s: Core
Affects Version/s: 1.2.3
Fix Version/s: 1.2.4

Time Tracking:
Not Specified


 Description  « Hide
WS-Security USERNAME_TOKEN PW_DIGEST dont work with .NET 2.0.
USERNAME_TOKEN and PW_TEXT work fine.

Dont know if it is xfire or .NET error.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Tomasz Sztelak - 14/Dec/06 04:07 AM
What do you mean by doesn't work?
Btw, you should also ask about this on wss4j list, because XFire use this library, so if problem exists maybe its already solved.

Jara Cesnek - 14/Dec/06 06:31 AM
If this piece of SOAP header is completly generated by WSS4J then error is definitely not on Xfire side.

1) Same .NET header have probably diferent hash value.
2) Same .NET header have all namespaces in header tag and rest of XML is perfectly readable and small in size.

<wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken wsu:Id="UsernameToken-20564850" 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">xxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">UrpQqQY/qXdGar7TKe5oUOLLzOk=</wsse:Password><wsse:Nonce xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oas
is-200401-wss-wssecurity-secext-1.0.xsd">hS6E+nb41TobI66FPB/eoA==</wsse:Nonce><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2006-12-05T11:30:47.595Z</wsu:Created></wsse:UsernameToken></wsse:Security>


Tomasz Sztelak - 17/Dec/06 12:50 PM
Does the solution proposed on wss4j list work ?

Jara Cesnek - 18/Dec/06 04:09 AM
No. Still not working.
I must make some tests with etherreal.

If wss4j works as they claims there must be mess with processing properties in WSS4JOutHandler, but this is highly improbable.


Tomasz Sztelak - 03/Jan/07 07:32 AM
I mark this as won't fix, case its not XFire bug ( WSS4J or .Net ) , but can you let us know what exactly caused problem ?