Package com.google.enterprise.connector.sharepoint.client

Examples of com.google.enterprise.connector.sharepoint.client.BulkAuthorizationHelper.checkConnectivity()


    try {
      sharepointClientContext.setSiteURL(endpoint);
      final BulkAuthorizationHelper testBulkAuth =
          new BulkAuthorizationHelper(sharepointClientContext);
      return testBulkAuth.checkConnectivity();
    } catch (final Exception e) {
      final String logMessage = "Problem while connecting.";
      LOGGER.log(Level.WARNING, logMessage, e);
      return e.getLocalizedMessage();
    }
View Full Code Here


       *
       * If Authentication is successful get groups information from
       * UserDataStore data base for a given user and add it to
       * AuthenticationResponse. *
       */
      if (SPConstants.CONNECTIVITY_SUCCESS.equalsIgnoreCase(bulkAuth.checkConnectivity())) {
        LOGGER.log(Level.INFO, "Authentication succeeded for the user : "
            + user + " with identity : " + userName);
        if (sharepointClientContext.isPushAcls() && null != this.ldapService) {
          return getAllGroupsForTheUser(user);
        } 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.