I know my UsernameToken/CXF tutorial works, and it has such a callback function:
http://www.jroller.com/gmazza/entry/cxf_usernametoken_profile

It's Maven and not Ant-based though. You might wish to try running it, to confirm it works with your setup (sourcecode is downloadable), and then try to determine why my sample works but not your project (perhaps some configuration elements missing with your code but present in my sample.)

Glen

On 01/31/2012 04:02 AM, monsiong wrote:
I using jboss 6.0.0 and jbossws-cxf-3.4.1 to develop an webservice server . I
run
ant -Dspring=true deploy-jboss600 to include cxf library into jboss .

I got the following eception.

18:00:30,277 WARN  [org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor] :
org.apache.ws.security.WSSecurityException: General security error
(WSSecurityEngine: Callback supplied no password for: null)


I debug CallbackHandler class handle method using eclipse , and i notice
that the callback value is empty . Please check this image .
http://cxf.547215.n5.nabble.com/file/n5444021/debug.jpg


Any idea what is causing ?

Thanks
Tee

--
View this message in context: 
http://cxf.547215.n5.nabble.com/WSSecurityEngine-Callback-supplied-no-password-for-null-tp5444021p5444021.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza

Reply via email to