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

StaticResponseHandler should support entities which are expressions.

    XMLWordPrintable

    Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Core
    • Sprint 39

      Description

      Use case: I want to return a simple page which includes URLs which include parameters which are expressions.

      Example: a PoC NASCAR page for OAuth2:

      {
          "name": "NascarPage",
          "type":"StaticResponseHandler",
          "config": {
              "status": 200,
              "entity": "<html><p><a href='/openam/oauth2/login?goto=${urlEncode(exchange.request.uri)}'>OpenAM Login</a></p><p><a href='/google/oauth2/login?goto=${urlEncode(exchange.request.uri)}'>Google Login</a></p></html>"
          }
      },
      

        Attachments

          Activity

            People

            matthew Matthew Swift
            matthew Matthew Swift
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: