Julien,
This question is a good example of one of the problems with the user module overall. 
It allows little to no room for customizing what user information is captured and 
stored. This is something I have been thinking about off and on for a while now, and 
unfortunately I have not really come up with an elegant solution. 

It seems like one direction to look would be to have the core user module manage 
things like logins, whosonline, etc. and then have a seperate registration module that 
actually captures and stores the user information (you would probably need two 
EntityBeans, a slimmed down one for login info and a bigger one for custom information 
like AIM, ICQ, etc). This way, someone could always write their own registration 
module to replace the default one. Just an idea.

To answer your question aristoi, what I did was write my own UserModule (basically 
stealing the code from the core UserModule), removed the core UserModule from the 
deployment list, and deployed mine in its place. I set up my own db table to hold the 
custom info that I need. I still use the core backend (UserBean, GroupBean, etc), but 
then I do custom logic to store my extra info. 

-Scott

PS: I have not looked at the changes you guys have made recently. I am pretty much 
running off of the source as of about a month ago. Things are working well as-is so I 
don't have a compelling reason to upgrade until I get some free time.

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824472#3824472";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824472>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to