Uploaded image for project: 'ZZZ-WSO2 ESB'
  1. ZZZ-WSO2 ESB
  2. ESBJAVA-1307

Source view issues when changing the security policy

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: 4.5.0 M2
    • Fix Version/s: 4.5.0 M4
    • Labels:
      None
    • Environment:

      WSO2 ESB 4.5.0 17th July Pack

      Description

      • Create a proxy service

      1) Apply security policy (e.g scenario 2). It'll add following parameter to source view (one.png)

      <policy key="conf:/repository/axis2/service-groups/test/services/test/policies/SigOnly"/>
      <parameter name="disableREST">true</parameter>

      Now change the policy and upload a policy from governance registry. Now the source view contains following configuration. (two.png)

      <policy key="conf:/repository/axis2/service-groups/test/services/test/policies/policyFromRegistry"/>
      <parameter name="disableREST">true</parameter>
      <parameter name="secPolicyRegistryPath">gov:/scenario2-policy.xml</parameter>

      Issue 1:
      <policy key="conf:/repository/axis2/service-groups/test/services/test/policies/policyFromRegistry"/> is still there

      2) If you remove security (from service management dashboard), then following configuration is still there in source view (three.png)
      Note : This happens only if above steps were followed.

      <parameter name="disableREST">true</parameter>
      <parameter name="secPolicyRegistryPath">gov:/scenario2-policy.xml</parameter>

      3) Same happens if you add a policy through config/governance registry and then change it to another policy (in config/governance registry)

        Attachments

        1. one.png
          one.png
          69 kB
        2. three.png
          three.png
          69 kB
        3. two.png
          two.png
          70 kB

          Activity

            People

            • Assignee:
              nuwand@wso2.com Nuwan Dias
              Reporter:
              pavithra@wso2.com Pavithra Madurangi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: