Aaron Evans wrote:
David Sean Taylor <david <at> bluesunrise.com> writes:

interface in jetspeed-api:

org.apache.jetspeed.userinfo.UserInfoManager



Thanks for the reply David. I have looked at the implementing class and it seems as though portlet preferences as well as user traits/attributes are
both stored in a Preferences object. Is this correct?

Yes, but you don't need to implement your version with Prefs.

Furthermore, if I understand correctly that user portlet preferences
and user traits/attributes are both being stored in this medium, IMHO, I think
that these should be seperated out.

So, I think what I would need to do to accomplish this is:
1. Create an LDAP backed implementation of java.util.prefs.Preferences

Well, thats one solution, but why not go directly from UserInfoManager to LDAP?

2. Extend/Override UserImpl to keep user (portal) preferences and user attribute "preferences" separate.
3. Extend/Override UserManagerImpl to use the new User implemenation.
4. Do the appropriate spring config changes.

Does this sound right?

Why not write a UserInfoLDAPManagerImpl and store the user info attributes in LDAP, leaving the Prefs impl as is?


--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194

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

Reply via email to