0 Replies Latest reply on Apr 11, 2003 4:44 PM by shaq

    Authentication - multiple login modules

    shaq

      Authentication - multiple login modules

      I am attempting to use JBOSS 3.2/jetty & JAAS to authenticate against two seperate LDAP servers. It the first attempt fails then a second attempt is made against the second LDAP server. Seems that this fits well with the JAAS login module configuration. The first login module is define as "SUFFICIENT" the second is "REQUIRED".

      The reality is that this configuration appears to work as if both login modules were "REQUIRED". I get authentication failure everytime.

      If I remove either one of the login modules and define the remaining modules as "REQUIRED", I authenticate with no problem. Has anyone seen this behavior.

      I have attched the login-config.xml file

      I appreciate any help.