Package org.ldaptive

Class RandomConnectionStrategy

java.lang.Object
org.ldaptive.AbstractConnectionStrategy
org.ldaptive.RandomConnectionStrategy
All Implemented Interfaces:
Iterable<LdapURL>, ConnectionStrategy

public class RandomConnectionStrategy extends AbstractConnectionStrategy
Connection strategy that randomizes the list of configured URLs. A random URL ordering will be created for each connection attempt.
  • Constructor Details

    • RandomConnectionStrategy

      public RandomConnectionStrategy()
  • Method Details