-----Original Message----- From: Chris Geer Sent: Tuesday, August 28, 2012 5:46 PM To: [email protected] Subject: Re: Separation of Person & User
On Tue, Aug 28, 2012 at 2:23 PM, Franklin, Matthew B. <[email protected]>wrote: > We have discussed separation of User & Person in the past [1]; but, have > yet to take action to modify the current inheritance model. I have been > working on separating out direct references to people in the model split > branch and have gotten to the point where I am ready to take on this > User/Person split. > > I plan on just splitting the interfaces and noting that there is a logical > constraint that Id & Username (both properties of Person & User) MUST be > the same between the two objects. I also plan to remove any profile or > "person" information from the User interface and ensure that it is part of > Person and moving any operations that are related to people (friends, etc) > into the person service. > +1 +1 for Splitting User & Person. > > Thoughts? > The only question I have is about OpenID authenticated users. There has been some recent discussion on that and friends [1]. I'm assuming when you do this you will require new OpenID folks to select a local username to map to their accounts in Rave correct? If Person(not just JpaPerson) is going to have Id & Username, then there would not be any problem even for OpenID users as we can use Id in places where username(in this case URL) is not usable. If we are going to use a username for OpenID users, the idea now is to use a username internally by stripping the leading ‘http://’ from URL and the trailing ‘/’. I guess we are not allowing the user to select the username. Pls correct me if I am wrong. [1] http://mail-archives.apache.org/mod_mbox/rave-dev/201208.mbox/%3C20120822174022.15256.35808%40reviews.apache.org%3E <http://mail-archives.apache.org/mod_mbox/rave-dev/201208.mbox/%3C20120822174022.15256.35808%40reviews.apache.org%3E> > > [1] http://s.apache.org/l1C >
