XMLWordPrintable

Details

    Description

      This relates to this forum post:
      http://www.jboss.org/index.html?module=bb&op=viewtopic&t=57042

      The problem is in the SRPPrincipal. The equals/hashCode implementation
      only accounts for the name, it does not include the session id.

      Need to add these methods, something like:

      public boolean equals(Object obj)

      { SRPPrincipal other = (SRPPrincipal) obj; return this.getName().equals(other.getName()) && this.sessionID == other.sessionID; }

      public int hashCode()

      { return this.getName().hashCode() + this.sessionID; }

      Verified by adrian@jboss.com on site.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            nmeira Nuno Meira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: