diff --git a/prj/coherence-core-21/src/main/java/com/tangosol/internal/util/VirtualThreads.java b/prj/coherence-core-21/src/main/java/com/tangosol/internal/util/VirtualThreads.java index 1d1b4c6e025bb..0bb9f710ab421 100644 --- a/prj/coherence-core-21/src/main/java/com/tangosol/internal/util/VirtualThreads.java +++ b/prj/coherence-core-21/src/main/java/com/tangosol/internal/util/VirtualThreads.java @@ -65,7 +65,7 @@ public static boolean isSupported() // caller context; virtual threads have no permissions // when executing code that performs a privileged // action. - return System.getSecurityManager() == null; + return true; } /** diff --git a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/Cluster.java b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/Cluster.java index 9a79688710d47..97105d0044913 100644 --- a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/Cluster.java +++ b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/Cluster.java @@ -620,20 +620,6 @@ protected void bindService(com.tangosol.coherence.component.util.daemon.queuePro (List) config.getServiceFilterMap().get(sServiceType)); } - /** - * Security check. - */ - protected void checkShutdownPermission() - { - // import com.tangosol.net.security.LocalPermission; - - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission( - new LocalPermission("Cluster.shutdown")); - } - } // From interface: com.tangosol.net.Cluster /** @@ -3357,7 +3343,6 @@ public synchronized void shutdown() case STATE_RUNNING: try { - checkShutdownPermission(); // shutdown services in reverse order (i.e. shut down system services last) setState(STATE_LEAVING); @@ -3567,7 +3552,6 @@ public synchronized void stop() if (getState() != STATE_EXITED) { - checkShutdownPermission(); setState(STATE_STOPPING); try diff --git a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/management/Gateway.java b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/management/Gateway.java index 2adf712844342..e401831a04cd7 100644 --- a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/management/Gateway.java +++ b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/management/Gateway.java @@ -813,13 +813,7 @@ protected RuntimeException ensureRuntimeException(Exception e, String sName, Str public Object execute(com.tangosol.util.function.Remote.Function function) { // import com.tangosol.util.Base; - - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission(EXECUTE_PERMISSION); - } - + return executeInternal(function, /*continuation*/ null); } diff --git a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/BackingMapManagerContext.java b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/BackingMapManagerContext.java index 320d4aa013a5f..2388040b4497a 100644 --- a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/BackingMapManagerContext.java +++ b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/BackingMapManagerContext.java @@ -361,16 +361,7 @@ public Object removeInternalValueDecoration(Object oValue, int nDecorId) * The ClassLoader associated with this context. */ public void setClassLoader(ClassLoader loader) - { - // import com.tangosol.net.security.LocalPermission; - - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission( - new LocalPermission("BackingMapManagerContext.setClassLoader")); - } - + { __m_ClassLoader = (loader); } diff --git a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeCluster.java b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeCluster.java index 1dc220d4a4a96..dce345b2c57db 100644 --- a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeCluster.java +++ b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeCluster.java @@ -381,18 +381,7 @@ public com.oracle.coherence.common.base.Disposable unregisterResource(String sNa return ((com.tangosol.net.Cluster) getRunningCluster()).unregisterResource(sName); } //-- com.tangosol.net.Cluster integration - - private void checkInternalAccess() - { - // import com.tangosol.net.security.LocalPermission; - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission(LocalPermission.INTERNAL_SERVICE); - } - } - protected void cleanup() { setInternalCluster(null); @@ -588,9 +577,7 @@ public com.tangosol.coherence.component.net.Cluster ensureRunningCluster() // import Component.Net.Cluster; // import Component.Net.Management.Gateway; // import com.tangosol.net.management.Registry; - - checkInternalAccess(); - + Cluster cluster = getInternalCluster(); if (cluster == null || !cluster.isRunning()) { @@ -722,9 +709,7 @@ public com.tangosol.net.Service ensureService(String sName, String sType) action.setServiceName(sName); action.setServiceType(sType); - return (Service) (System.getSecurityManager() == null - ? action.run() - : AccessController.doPrivileged(new DoAsAction(action))); + return (Service) action.run(); } // From interface: com.oracle.coherence.common.base.Lockable @@ -755,7 +740,6 @@ public com.tangosol.coherence.config.builder.ParameterizedBuilderRegistry getBui */ public com.tangosol.coherence.component.net.Cluster getCluster() { - checkInternalAccess(); return getInternalCluster(); } @@ -955,15 +939,8 @@ public com.tangosol.coherence.component.net.Cluster getRunningCluster() { // import Component.Net.Cluster; // import com.tangosol.net.security.DoAsAction; - // import java.security.AccessController; - if (System.getSecurityManager() == null) - { return ensureRunningCluster(); - } - - return (Cluster) AccessController.doPrivileged( - new DoAsAction(getEnsureClusterAction())); } // Accessor for the property "ScopedServiceStore" diff --git a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeNamedCache.java b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeNamedCache.java index 598d40855b717..23e9ff1287b4c 100644 --- a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeNamedCache.java +++ b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeNamedCache.java @@ -749,18 +749,7 @@ public int characteristics() return MapListener.ASYNCHRONOUS | MapListener.VERSION_AWARE; } - - private void checkInternalAccess() - { - // import com.tangosol.net.security.LocalPermission; - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission(LocalPermission.INTERNAL_SERVICE); - } - } - // From interface: com.tangosol.net.NamedCache public void destroy() { @@ -848,7 +837,6 @@ public com.tangosol.net.NamedCache ensureRunningNamedCache() { // import com.tangosol.net.NamedCache; - checkInternalAccess(); NamedCache cache = getInternalNamedCache(); SafeService serviceSafe = getSafeCacheService(); @@ -1030,8 +1018,7 @@ public java.util.concurrent.locks.ReentrantLock getLock() */ public com.tangosol.net.NamedCache getNamedCache() { - checkInternalAccess(); - + return getInternalNamedCache(); } @@ -1162,15 +1149,8 @@ protected com.tangosol.net.NamedCache getRunningNamedCache() { // import com.tangosol.net.NamedCache; // import com.tangosol.net.security.DoAsAction; - // import java.security.AccessController; - if (System.getSecurityManager() == null) - { return ensureRunningNamedCache(); - } - - return (NamedCache) AccessController.doPrivileged( - new DoAsAction(getEnsureCacheAction())); } // Accessor for the property "SafeAsyncNamedCache" diff --git a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeNamedTopic.java b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeNamedTopic.java index 9330f57a6f61c..5ecbda4a16313 100644 --- a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeNamedTopic.java +++ b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeNamedTopic.java @@ -276,16 +276,6 @@ public java.util.Set getSubscriberGroups() } //-- com.tangosol.net.topic.NamedTopic integration - private void checkInternalAccess() - { - // import com.tangosol.net.security.LocalPermission; - - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission(LocalPermission.INTERNAL_SERVICE); - } - } // From interface: com.tangosol.net.topic.NamedTopic public com.tangosol.net.topic.Publisher createPublisher(com.tangosol.net.topic.Publisher.Option[] options) @@ -422,9 +412,7 @@ public void ensureLocked() public com.tangosol.net.topic.NamedTopic ensureRunningNamedTopic() { // import com.tangosol.net.topic.NamedTopic; - - checkInternalAccess(); - + NamedTopic topic = getInternalNamedTopic(); SafeService serviceSafe = getSafeTopicService(); @@ -542,8 +530,7 @@ public String getName() */ public com.tangosol.net.topic.NamedTopic getNamedTopic() { - checkInternalAccess(); - + return getInternalNamedTopic(); } @@ -574,15 +561,8 @@ protected com.tangosol.net.topic.NamedTopic getRunningNamedTopic() { // import com.tangosol.net.topic.NamedTopic; // import com.tangosol.net.security.DoAsAction; - // import java.security.AccessController; - if (System.getSecurityManager() == null) - { return ensureRunningNamedTopic(); - } - - return (NamedTopic) AccessController.doPrivileged( - new DoAsAction(getEnsureTopicAction())); } // Accessor for the property "SafeTopicService" diff --git a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeService.java b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeService.java index e45ab5414a920..878cb43d89287 100644 --- a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeService.java +++ b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/SafeService.java @@ -471,18 +471,7 @@ protected void checkClientThread(String sMethod) } } } - - private void checkInternalAccess() - { - // import com.tangosol.net.security.LocalPermission; - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission(LocalPermission.INTERNAL_SERVICE); - } - } - protected void cleanup() { // import com.tangosol.util.SimpleResourceRegistry; @@ -579,9 +568,7 @@ public com.tangosol.net.Service ensureRunningService() // import com.tangosol.net.InvocationService; // import com.tangosol.net.ProxyService; // import com.tangosol.net.Service; - - checkInternalAccess(); - + Service service = getInternalService(); if (service == null || !service.isRunning()) { @@ -763,15 +750,7 @@ public com.tangosol.util.Service getRunningService() { // import com.tangosol.net.Service; // import com.tangosol.net.security.DoAsAction; - // import java.security.AccessController; - - if (System.getSecurityManager() == null) - { return ensureRunningService(); - } - - return (Service) AccessController.doPrivileged( - new DoAsAction(getEnsureServiceAction())); } // Accessor for the property "SafeCluster" @@ -804,8 +783,7 @@ public int getSafeServiceState() */ public com.tangosol.net.Service getService() { - checkInternalAccess(); - + return getInternalService(); } @@ -1151,14 +1129,7 @@ public void setContextClassLoader(ClassLoader loader) { // import com.tangosol.net.security.LocalPermission; // import com.tangosol.net.Service; - - SecurityManager security = System.getSecurityManager(); - if (security != null && loader != null) - { - security.checkPermission( - new LocalPermission("BackingMapManagerContext.setClassLoader")); - } - + __m_ContextClassLoader = (loader); Service service = getInternalService(); diff --git a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/ShutdownHook.java b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/ShutdownHook.java index bd0917083e65a..1d1d6ad9be9c6 100644 --- a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/ShutdownHook.java +++ b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/ShutdownHook.java @@ -183,17 +183,7 @@ public void setThread(Thread thread) public void unregister() { // import com.tangosol.net.security.DoAsAction; - // import java.security.AccessController; - - if (System.getSecurityManager() == null) - { unregisterInternal(); - } - else - { - AccessController.doPrivileged( - new DoAsAction((ShutdownHook.UnregisterAction) _newChild("UnregisterAction"))); - } } /** diff --git a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/Grid.java b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/Grid.java index 258df0cd30422..8b7cfb82eb9a8 100644 --- a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/Grid.java +++ b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/Grid.java @@ -770,20 +770,6 @@ public long calculateRequestTimeout(com.tangosol.coherence.component.net.message return cTimeoutMillis; } - /** - * Security check. - */ - protected void checkShutdownPermission() - { - // import com.tangosol.net.security.LocalPermission; - - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission( - new LocalPermission("Cluster.shutdown")); - } - } // Declared at the super level /** @@ -4955,7 +4941,6 @@ public synchronized void shutdown() { if (getServiceState() < SERVICE_STOPPING) { - checkShutdownPermission(); // send the request to shut down send(instantiateMessage("NotifyShutdown")); @@ -5019,9 +5004,7 @@ public synchronized void start() public void stop() { // import com.tangosol.internal.util.NullMessagePublisher; - - checkShutdownPermission(); - + setMessagePublisher(NullMessagePublisher.INSTANCE); // prevent further external communication super.stop(); diff --git a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/grid/partitionedService/PartitionedCache.java b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/grid/partitionedService/PartitionedCache.java index c0e2982301d40..f00cb87066f6f 100644 --- a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/grid/partitionedService/PartitionedCache.java +++ b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/grid/partitionedService/PartitionedCache.java @@ -24136,9 +24136,7 @@ public com.tangosol.util.InvocableMap.Entry getReadOnlyEntry(Object oKey) Storage storage = getStorage(); Map mapStatus = (Map) ctx.getStorageStatusMap().get(storage); - Map mapResource = System.getSecurityManager() == null - ? storage.getBackingMapInternal() - : (Map) AccessController.doPrivileged(new DoAsAction(storage.getBackingMapAction())); + Map mapResource = storage.getBackingMapInternal(); Storage.EntryStatus status = mapStatus == null ? null : (Storage.EntryStatus) mapStatus.get((Binary) oKey); diff --git a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/grid/partitionedService/partitionedCache/Storage.java b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/grid/partitionedService/partitionedCache/Storage.java index a7746896e6417..b117c582a44b5 100644 --- a/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/grid/partitionedService/partitionedCache/Storage.java +++ b/prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/util/daemon/queueProcessor/service/grid/partitionedService/partitionedCache/Storage.java @@ -3390,13 +3390,6 @@ public com.tangosol.util.ObservableMap getBackingInternalCache() */ public com.tangosol.util.ObservableMap getBackingMap() { - // import com.tangosol.net.security.LocalPermission; - - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission(LocalPermission.BACKING_MAP); - } return getBackingMapInternal(); } @@ -12915,14 +12908,7 @@ protected com.tangosol.util.ObservableMap getBackingMapInternal() { // import com.tangosol.net.security.DoAsAction; // import com.tangosol.util.ObservableMap; - // import java.security.AccessController; - - if (System.getSecurityManager() == null) - { - return getStorage().getBackingMap(); - } - - return (ObservableMap) AccessController.doPrivileged(getStorage().getBackingMapAction()); + return getStorage().getBackingMap(); } // From interface: com.tangosol.util.BinaryEntry diff --git a/prj/coherence-core/src/main/java/com/tangosol/coherence/config/builder/SimpleParameterizedBuilderRegistry.java b/prj/coherence-core/src/main/java/com/tangosol/coherence/config/builder/SimpleParameterizedBuilderRegistry.java index f2301a27ad32a..67b67c8082bfd 100644 --- a/prj/coherence-core/src/main/java/com/tangosol/coherence/config/builder/SimpleParameterizedBuilderRegistry.java +++ b/prj/coherence-core/src/main/java/com/tangosol/coherence/config/builder/SimpleParameterizedBuilderRegistry.java @@ -8,7 +8,6 @@ import com.oracle.coherence.common.base.Disposable; -import com.tangosol.net.security.LocalPermission; import com.tangosol.util.Base; @@ -118,12 +117,7 @@ public String registerBuilder(Class clzInstance, String sBuilderName, ParameterizedBuilder builder) throws IllegalArgumentException { - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission(new LocalPermission("Service.registerResource")); - } - + synchronized (clzInstance) { // attempt to get an existing registration for the key diff --git a/prj/coherence-core/src/main/java/com/tangosol/net/CacheFactory.java b/prj/coherence-core/src/main/java/com/tangosol/net/CacheFactory.java index 1bed1fb87b1c8..bcc4dbf1353fb 100644 --- a/prj/coherence-core/src/main/java/com/tangosol/net/CacheFactory.java +++ b/prj/coherence-core/src/main/java/com/tangosol/net/CacheFactory.java @@ -67,10 +67,7 @@ public abstract class CacheFactory */ public static CacheFactoryBuilder getCacheFactoryBuilder() { - return System.getSecurityManager() == null - ? getCacheFactoryBuilderInternal() - : AccessController.doPrivileged((PrivilegedAction) - CacheFactory::getCacheFactoryBuilderInternal); + return getCacheFactoryBuilderInternal(); } /** @@ -118,12 +115,6 @@ private static CacheFactoryBuilder getCacheFactoryBuilderInternal() */ public static synchronized void setCacheFactoryBuilder(CacheFactoryBuilder cfb) { - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission( - new LocalPermission("CacheFactory.setCacheFactoryBuilder")); - } s_builder = cfb; checkConsistentCCFUsage(); diff --git a/prj/coherence-core/src/main/java/com/tangosol/net/ExtensibleConfigurableCacheFactory.java b/prj/coherence-core/src/main/java/com/tangosol/net/ExtensibleConfigurableCacheFactory.java index e64823616cb3e..24885f51385b2 100644 --- a/prj/coherence-core/src/main/java/com/tangosol/net/ExtensibleConfigurableCacheFactory.java +++ b/prj/coherence-core/src/main/java/com/tangosol/net/ExtensibleConfigurableCacheFactory.java @@ -236,10 +236,7 @@ public NamedCache ensureCache(String sCacheName, Base.checkNotEmpty(sCacheName, "CacheName"); - return System.getSecurityManager() == null - ? ensureCacheInternal(sCacheName, loader, options) - : AccessController.doPrivileged(new DoAsAction<>( - () -> ensureCacheInternal(sCacheName, loader, options))); + return ensureCacheInternal(sCacheName, loader, options); } /** diff --git a/prj/coherence-core/src/main/java/com/tangosol/net/ScopedCacheFactoryBuilder.java b/prj/coherence-core/src/main/java/com/tangosol/net/ScopedCacheFactoryBuilder.java index 19a60ca38e0d7..c315198805672 100644 --- a/prj/coherence-core/src/main/java/com/tangosol/net/ScopedCacheFactoryBuilder.java +++ b/prj/coherence-core/src/main/java/com/tangosol/net/ScopedCacheFactoryBuilder.java @@ -277,10 +277,7 @@ protected ConfigurableCacheFactory getFactory(final String sConfigURI final ClassLoader loader, final ParameterResolver resolver) { - return System.getSecurityManager() == null - ? getFactoryInternal(sConfigURI, loader, resolver) - : AccessController.doPrivileged((PrivilegedAction) - () -> getFactoryInternal(sConfigURI, loader, resolver)); + return getFactoryInternal(sConfigURI, loader, resolver); } /** diff --git a/prj/coherence-core/src/main/java/com/tangosol/net/events/internal/Registry.java b/prj/coherence-core/src/main/java/com/tangosol/net/events/internal/Registry.java index 9bc2606235104..c00dd0a21c08e 100644 --- a/prj/coherence-core/src/main/java/com/tangosol/net/events/internal/Registry.java +++ b/prj/coherence-core/src/main/java/com/tangosol/net/events/internal/Registry.java @@ -81,12 +81,6 @@ public synchronized String registerEventInterceptor(String sIdentifier, EventInt */ public synchronized void unregisterEventInterceptor(String sIdentifier) { - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission( - new LocalPermission("Service.registerEventInterceptor")); - } EventInterceptor interceptor = m_mapInterceptors.remove(sIdentifier); if (interceptor != null) diff --git a/prj/coherence-core/src/main/java/com/tangosol/util/SimpleResourceRegistry.java b/prj/coherence-core/src/main/java/com/tangosol/util/SimpleResourceRegistry.java index 1ef476d345972..dec3a547f1a8f 100644 --- a/prj/coherence-core/src/main/java/com/tangosol/util/SimpleResourceRegistry.java +++ b/prj/coherence-core/src/main/java/com/tangosol/util/SimpleResourceRegistry.java @@ -7,7 +7,6 @@ package com.tangosol.util; import com.oracle.coherence.common.base.Disposable; -import com.tangosol.net.security.LocalPermission; import static com.tangosol.util.BuilderHelper.using; @@ -164,13 +163,7 @@ public String registerResource(Class clzResource, Builder bl public String registerResource(Class clzResource, String sResourceName, Builder bldrResource, RegistrationBehavior behavior, ResourceLifecycleObserver observer) { - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission( - new LocalPermission("Service.registerResource")); - } - + synchronized (clzResource) { // attempt to get an existing resource registration for the key @@ -256,13 +249,6 @@ public String registerResource(Class clzResource, String sResourceName, B @Override public void unregisterResource(Class clzResource, String sResourceName) { - SecurityManager security = System.getSecurityManager(); - if (security != null) - { - security.checkPermission( - new LocalPermission("Service.registerResource")); - } - m_mapResource.remove(new RegistryKey(clzResource, sResourceName)); } diff --git a/prj/test/functional/management/src/main/java/management/BaseManagementInfoResourceTests.java b/prj/test/functional/management/src/main/java/management/BaseManagementInfoResourceTests.java index 68f21646bb5d7..d49b29a458c94 100644 --- a/prj/test/functional/management/src/main/java/management/BaseManagementInfoResourceTests.java +++ b/prj/test/functional/management/src/main/java/management/BaseManagementInfoResourceTests.java @@ -3261,9 +3261,6 @@ public void test30914372() @Test public void testHealthChecks() { - // skipped in security manager tests - Assume.assumeThat(System.getSecurityManager(), is(nullValue())); - Assume.assumeThat(System.getProperties().containsKey("java.security.manager"), is(false)); // ensure the cluster is ready before this test starts so that // all health checks should be stable