airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [2/3] airavata git commit: removing the public method
Date Mon, 03 Apr 2017 17:50:23 GMT
removing the public method


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/f0d83311
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/f0d83311
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/f0d83311

Branch: refs/heads/develop
Commit: f0d833113d7a211d2d7344b30406a657515d5989
Parents: 4ec2823
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Apr 3 13:49:53 2017 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Apr 3 13:49:53 2017 -0400

----------------------------------------------------------------------
 .../airavata/api/server/security/KeyCloakSecurityManager.java   | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/f0d83311/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/security/KeyCloakSecurityManager.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/security/KeyCloakSecurityManager.java
b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/security/KeyCloakSecurityManager.java
index bd1c90b..c40980e 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/security/KeyCloakSecurityManager.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/security/KeyCloakSecurityManager.java
@@ -278,9 +278,4 @@ public class KeyCloakSecurityManager implements AiravataSecurityManager
{
             throw new TException("Unable to create credential store client...", e);
         }
     }
-
-    public static void main(String[] args) throws Exception {
-        KeyCloakSecurityManager keyCloakSecurityManager = new KeyCloakSecurityManager();
-        keyCloakSecurityManager.getUserRolesFromOAuthToken("supun.nakandala@gmail.com", "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldU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