[
https://issues.apache.org/jira/browse/RAMPART-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500315
]
Hans G Knudsen commented on RAMPART-45:
---------------------------------------
Under which circumstances should Rampart optain its Policy from the
String msgPolicyKey = getMessagePolicyKey(msgCtx);
String operationPolicyKey = getOperationPolicyKey(msgCtx);
String svcPolicyKey = getServicePolicyKey(msgCtx);
properties ?
These are not covered by testcases - so my patch does not take them into
account..
Also getting policy from 'Paramater' (not Property) does not seem to be covered
by testcases.
Should Rampart 'save' Policy in all theese cases ??
> Rampart always saving policy on ServiceContext properties/KEY_RAMPART_POLICY
> causes operation policy to be overwritten
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: RAMPART-45
> URL: https://issues.apache.org/jira/browse/RAMPART-45
> Project: Rampart
> Issue Type: Bug
> Components: rampart-core
> Affects Versions: 1.2
> Reporter: Hans G Knudsen
> Attachments: policy_detection_save_key_rampart_policy.diff
>
>
> If Rampart detects a 'servicepolicy' and acting as initiator it always saves
> this policy on ServiceContext properties/KEY_RAMPART_POLICY.
> This causes 'EffectivePolicy' to be overwritten if eg running RM.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.