[Yanel-dev] [Bug 5254] YarepUser needs to be seriazable in order to work within cluster

bugzilla-daemon at bugzilla.wyona.com bugzilla-daemon at bugzilla.wyona.com
Tue Mar 27 22:58:18 CEST 2007


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5254





------- Additional Comments From josias.thoeny at wyona.org  2007-03-27 22:58 -------
Maybe we could un-deprecate the getUsername() and getGroupnames() methods of the
Identity.
If a user needs to be accessed, one could do:
String userId = identity.getUserame();
User user = userManager.getUser(userId);

BTW, the identity class is also used in the PolicyManagerImpl. But I guess
nothing would have to be changed there.

About the serialVersionUID, I'm actually not sure if we need it...
We only use serialization for session stuff, and probably we won't transfer a
session from one yanel version to another. WDYT?
Anyway thanks for the pointer.





------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Yanel-development mailing list