public CacheFactory setSecurityManager(SecurityManager securityManager) {
    internalCacheBuilder.setSecurityManager(securityManager);
    return this;
  }
Sets the securityManager for the cache. If this securityManager is set, it will override the
security-manager property you set in your gemfire system properties.

This is provided mostly for container to inject an already initialized securityManager. An
object provided this way is expected to be initialized already. We are not calling the init
method on this object

@param securityManager the securityManager for the cache
@return this CacheFactory
geode-core/src/main/java/org/apache/geode/cache/CacheFactory.java