Package com.google.enterprise.connector.sharepoint.ldap.LdapConstants

Examples of com.google.enterprise.connector.sharepoint.ldap.LdapConstants.Method


     *
     * @return a LDAP or LDAPS URL bases on the {@link Method}
     */
    private String makeLdapUrl() {
      String url;
      Method connectMethod = settings.getConnectMethod();
      if (connectMethod == Method.SSL) {
        url = "ldaps://"; // For SSL
      } else {
        url = "ldap://"; // for NON-SSL
      }
View Full Code Here


                SPConstants.PORT_NUMBER,
                MessageFormat.format(
                    rb.getString(SPConstants.INVALID_PORT_NUMBER), portNumber));
            return false;
          }
          Method method;
          if (Method.SSL.toString().equalsIgnoreCase(
              this.connectMethod.toString())) {
            method = Method.SSL;
          } else {
            method = Method.STANDARD;
View Full Code Here

  /**
   * @return LDAP directory server connect method.
   */
  public String getConnectMethod() {
    Method method;
    if (Method.SSL.toString().equalsIgnoreCase(this.connectMethod.toString())) {
      method = Method.SSL;
    } else {
      method = Method.STANDARD;
    }
    return method.toString();
  }
View Full Code Here

        this.authenticationType.toString())) {
      authType = AuthType.ANONYMOUS;
    } else {
      authType = AuthType.SIMPLE;
    }
    Method method;
    if (Method.SSL.toString().equalsIgnoreCase(this.connectMethod.toString())) {
      method = Method.SSL;
    } else {
      method = Method.STANDARD;
    }
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.sharepoint.ldap.LdapConstants.Method

Copyright © 2018 www.massapicom. 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.