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

Provide access to common time related functions in expressions

    Details

    • Support Ticket IDs:
    • Sprint:
      2020.01 - IG / Microservices, 2020.02 - IG / Microservices, 2020.03 - IG / Microservices, 2020.04 - IG / Microservices, 2020.05 - IG / Microservices, 2020.06 - IG / Microservices, 2020.07 - IG / Microservices

      Description

      As a user, it would be nice if there was a function to provide the value of System.currentTimeMillis() so it can readily be used in filters like JwtBuilderFilter for claims like exp, iat etc.

      Additionally, with the addition of the SetCookieUpdateFilter (OPENIG-4066), we can now manipulate Set-Cookie header cookie attributes, which includes expiry.

      This expiry is likely to be useful in order to manage or otherwise secure the lifetime of outbound cookies. Unfortunately, while this is the only real usecase (dynamic setting of datetime), it's not currently possible through IG expressions.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: