The JVM supports multiple providers as detailed in the JndiTutorial
Then just add the multiple providers into the LDAPLoginModule config e.g.
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.0.0"
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0">
<jaas:config name="JAASMultiLdap" rank="1">
<jaas:module className="org.apache.karaf.jaas.modules.ldap.LDAPLoginModule"
flags="required">
initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory
connection.username=cn=Manager,dc=redhat,dc=com
connection.password=mytestPW
connection.url=" ldap://192.168.2.10:389 ldap://192.168.1.132:389 "
user.base.dn=ou=Users,dc=redhat,dc=com
user.filter=(uid=%u)
user.search.subtree = true
role.base.dn=ou=roles,dc=redhat,dc=com
role.filter=(member:=uid=%u)
role.name.attribute=cn
role.search.subtree = true
authentication = simple
</jaas:module>
</jaas:config>
</blueprint>
The multiple providers are specified in the connection.url property.
Note the spaces around the LDAP urls are critical to how Karaf and subsequently the JNDI context parses the list of urls.
There should be a space at the start of the list after the " and one before the end quote.