DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34720>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34720

           Summary: misfeature of users comparision in Identity
           Product: Lenya
           Version: 1.2.3
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Access Control
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


method Identity.belongsTo(AccreditableManager) uses '==' to compare users.
It compares object instances but not users themselves in a
AccreditableManager-specific way.

This blocks developing of AccrMmanagers which do not store instances for all
users, but create them by request (because of externally mutable users 
repository).

Solution could be to implement Item.equals, that utilize manager-specific way of
comparision, and use it instead of '=='.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to