[jboss-jira] [JBoss JIRA] (AS7-4681) SSOKey.hashCode() not consistent per node

Dominik Pospisil (JIRA) jira-events at lists.jboss.org
Wed May 2 16:54:17 EDT 2012


    [ https://issues.jboss.org/browse/AS7-4681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689831#comment-12689831 ] 

Dominik Pospisil commented on AS7-4681:
---------------------------------------

Verified on master.
                
> SSOKey.hashCode() not consistent per node
> -----------------------------------------
>
>                 Key: AS7-4681
>                 URL: https://issues.jboss.org/browse/AS7-4681
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 7.1.1.Final
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>            Priority: Critical
>             Fix For: 7.1.2.Final-redhat1
>
>
> 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().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list