The moose likes Web Services and the fly likes Option to choose which private key to sign message Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Option to choose which private key to sign message" Watch "Option to choose which private key to sign message" New topic
Author

Option to choose which private key to sign message

Fred Victa
Ranch Hand

Joined: May 01, 2008
Posts: 50
I have a Web Service that uses WS Security. My Web service application uses a keystore that contains two private keys. My Web service receives an incoming XML message and responds with an outgoing XML response message. My application needs to sign the outgoing XML response message with one of the private keys. How can I get my application to choose which private key to choose? I have a Rampart configuration set up in an XML file, but this configuration allows only one <user> tag. I tried having multiple <user> tags in the Rampart configuration, but that did not work.
 
IntelliJ Java IDE
 
subject: Option to choose which private key to sign message
 
Threads others viewed
Bridge between REST & WS
SCEA Doubts and Comments Required
Sample Questions for 288 - Need answers
Java Security MOCK
Enabling WS Security for XML Encryption of an EJB Web Service
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com