You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2016/03/24 15:28:36 UTC

incubator-geode git commit: GEODE-17: Tests were broken because of a prior checkin

Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-17-2 fed950025 -> 0ddb9fb45


GEODE-17: Tests were broken because of a prior checkin


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

Branch: refs/heads/feature/GEODE-17-2
Commit: 0ddb9fb45d11044e1c2e48b4cc455b08f21b6c91
Parents: fed9500
Author: Jens Deppe <jd...@pivotal.io>
Authored: Thu Mar 24 07:28:30 2016 -0700
Committer: Jens Deppe <jd...@pivotal.io>
Committed: Thu Mar 24 07:28:30 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/0ddb9fb4/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 a36da80..f85f147 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
@@ -392,7 +392,7 @@ public class ManagementAgent {
     ManagementInterceptor securityInterceptor = null;
     Cache cache = CacheFactory.getAnyInstance();
     if (isCustomAuthenticator()) {
-      securityInterceptor = new ManagementInterceptor(cache.getDistributedSystem().getSecurityProperties());
+      securityInterceptor = new ManagementInterceptor(cache.getDistributedSystem().getProperties());
       env.put(JMXConnectorServer.AUTHENTICATOR, securityInterceptor);
     }
     else {
@@ -468,7 +468,7 @@ public class ManagementAgent {
 
     if (isCustomAuthorizer()) {
       if(securityInterceptor==null){
-        securityInterceptor = new ManagementInterceptor(cache.getDistributedSystem().getSecurityProperties());
+        securityInterceptor = new ManagementInterceptor(cache.getDistributedSystem().getProperties());
       }
       MBeanServerWrapper mBeanServerWrapper = new MBeanServerWrapper(securityInterceptor);
       cs.setMBeanServerForwarder(mBeanServerWrapper);