Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cxf callbackhandler-- how to pass in object

 
sam wang
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, there,

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.


Any help will be greatly appreciated!
Sw
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic