Examples of FailoverLdapConnector


Examples of com.sonatype.security.ldap.connector.FailoverLdapConnector

              new DefaultLdapConnector(ldapServer.getId(), this.ldapUserManager, this.ldapGroupManager,
                  this.getLdapContextFactory(ldapServer, true),
                  this.getLdapAuthConfiguration(ldapServer));
        }

        this.ldapConnectors.add(new FailoverLdapConnector(
            originalLdapConnector,
            backupLdapConnector,
            ldapServer.getConnectionInfo().getConnectionRetryDelay()));

      }
View Full Code Here

Examples of com.sonatype.security.ldap.connector.FailoverLdapConnector

  protected List<LdapConnector> getLdapConnectors() {
    List<LdapConnector> connectors = new ArrayList<LdapConnector>();
    this.mainConnector = this.buildMainMockServer("backup");
    this.backupConnector = this.buildBackupMockServer("backup");
    LdapConnector fallBackConnector = new FailoverLdapConnector(mainConnector, backupConnector, 2);
    connectors.add(fallBackConnector);

    return connectors;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.