Hallo,
I'm using axis2 1.1.1 with the rampart module to sign and encrypt the soap
messages.
I have used the sample 6 from rampart and have done a little change to the
example. The service handles a file which is send with swa.
To check, if the messages are signed and encrypted I take look to the messages
with tcpmon tool.
The messages are encrypted, but I can read the attachment as clear text (its an
xml document).
Is there any option to encrypt the attachment to?
My service.xml looks like this:
<service name="RampartFileService" scope="application">
<description>FileService</description>
<operation name="uploadFile">
<messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</operation>
<parameter
name="ServiceClass">de.nepatec.jzink.webservice.RampertFileService</parameter>
<module ref="rampart" />
<parameter name="InflowSecurity">
<action>
<items>Timestamp Signature Encrypt</items>
<passwordCallbackClass>de.nepatec.jzink.webservice.PWCBHandler</passwordCallbackClass>
<signaturePropFile>service.properties</signaturePropFile>
</action>
</parameter>
<parameter name="OutflowSecurity">
<action>
<items>Timestamp Signature Encrypt</items>
<user>service</user>
<passwordCallbackClass>de.nepatec.jzink.webservice.PWCBHandler</passwordCallbackClass>
<signaturePropFile>service.properties</signaturePropFile>
<signatureKeyIdentifier>DirectReference</signatureKeyIdentifier>
<encryptionKeyIdentifier>SKIKeyIdentifier</encryptionKeyIdentifier>
<encryptionUser>useReqSigCert</encryptionUser>
</action>
</parameter>
</service>
Thanks a lot!
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]