geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [23/49] incubator-geode git commit: GEODE-17: pulse not started with gemfire security enabled
Date Fri, 20 May 2016 16:29:54 GMT
GEODE-17: pulse not started with gemfire security enabled


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/97d61726
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/97d61726
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/97d61726

Branch: refs/heads/feature/GEODE-835-test
Commit: 97d61726e61c43bdada362b8b1ab867f954794dc
Parents: c4b9756
Author: Jinmei Liao <jiliao@pivotal.io>
Authored: Fri May 13 07:20:14 2016 -0700
Committer: Jinmei Liao <jiliao@pivotal.io>
Committed: Fri May 13 14:07:46 2016 -0700

----------------------------------------------------------------------
 .../gemstone/gemfire/management/internal/ManagementAgent.java | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/97d61726/geode-core/src/main/java/com/gemstone/gemfire/management/internal/ManagementAgent.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/management/internal/ManagementAgent.java
b/geode-core/src/main/java/com/gemstone/gemfire/management/internal/ManagementAgent.java
index adc69c4..af35c1b 100755
--- a/geode-core/src/main/java/com/gemstone/gemfire/management/internal/ManagementAgent.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/management/internal/ManagementAgent.java
@@ -201,10 +201,9 @@ public class ManagementAgent {
         if (logger.isDebugEnabled()) {
           logger.debug(message);
         }
-
-        if (isCustomAuthorizer()){
-          System.setProperty("spring.profiles.active", "pulse.authentication.gemfire");
-        }
+      }
+      else if (isCustomAuthenticator()){
+        System.setProperty("spring.profiles.active", "pulse.authentication.gemfire");
       }
 
       // Find developer REST WAR file


Mime
View raw message