You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Fabien Couvert <fa...@bull.net> on 2008/04/03 16:10:20 UTC
Encryption problem with Axis2 and Rampart
Hi all,
I have a problem with rampart 1.3 on axis2 1.3 on Tomcat 6.0.
I have this exception when i try to launch my client :
Caused by: org.apache.axis2.AxisFault: Must Understand check failed for
header http://www.w3.org/2005/08/addressing
and another now :
org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed
Currently I have added this line in my services.xml (server side):
<module ref="addressing" />
<module ref="rampart" />
<parameter name="InflowSecurity">
<action>
<items>Encrypt</items>
<passwordCallbackClass>mypackage.PWCBHandler</passwordCallbackClass>
<decryptionPropFile>service.properties</decryptionPropFile>
</action>
</parameter>
<parameter name="OutflowSecurity">
<action>
<items>Encrypt</items>
<encryptionUser>client</encryptionUser>
<encryptionPropFile>service.properties</encryptionPropFile>
</action>
</parameter>
And in client_axis2.xml :
<module ref="addressing" />
<module ref="rampart"/>
<parameter name="OutflowSecurity">
<action>
<items>Encrypt</items>
<encryptionUser>service</encryptionUser>
<encryptionPropFile>client.properties</encryptionPropFile>
</action>
</parameter>
<parameter name="InflowSecurity">
<action>
<items>Encrypt</items>
<passwordCallbackClass>mypackage.PWCBHandler</passwordCallbackClass>
<decryptionPropFile>client.properties</decryptionPropFile>
</action>
</parameter>
In my aar jar I added service.jks and service.properties
How can I resolved this problem please ?
I had tried with a Timestamp and it's works !
Thank you
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org