Re: OSUser and Hibernate: couple of questions
Konstantin Priblouda <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
> - Why can you only retrieve users and groups by > groupname, not by id? Because it's not good to allow you to mess with real IDs. You have not to know about them, and several underlying store technologies maay not use them at all. > - Why can you only specify a username when adding a > user with the > UserManager, ie: why not have a User-object as > parameter? Or the password > and email-address as additional paramaters? Now a > user is created with > password and email-address as NULL.... Username is core property of user / group. Everything else is application specific, and does not belong there. > - How can you specify additional information needed > for a user? ie: > firstname, lastname, location, occupation etc.. > etc.. Is that possible > with osuser? Yes, OSUser works tughtly with OSProperty ( depends on it ) , and everything is stored there. Even email, and full name ( there are just shortcut methods in OSuser doing this. I personally store a lot of information for the user - even portlet states on our portal, as well as his profile. regards, > Thanks in advance > > Ilja > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Opensymphony-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers ===== ----[ Konstantin Pribluda ( ko5tik ) ]---------------- Zu Verstärkung meines Teams suche ich ab Sofort einen Softwareentwickler[In] für die Festanstellung. Arbeitsort: Mainz Skills: Programieren, Kentnisse in OpenSource-Bereich ----[ http://www.pribluda.de ]------------------------ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf