Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
1.4b3
-
None
-
None
-
Operating System: All
Platform: All
-
16942
Description
There is a "copy-n-paste" error in the equals() method of the
org.apache.jetspeed.om.security.UserNamePrincipal class:
public boolean equals(Object another)
{ if (!(another instanceof UserIdPrincipal)) return false; UserIdPrincipal principal = (UserIdPrincipal)another; return this.getName().equals(principal.getName()); }UserIdPrincipal should be replaced with UserNamePrincipal.