From d686cedecb5b93d3421181f7d627d0c74ed799d9 Mon Sep 17 00:00:00 2001 From: Menahem Julien Raccah Lisei Date: Mon, 17 Aug 2020 15:52:39 +0200 Subject: [PATCH] 2530 Temporarily disables eclipse as authentication provider due to discoveries in #2529 Signed-off-by: Menahem Julien Raccah Lisei --- .../repository/oauth/EclipseOAuthProviderConfiguration.java | 6 +++++- .../repository/oauth/EclipseRepositoryAuthProvider.java | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/repository/repository-oauth-eclipse/src/main/java/org/eclipse/vorto/repository/oauth/EclipseOAuthProviderConfiguration.java b/repository/repository-oauth-eclipse/src/main/java/org/eclipse/vorto/repository/oauth/EclipseOAuthProviderConfiguration.java index 48dc5ff8b1..eae996e1f2 100644 --- a/repository/repository-oauth-eclipse/src/main/java/org/eclipse/vorto/repository/oauth/EclipseOAuthProviderConfiguration.java +++ b/repository/repository-oauth-eclipse/src/main/java/org/eclipse/vorto/repository/oauth/EclipseOAuthProviderConfiguration.java @@ -32,7 +32,11 @@ * * User information endpoint: https://accounts.eclipse.org/oauth2/UserInfo */ -@Configuration +/** + * Temporarily disabled due to potential conflicts with GITHUB as provider wrt username collisions - + * see #2529 for status + */ +//@Configuration public class EclipseOAuthProviderConfiguration extends AbstractOAuthProviderConfiguration { private static final String LOGOUT_URL = "/logout"; diff --git a/repository/repository-oauth-eclipse/src/main/java/org/eclipse/vorto/repository/oauth/EclipseRepositoryAuthProvider.java b/repository/repository-oauth-eclipse/src/main/java/org/eclipse/vorto/repository/oauth/EclipseRepositoryAuthProvider.java index 4b0790647d..73703e9f9b 100644 --- a/repository/repository-oauth-eclipse/src/main/java/org/eclipse/vorto/repository/oauth/EclipseRepositoryAuthProvider.java +++ b/repository/repository-oauth-eclipse/src/main/java/org/eclipse/vorto/repository/oauth/EclipseRepositoryAuthProvider.java @@ -22,7 +22,11 @@ import javax.servlet.http.HttpServletRequest; import java.util.*; -@Component +/** + * Temporarily disabled due to potential conflicts with GITHUB as provider wrt username collisions - + * see #2529 for status + */ +//@Component public class EclipseRepositoryAuthProvider implements IOAuthProvider { @Autowired