Hi,
FYI my client will get a usernametoken from STS before sending request to
WSP according to the policy. There is one thing I can notice is in the
client CallbackHandler.handle which is called before sending request to the
STS.
WSPasswordCallback pc = (WSPasswordCallback) callbacks[i];
pc.getIdentifier(); ---> This is always the first user login.
Even this setting is occured before the client CallbackHandler.handle
((BindingProvider) port).getRequestContext().put("ws-security.username",
"CURRENT USER ID");
Any suggestions?
regards,
Patcharee
--
View this message in context:
http://cxf.547215.n5.nabble.com/Two-wsse-UsernameToken-in-a-request-with-different-wsse-Username-tp5748229p5748322.html
Sent from the cxf-user mailing list archive at Nabble.com.