0
ラウンドロビン方式で使用する2つのLDAPサーバーがあります。このコードは、常に最初のサーバーを選択しているようです。 どうすれば均等に選ぶことができますか?春のLDAP接続の負荷分散
SearchControls searchControls = new SearchControls();
searchControls.setTimeLimit(5000);
List ldapResultList = ldapTemplate.search("", filter.encode(), searchControls, (ContextMapper) o -> {
// do things with result...
});