Skip to content

Commit

Permalink
[GOOGLEAPPS-5] #resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso committed Feb 19, 2019
1 parent 109c7c7 commit 1a77a1b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/net/tirasa/connid/bundles/googleapps/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import java.io.FileReader;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
Expand All @@ -41,7 +42,6 @@
import com.google.api.client.json.JsonFactory;
import com.google.api.client.json.jackson2.JacksonFactory;
import com.google.api.client.util.store.MemoryDataStoreFactory;
import org.identityconnectors.common.CollectionUtil;

/**
* Class to represent a GoogleApps Connector Configuration Class.
Expand Down Expand Up @@ -73,7 +73,7 @@ public class Main {
public static final java.lang.String ADMIN_ENTERPRISE_LICENSE =
"https://www.googleapis.com/auth/apps.licensing";

private static final List<String> SCOPES = CollectionUtil.newList(
private static final List<String> SCOPES = Arrays.asList(
ADMIN_DIRECTORY_GROUP,
ADMIN_DIRECTORY_ORGUNIT,
ADMIN_DIRECTORY_USER,
Expand Down Expand Up @@ -131,5 +131,4 @@ public String getRedirectUri() throws IOException {
configMap.put("refreshToken", credential.getRefreshToken());
return configMap;
}

}

0 comments on commit 1a77a1b

Please sign in to comment.