I have managed to get JBoss Portal 2.6.6 to authenticate with our LDAP server, and allow the user access. However, I don't want to use any roles from LDAP, I want to use the local JBoss Portal DB for roles/security etc, as if logged in as a local user.
So basically, when a user logs in, the password must match the password in LDAP (currently working), but that's it, the rest (roles/security) must come from the local DB. Anyone know how to configure this?
You can use DBIdentifyLoginModule.
use LDAP to check password-----you should get the use information from ldap by yourself ,and use db to get roles .