You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Fernando Ribeiro <we...@fernandoribeiro.eti.br> on 2012/01/04 01:57:06 UTC

Issue with WS-Security and servicemix-http

All,

I'd like your help to fix a blocker issue that I found while adding
WS-Security support to some of my servicemix-http SUs, the sample projects
follow attached.

I'm getting the "org.apache.ws.security.WSSecurityException: The security
token could not be authenticated or authorized; nested exception is:
javax.security.auth.callback.UnsupportedCallbackException"
in the attached test case. It seems to me that a
org.apache.ws.security.WSPasswordCallback
callback is being wrongly passed to the callback handler in use.

Note that I've used the http:endpoint (the "old" endpoint) instead of
http:soap-consumer and http:soap-producer (the "new" endpoints), which
doesn't support WS-Security at all to the best of my knowledge, is that
correct?

Please advise.

Fernando