Examples of LdapConnectionSettings


Examples of com.google.enterprise.connector.sharepoint.ldap.UserGroupsService.LdapConnectionSettings

        AuthType.SIMPLE, username, password, ldapDomainName);
    return settings;
  }

  public static LdapContext getLdapContext() {
    LdapConnectionSettings ldapConnectionSettings = getLdapConnetionSettings();
    UserGroupsService serviceImpl = new UserGroupsService(
        ldapConnectionSettings, TestConfiguration.cacheSize,
        TestConfiguration.refreshInterval, true);
    return serviceImpl.getLdapContext();
  }
View Full Code Here

Examples of com.google.enterprise.connector.sharepoint.ldap.UserGroupsService.LdapConnectionSettings

    if (Method.SSL.toString().equalsIgnoreCase(this.connectMethod.toString())) {
      method = Method.SSL;
    } else {
      method = Method.STANDARD;
    }
    LdapConnectionSettings ldapConnectionSettings = new LdapConnectionSettings(
        method, this.ldapServerHostAddress, Integer.parseInt(this.portNumber),
        this.searchBase, authType, this.username, this.password, this.domain);
    this.ldapConnectionSettings = ldapConnectionSettings;
    return ldapConnectionSettings;
  }
View Full Code Here

Examples of com.google.enterprise.connector.sharepoint.ldap.UserGroupsService.LdapConnectionSettings

    }
    adGroupsAuthenticationManager = inAdGroupsAuthenticationManager;
    this.clientFactory = clientFactory;
    sharepointClientContext = (SharepointClientContext) inSharepointClientContext.clone();
    if (sharepointClientContext.isPushAcls()) {
      LdapConnectionSettings ldapConnectionSettings = sharepointClientContext.getLdapConnectionSettings();
      if (!Strings.isNullOrEmpty(ldapConnectionSettings.getHostname())) {
        ldapService = new UserGroupsService(inSharepointClientContext);
      } else {
        ldapService = null;
      }
    } else {
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.