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

Authentication token in session triggers replication of session each request

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.Beta1
    • 10.0.0.Alpha6
    • Clustering
    • None

      If an authentication token exists in the web session, and the user is using FORM or a custom authentication mechanism, then that token is read from the session each request. The token is treated as a mutable object by the clustering code and triggers replication of the session on each request.

      Annotating this with @Immutable will fix the problem.

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

                Created:
                Updated:
                Resolved: