Package org.ldaptive

Class RandomConnectionStrategy

  • All Implemented Interfaces:
    java.lang.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.
    Author:
    Middleware Services
    • Constructor Detail

      • RandomConnectionStrategy

        public RandomConnectionStrategy()
    • Method Detail

      • iterator

        public java.util.Iterator<LdapURL> iterator()