Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4681

SSOKey.hashCode() not consistent per node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.2.Final (EAP)
    • 7.1.1.Final
    • Clustering
    • None

      Because Class.hashCode() is not uniform across cluster nodes, cache lookup of credentials will fail due to the fact that hashCodes are serialized along with key objects to support hash lookups without requiring objects to be deserialized.

      The short of it is, replace the use of Class.hashCode() with Class.getName().hashCode().

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

              Created:
              Updated:
              Resolved: