2 Replies Latest reply on May 22, 2009 5:32 AM by Dickson Lui

    Using the DatabaseServerLoginModule only for retrieving role

    Veera Sundar Newbie

      I'm using JBoss AS 5 and the LdapExtLoginModule for the authentication purpose. The LDAP authentication is working fine.

      Now, I've the user roles stored in a relational database which I've to get it using DatabaseServerLoginModule. I know that this database login module depends on two table users and roles. But, my requirement is just to get the roles of the user (the user would have authenticated earlier using the LDAP login module).

      So, is there any way to disable the checking of user password in the DatabaseServerLoginModule ? I've tried <module-option name="password-stacking">useFirstPass</module-option> but it's not working.

      Any pointers?