import com.hazelcast.security.UsernamePasswordCredentials;
import org.apache.sirona.configuration.Configuration;
public class HazelcastClientFactory {
public static HazelcastInstance newClient(final String prefix) {
final ClientConfig config = new XmlClientConfigBuilder().build();
final String addresses = Configuration.getProperty(prefix + "addresses", null);
if (addresses != null) {
for (final String address : addresses.split(",")) {
config.addAddress(address.trim());