Skip to content

Commit 75b1b1d

Browse files
committed
Disable Github Social for now
1 parent 4f33008 commit 75b1b1d

2 files changed

Lines changed: 19 additions & 18 deletions

File tree

pom.xml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@
5858
<id>clojars</id>
5959
<url>https://clojars.org/repo/</url>
6060
</repository>
61-
<repository>
62-
<!-- Currently used only for the opensaml dependency -->
63-
<id>shibboleth</id>
64-
<url>https://build.shibboleth.net/nexus/content/repositories/releases/</url>
65-
</repository>
66-
<repository>
67-
<!-- Currently used only for the spring-social-github 1.0.0.M4 dependency -->
68-
<id>spring</id>
69-
<url>https://repo.spring.io/plugins-release/</url>
70-
</repository>
61+
<!-- <repository>-->
62+
<!-- &lt;!&ndash; Currently used only for the opensaml dependency &ndash;&gt;-->
63+
<!-- <id>shibboleth</id>-->
64+
<!-- <url>https://build.shibboleth.net/nexus/content/repositories/releases/</url>-->
65+
<!-- </repository>-->
66+
<!-- <repository>-->
67+
<!-- &lt;!&ndash; Currently used only for the spring-social-github 1.0.0.M4 dependency &ndash;&gt;-->
68+
<!-- <id>spring</id>-->
69+
<!-- <url>https://repo.spring.io/ui/plugins-release/</url>-->
70+
<!-- </repository>-->
7171
</repositories>
7272

7373
<dependencies>
@@ -212,11 +212,11 @@
212212
<artifactId>spring-social-linkedin</artifactId>
213213
<version>1.0.2.RELEASE</version>
214214
</dependency>
215-
<dependency>
216-
<groupId>org.springframework.social</groupId>
217-
<artifactId>spring-social-github</artifactId>
218-
<version>1.0.0.M4</version>
219-
</dependency>
215+
<!-- <dependency>-->
216+
<!-- <groupId>org.springframework.social</groupId>-->
217+
<!-- <artifactId>spring-social-github</artifactId>-->
218+
<!-- <version>1.0.0.M4</version>-->
219+
<!-- </dependency>-->
220220
<dependency>
221221
<groupId>com.github.spring-social</groupId>
222222
<artifactId>spring-social-google</artifactId>

src/main/java/eu/openanalytics/containerproxy/security/SocialSecurityConfig.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
import org.springframework.social.connect.web.ProviderSignInController;
5959
import org.springframework.social.connect.web.SignInAdapter;
6060
import org.springframework.social.facebook.connect.FacebookConnectionFactory;
61-
import org.springframework.social.github.connect.GitHubConnectionFactory;
61+
//import org.springframework.social.github.connect.GitHubConnectionFactory;
62+
//import org.springframework.social.github.connect.GitHubConnectionFactory;
6263
import org.springframework.social.google.connect.GoogleConnectionFactory;
6364
import org.springframework.social.linkedin.connect.LinkedInConnectionFactory;
6465
import org.springframework.social.twitter.connect.TwitterConnectionFactory;
@@ -152,8 +153,8 @@ public ConnectionFactory<?> createConnectionFactory(String appId, String appSecr
152153
return factory;
153154
case linkedin:
154155
return new LinkedInConnectionFactory(appId, appSecret);
155-
case github:
156-
return new GitHubConnectionFactory(appId, appSecret);
156+
//// case github:
157+
// return new GitHubConnectionFactory(appId, appSecret);
157158
default:
158159
return null;
159160
}

0 commit comments

Comments
 (0)