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

CookieFilter is not JwtSession compatible

    XMLWordPrintable

    Details

    • 0

      Description

      The CookieFilter heap object now stores a java.net.CookieManager reference in the exchange.session. That make sense since the cookies are related to HTTP session.

      This is working fine when the Session is backed by an HttpSession object.
      But that fails when used with a JwtSession:

      The object referenced through 'java.net.CookieManager' cannot be safely serialized as JSON
      

      The reason is that the JwtSession ensure that stored references are JSON compatible (primitive types, list/arrays and map are the only accepted types).

        Attachments

          Activity

            People

            Unassigned Unassigned
            guillaume.sauthier Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: