You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by "vilian venkov (JIRA)" <ji...@apache.org> on 2010/08/09 11:02:15 UTC

[jira] Created: (SANDESHA2-204) Combining Sandesha2 RC1.5 and Rampart 1.5

Combining Sandesha2 RC1.5 and Rampart 1.5
-----------------------------------------

                 Key: SANDESHA2-204
                 URL: https://issues.apache.org/jira/browse/SANDESHA2-204
             Project: Sandesha2
          Issue Type: Bug
         Environment: no matter
            Reporter: vilian venkov


I read the following articles:

http://wso2.org/library/950
http://wso2.org/library/1027

And I wanted to remove the security from the RM control messages( CreateSequance, Terminate and so on.)!
So I removed rampartPolicy from 

<parameter name="propertiesToCopyFromReferenceMessage">Values</parameter>
<parameter name="propertiesToCopyFromReferenceRequestMessage">Values</parameter>

from the module file!
now it really does not copy them!
But when sandesha creates CreateSequance message it gets the options from the application message, which have security!
and the security is passed to the control messages!

SandeshaUtil.createNewRelatedMessageContext

Options oldOptions = referenceMessage.getOptions();
Options newOptions = new Options ();
newOptions.setProperties(oldOptions.getProperties());
			
newMessageContext.setOptions(newOptions);


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org