[jboss-user] [JBoss Portal] - Portal User Creation and Management

JavaWings do-not-reply at jboss.com
Tue Apr 10 17:07:22 EDT 2007

4.0.5GA with portal 2.4.2  downloaded. On SUSE 10.0.


I am new to JBoss and the portal. A search of related keywords (in the developer forum because I was in the wrong forum...now I am cross posting here)  didn't show any postings about this so I'd like to ask a question about the 2.4.2 version of the portal.

I need a portlet that deals with user accounts.

I find the user register/subscription model to be inappropriate for corporate use. I am planning to turn off anonymous user subscriptions. (Please note, my question isn't how to do that).  Here's the question:  I'd like to have the admin user log in and create new users and their profiles. It isn't clear to me how to program this behavior.  

Here's some thoughts....
In UserModuleImpl.java there is a createUser method that calls session.save(user). If called from a new user (not the admin) trying to create a new account for himself it makes sense to have the current session save this. But does it make sense, or is it safe, for the admin's current session to save the UserModuleImpl object of another user, a user other than himself? I haven't yet found any programming guides around how to program user management using sessions. I don't understand sessions and what objects can be placed in them. Hints would be appreciated.

Thanks ahead, 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036135#4036135

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036135

More information about the jboss-user mailing list