Hi all,

I try to realize a web service with Rampart to crypt the link but I don't know how do that.

I tried some things but nothing works fine.
Anyone can help me and explain me how to do that ?

What I can add in me client_axis2.xml ? in my services.xml in the server side ? in the PWCBHandler.java ? How I can generate good asymetric key ?

Currently I have this for rampart in my services.xml :
       <module ref="rampart" />
       <parameter name="InflowSecurity">
         <action>
           <items>Encrypt</items>
<passwordCallbackClass>my.module.PWCBHandler</passwordCallbackClass>
           <decryptionPropFile>service.properties</decryptionPropFile>
         </action>
       </parameter>

And client_axis2.xml :
   <module ref="rampart"/>
   <parameter name="OutflowSecurity">
     <action>
       <items>Encrypt</items>
       <user>service</user>
       <encryptionPropFile>client.properties</encryptionPropFile>
     </action>
   </parameter>


Help pliz :-[
Thank you


Reply via email to