Karl Palsson (Migrated from SEC-1182) said:
As in the forum posting, but I can't find any ticket that "phamlen" created for this.
I'm ok with either the complete duplicate element syntax, as in the forum posting, or having just one provider and a list of search bases.
I'd probably go with the duplicate listing, as that falls in nicely with the other auth providers.
Karl Palsson said:
Patches for trunk and the 2.x branch. Makes "id" an allowed attribute on the ldap-authentication-provider elements, and registers the beans correctly using that ID. Existing auth code was already quite happy to have multiple auth sources. (This could apparently be done using direct bean config, just not using the schema config)
Luke Taylor said:
I think this should no longer be required, as of the changes for SEC-1196.
The global identifier for the LDAP provider no longer exists and all the namespace providers must be registered within the element. The beans will be parsed immediately and added to the provider list. So it should be possible to use multiple LDAP providers (though I haven't tried it yet :) ).
I've added a test to check that it is now possible to have two LDAP providers configured within the element, so closing the issue.
Thanks for taking the time to submit a patch though :).