I have a question about how to pass an object to cxf callbackhandler? For all the current existing examples, setting password in cxf callbackhandler is hard coded. I want to pass in some object (for example, a map<username,password>, or a resultset that will read the username/password from the database). In this way, it will not hard code the password, instead, it will read the information from database. However, I can't find any way to pass such kind of object to callbackhandler.