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.