Hi Michele,

If you do not explicitly specify the encryptionParts then rampart will
only encrypt the body.
You can use the <encryptionParts> element within the <action> element
of the outflowConfiguration parameter to specify the elements you want
to encrypt.

This example [1] is a case where the wsse:UsernameToken element is
encrypted. If you want to encrypt the content of the element only,
then use "{}" instead of "{Element}" when specifying the element to be
encrypted.

In the case where we use MTOM optimization you will have to refer to
the element by the qname of the element that holds the attachment and
will have to configure rampart to encrypt content of that element.

Thanks,
Ruchith

[1] 
https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test-resources/security/s2a.client.axis2.xml

On 7/7/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
Hi all,

I've got a couple of questions about Rampart.
What happens if the rampart module is used?, only the message body is
encrypted or the header is encrypted as well? And what about attachments
(if any)?


Thanks,
Michele

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
www.ruchith.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to