Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5914

Extend AbstractPolicyProvider.getEffectivePolicy() with optional message parameter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1
    • JAX-WS Runtime
    • None
    • Unknown

    Description

      Currently AbstractPolicyProvider.getEffectivePolicy() accepts only Service Model related params: BindingMessageInfo, BindingOperationInfo, etc.

      I have some use cases where this information is not enough to decide which policy should be selected. For example if user makes a difference between client and service policies, no chance to decide which one have to be used.
      The client and service policies make sense if service supports some options as policy alternatives (for example UT and SAML) and different clients use exactly one.

      Proposal: extend AbstractPolicyProvider.getEffectivePolicy() with optional message parameter. If parameter is available (for example from EffectivePolicyImpl), it can be used to make precise decision regarding policies.

      Attachments

        Activity

          People

            ashakirin Andrei Shakirin
            ashakirin Andrei Shakirin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: