Change authenticated user's role after LDAP authentication
Tatiana.Jun 30 2009 — edited Jul 20 2009Hi forum,
I don't know if it's possible, I haven't found a solution so far
I have a simple web application with LDAP authentication. We would like to use LDAP just for authentication, and store the user roles information in database. After authentication, the LDAP assigns the 'guest' role to the user, and the welcome page (the only page available for that role) is displayed.
In this welcome page, the user must select one profile (the same user can have multiple profiles) from a list retrieved from database. Each user profile has a role associated. After selection, we want to change the user's role 'guest' to the role associated with the selected profile.
I don't think implementing a custom login module fits my needs because the role assignment needs the user participation.
Any suggestions?
Thanks in advance,
Tatiana.