We have a similar situation to yours and it took me a while to solve this problem too. I needed to authenticate against LDAP (username/password) but authorize (roles) against the JBoss Portal database. Is this similar to your issue or do you plan on getting role information from LDAP too?
In my case, I chained together LoginModules in login-config.xml. The first LoginModule contacts LDAP, authenticates the user, and inserts them into the portal database if they do not exist. (I wrote this LoginModule). The second LoginModule is the org.jboss.portal.core.security.jaas.ModelLoginModule from JBoss Portal that loads the user roles from the database. I can provide more detail, but I wanted to know if this was similar to your problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946221#3946221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946221 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
