-
1. Re: API to create JBoss Portal user and assign a default rol
theute Jul 19, 2007 4:49 AM (in response to kpalania)Look at the documentation ;)
UserService, RoleService and MembershipService are your friends. -
2. Re: API to create JBoss Portal user and assign a default rol
kpalania Jul 19, 2007 9:20 AM (in response to kpalania)Would you mind pointing me to an example or providing a link to the relevant chapter? Tried to google it, but couldnt find any hits, and I've looked through the Portal docs to get a sense for the login modules, etc, and I almost have all the necessary login modules.
I am doing a direct insert into the jbp_users and jbp_role_membership table for the new user that i am creating, but that doesnt appear to be enough as i get authorization errors as this user. Also, i am using there are no restrictions with user names as my users are in LDAP and have the entire email address as their username. Thanks. -
3. Re: API to create JBoss Portal user and assign a default rol
brownfielda Jul 19, 2007 10:36 AM (in response to kpalania)Chapter 14 of the Reference Manual.
http://docs.jboss.com/jbportal/v2.6/reference-guide/html/identity.html