geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [40/50] [abbrv] incubator-geode git commit: GEODE-17 - fix the nightly build error by clearing out security manager if not configured.
Date Tue, 03 May 2016 21:52:29 GMT
GEODE-17 - fix the nightly build error by clearing out security manager if not configured.


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

Branch: refs/heads/feature/GEODE-1255
Commit: 9681329d8dbcec8d70011db13381c1dcf23ee9a5
Parents: 15b1e70
Author: Jinmei Liao <jiliao@pivotal.io>
Authored: Mon May 2 08:56:20 2016 -0700
Committer: Jinmei Liao <jiliao@pivotal.io>
Committed: Mon May 2 08:56:20 2016 -0700

----------------------------------------------------------------------
 .../gemfire/management/internal/SystemManagementService.java      | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/9681329d/geode-core/src/main/java/com/gemstone/gemfire/management/internal/SystemManagementService.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/management/internal/SystemManagementService.java
b/geode-core/src/main/java/com/gemstone/gemfire/management/internal/SystemManagementService.java
index dac016e..fd2a834 100755
--- a/geode-core/src/main/java/com/gemstone/gemfire/management/internal/SystemManagementService.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/management/internal/SystemManagementService.java
@@ -172,6 +172,9 @@ public final class SystemManagementService extends BaseManagementService
{
       SecurityManager securityManager = new DefaultSecurityManager(realm);
       SecurityUtils.setSecurityManager(securityManager);
     }
+    else{
+      SecurityUtils.setSecurityManager(null);
+    }
 
     this.notificationHub = new NotificationHub(repo);
     if (system.getConfig().getJmxManager()) {


Mime
View raw message