[jboss-user] [JBoss Portal] - Re: Dashboard configuration - drag and drop
vivek_saini07
do-not-reply at jboss.com
Fri Feb 20 10:52:22 EST 2009
what we did is
after authentication we created a new user in user module of jboss portal and assigned a role from MembershipModule of jboss portal.
userModule = (UserModule)new InitialContext().lookup(userModuleJNDIName);
|
| membershipModule = (MembershipModule)new InitialContext().lookup(membershipModuleJNDIName);
|
|
| user = getUserModule().createUser(userName, inputPassword);
|
| getMembershipModule().assignRoles(user, roleSet);
|
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211864#4211864
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211864
More information about the jboss-user
mailing list