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

Add a capture capability to Filter, Handler that is available by default

    XMLWordPrintable

    Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • Core
    • Sprint 44, Sprint 45, Sprint 46

      Description

      At present, a "CaptureFilter" must be configured for use, and then must be called from a chain.

      It would be cool if the filter were configured by default in the style of the LogSink, HttpClient, and so forth to log somewhere under <base-config-dir>/logs/capture.log for example.

      Of course you might still want to use non-default settings by overriding the default config in the same way as is done with similar objects.

      In addition, it would also be nice to be able to set "capture": true on any Filter or Handler (default "capture": false), to capture either just want you want, everything at every step, or somewhere in between.

      If this were done, the implementation might need to change a little because the numbering of requests and responses can get weird when you start hitting the capture filter inside OpenIG several times during the same exchange.

        Attachments

          Issue Links

            Activity

              People

              guillaume.sauthier Guillaume Sauthier
              Mark Mark Craig
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: