public static Config build(final BaseHazelcastProperties hz, final NamedConfig mapConfig) {
        val config = build(hz);
        setConfigMap(mapConfig, config);
        return finalizeConfig(config, hz);
    }
Build config.

@param hz        the hz
@param mapConfig the map config
@return the config
support/cas-server-support-hazelcast-core/src/main/java/org/apereo/cas/hz/HazelcastConfigurationFactory.java