Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Services and the fly likes securing webservice stream using encryptbody policy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "securing webservice stream using encryptbody policy" Watch "securing webservice stream using encryptbody policy" New topic
Author

securing webservice stream using encryptbody policy

Ranadhir Nag
Ranch Hand

Joined: Mar 09, 2006
Posts: 138
I fail to find any example of attempting to secure a webservice communication with the' encryptbody' policy using a symmetric key.
In fact,all examples tend to attempt all securing activities(signing,securing,encrypting et al) with the use of certificates.
We have a used-case wherein the partners are known and need to encrypt the communication using a known symmetric key.
We have our own authentication module - the only aspect of concern is encrypting the stream ,preferably using a WS-Policy,rather than writing our own handlers.
Any help on this will be greatly appreciated.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
When you asked this question before, I pointed you to an article that explains how to do this using Axis; didn't that work out?


Ping & DNS - updated with new look and Ping home screen widget
Ranadhir Nag
Ranch Hand

Joined: Mar 09, 2006
Posts: 138
can you please point me to the first part of that write-up too.
It seems there is no easy link to the first part which seems to talk about authentication.
 
jQuery in Action, 2nd edition
 
subject: securing webservice stream using encryptbody policy
 
Similar Threads
Need help in Encrypting Message Using XSS4j API
Encrypting and Decrypting Strings.
Symmetric vs. asymmetric
Is cast5 128 supported by default sun JCE provider?
Browser and Server SSL communication