[ http://jira.jboss.com/jira/browse/JBAS-48?page=history ]
Scott M Stark updated JBAS-48:
------------------------------
Version: JBossAS-4.0.0 Final
Fix Version: JBossAS-3.2.7 Final
JBossAS-4.0.1 Final
> SRP: Mulitple Clients
> ---------------------
>
> Key: JBAS-48
> URL: http://jira.jboss.com/jira/browse/JBAS-48
> Project: JBoss Application Server
> Type: Bug
> Components: Security
> Versions: JBossAS-4.0.0 Final, JBossAS-3.2.6 Final
> Environment: Any
> Reporter: Nuno Meira
> Assignee: Scott M Stark
> Fix For: JBossAS-4.0.1 Final, JBossAS-3.2.7 Final
>
>
> 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 [EMAIL PROTECTED] on site.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development