Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-1793

Provide support for configuration expressions in header/form names of the StaticRequestFilter configuration

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0, 4.5.0, 5.0.0
    • Fix Version/s: 5.5.0
    • Component/s: Core
    • Support Ticket IDs:
    • Sprint:
      OpenIG Sprint 105, OpenIG Sprint 106

      Description

      This improvement is about allowing configuration expressions to be used to create the header names and form parameter names when using a StaticRequestFilter so that these values can be dynamic based on say an environment value.

      A use-case for this would be using OpenIG as a policy enforcement point with OpenAM and each environment (dev/test/prod) is using a different name for the OpenAM SSO Cookie. Without this feature, a config needs to be maintained per environment to have different header names. With expression support, a single config could be used with the header name being evaluated at configuration time.

      {
           "type": "StaticRequestFilter",
           "config": {
               "headers": {
                   expression: [ expression, ... ], ...
               },
               "form": {
                   expression: [ expression, ... ], ...
               }
           }
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markdr Mark de Reeper
                Reporter:
                markdr Mark de Reeper
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: