Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19568

Add support for arbitrary cookie attributes for session-cookie, affinity-cookie, sso cookie, etc.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • 35.0.0.Beta1
    • 33.0.0.Final
    • Web (Undertow)
    • None
    • ---
    • ---

      Currently, we have no way to define the SameSite cookie attribute for sessions/affinity/sso without relying on an expression filter.
      Servlet 6.0 added support for arbitrary cookie attributes via Cookie.getAttributes(), setAttribute(...), etc.
      To facilitate this, we should add an "attributes" attribute of type Map<String, String> to AbstractCookieResourceDefinition that allows configuration of name/value pairs to add to the ServletSessionConfig of a DeploymentInfo.

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: