[
https://issues.apache.org/jira/browse/RAMPART-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruchith Udayanga Fernando resolved RAMPART-14.
----------------------------------------------
Resolution: Fixed
Axis2 was updated to fix this issue with the ADB changes
> Xml attributes got lost after encryption/decryption by Rampart
> ----------------------------------------------------------------
>
> Key: RAMPART-14
> URL: https://issues.apache.org/jira/browse/RAMPART-14
> Project: Rampart
> Issue Type: Bug
> Environment: Axis2-1.1 nightlies. Tomcat 5.5.17.
> Reporter: Marcel Casado
>
> Soap body created for the service before encrypted :
> >
> > <soapenv:Body
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><AllowedValuesSet
> > isStatic="true"><NestedMap><MapEntry entryKey="earth_surface"
> > entryValue="earth_surface" /><MapEntry entryKey="height"
> > entryValue="height" /><MapEntry entryKey="pressure"
> > entryValue="pressure" /></NestedMap></AllowedValuesSet></soapenv:Body>
> >
> > Soap body received by the client after decryption :
> >
> > <AllowedValuesSet xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
> > xmlns:wsa="http://www.w3.org/2005/08/addressing"
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > isStatic="true"><NestedMap><MapEntry /><MapEntry /><MapEntry
> > /></NestedMap></AllowedValuesSet>
> >
> >
> > Something is going wrong with the conversion from DOM /OM or the
> > encryption process
> services.xml :
> <!-- This file was auto-generated from WSDL -->
> <!-- by the Apache Axis2 version: #axisVersion# #today# -->
> <serviceGroup>
> <service name="MetvaultMetadataService">
> <messageReceivers>
> <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
>
> class="edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.MetvaultMetadataServiceMessageReceiverInOut"/>
> </messageReceivers>
> <parameter name="ServiceClass" locked="false">
>
> edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.MetvaultMetadataServiceSkeleton</parameter>
> <operation name="getAllowedValuesSet"
> mep="http://www.w3.org/2004/08/wsdl/in-out">
> <actionMapping>getAllowedValuesSet</actionMapping>
> </operation>
> <operation name="getMetadata" mep="http://www.w3.org/2004/08/wsdl/in-out">
> <actionMapping>getMetadata</actionMapping>
> </operation>
> <operation name="retrieveMetadata"
> mep="http://www.w3.org/2004/08/wsdl/in-out">
> <actionMapping>retrieveMetadata</actionMapping>
> </operation>
> <operation name="executeService"
> mep="http://www.w3.org/2004/08/wsdl/in-out">
> <actionMapping>executeService</actionMapping>
> </operation>
> <operation name="requestServiceSummary"
> mep="http://www.w3.org/2004/08/wsdl/in-out">
> <actionMapping>requestServiceSummary</actionMapping>
> </operation>
> <operation name="requestServiceResponse"
> mep="http://www.w3.org/2004/08/wsdl/in-out">
> <actionMapping>requestServiceResponse</actionMapping>
> </operation>
> <operation name="requestCrawlerStart"
> mep="http://www.w3.org/2004/08/wsdl/in-out">
> <actionMapping>requestCrawlerStart</actionMapping>
> </operation>
> <operation name="requestCrawlerStop"
> mep="http://www.w3.org/2004/08/wsdl/in-out">
> <actionMapping>requestCrawlerStop</actionMapping>
> </operation>
> <operation name="requestLogin" mep="http://www.w3.org/2004/08/wsdl/in-out">
> <actionMapping>requestLogin</actionMapping>
> </operation>
> <module ref="rampart"/>
> <parameter name="OutflowSecurity">
> <action>
> <items>Timestamp Encrypt</items>
>
> <passwordCallbackClass>edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler</passwordCallbackClass>
> <encryptionPropFile>service.properties</encryptionPropFile>
> <encryptionKeyIdentifier>IssuerSerial</encryptionKeyIdentifier>
> <encryptionUser>client</encryptionUser>
> </action>
> </parameter>
> <parameter name="InflowSecurity">
> <action>
> <items>UsernameToken Timestamp Encrypt</items>
>
> <passwordCallbackClass>edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler</passwordCallbackClass>
> <decryptionPropFile>service.properties</decryptionPropFile>
> </action>
> </parameter>
> </service>
> </serviceGroup>
> client axis2.xml excerpt :
> <module ref="rampart"/>
> <parameter name="InflowSecurity">
> <action>
> <items>Timestamp Encrypt</items>
>
> <passwordCallbackClass>edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler</passwordCallbackClass>
> <decryptionPropFile>client.properties</decryptionPropFile>
> </action>
> </parameter>
> <parameter name="OutflowSecurity">
> <action>
> <items>UsernameToken Timestamp Encrypt</items>
> <passwordType>PasswordText</passwordType>
> <signaturePropFile>client.properties</signaturePropFile>
> <signatureKeyIdentifier>DirectReference</signatureKeyIdentifier>
> <encryptionUser>service</encryptionUser>
> <encryptionPropFile>client.properties</encryptionPropFile>
> <encryptionIdentifier>IssuerSerial</encryptionIdentifier>
> <encryptionParts>
>
> {Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken
> </encryptionParts>
> <! -- The user and password are set up on the client stub with an
> instance of a pwcallbackHandle -->
> <!-- <user>marcel</user> -->
> <!--
> <passwordCallbackClass>edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler</passwordCallbackClass>
> -->
> </action>
> </parameter>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.