Hi,
Do you mean only set
((BindingProvider)proxy).getRequestContext().put("thread.local.request.context",
"true") ? Unfortunately it does not work.
The first wsse:Username generated is always sent to WSP. This setting is not
taken into account.
((BindingProvider) port).getRequestContext().put("ws-security.username",
"CURRENT USER ID");
regards,
Patcharee
--
View this message in context:
http://cxf.547215.n5.nabble.com/Two-wsse-UsernameToken-in-a-request-with-different-wsse-Username-tp5748229p5748316.html
Sent from the cxf-user mailing list archive at Nabble.com.