On Thursday 24 June 2010 7:41:17 am Pages Laurent wrote: > Hello! > > I'm trying to use UsernameToken in CXF 2.2.9 and to derive key from the > password in order to encrypt the message body. Service and client use CXF > stack. The security policy is described in the WSDL, but CXF client > complains as if it does not support this functionnality. Does someone know > if CXF is able to deal with key derived from UsernameToken ?
As Sergey mentioned, not yet. Part of the reason is that at the time the WS-SecPol stuff was being worked on, WSS4J didn't support this. This was added for the latest WSS4J, but we never went back and added support into the SecPol implementation. Dan > > FYI, I tried to call the CXF service with a client that uses the Metro > stack, and it works (on the Metro side) but then the service complains it > cannot find the key used for encryption... > > Thanks! > > Laurent -- Daniel Kulp [email protected] http://dankulp.com/blog
