AuthenticationException from Hazelcast client
<p>When I am trying to connect Hazelcast server through client, it gives me following exeption.</p>

<pre><code>com.hazelcast.client.AuthenticationException: Invalid credentials!
    at com.hazelcast.client.spi.impl.ClusterListenerSupport$ManagerAuthenticator.authenticate(ClusterListenerSupport.java:153)
    at com.hazelcast.client.connection.nio.ClientConnectionManagerImpl.authenticate(ClientConnectionManagerImpl.java:249)
    at com.hazelcast.client.connection.nio.ClientConnectionManagerImpl.initializeConnection(ClientConnectionManagerImpl.java:220)
    at com.hazelcast.client.connection.nio.ClientConnectionManagerImpl.getOrConnect(ClientConnectionManagerImpl.java:211)
    at com.hazelcast.client.connection.nio.ClientConnectionManagerImpl.getOrConnect(ClientConnectionManagerImpl.java:67)
    at com.hazelcast.client.spi.impl.ClusterListenerSupport.connect(ClusterListenerSupport.java:241)
    at com.hazelcast.client.spi.impl.ClusterListenerSupport.connectToOne(ClusterListenerSupport.java:209)
    at com.hazelcast.client.spi.impl.ClusterListenerSupport.connectToCluster(ClusterListenerSupport.java:161)
    at com.hazelcast.client.spi.impl.ClientClusterServiceImpl.start(ClientClusterServiceImpl.java:203)
    at com.hazelcast.client.impl.HazelcastClientInstanceImpl.start(HazelcastClientInstanceImpl.java:303)
    at com.hazelcast.client.HazelcastClient.newHazelcastClient(HazelcastClient.java:86)
</code></pre>

<p>Trying with group name as dev1. My server is on Linux system. And here is client configurations from Windows system.</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;hazelcast-client xsi:schemaLocation="http://www.hazelcast.com/schema/client-config hazelcast-client-config-3.6.xsd"
                  xmlns="http://www.hazelcast.com/schema/client-config"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
    &lt;group&gt;
        &lt;name&gt;dev1&lt;/name&gt;
        &lt;password&gt;dev-pass&lt;/password&gt;
    &lt;/group&gt;
    &lt;license-key&gt;HAZELCAST_ENTERPRISE_LICENSE_KEY&lt;/license-key&gt;
    &lt;properties&gt;
        &lt;property name="hazelcast.client.shuffle.member.list"&gt;true&lt;/property&gt;
        &lt;property name="hazelcast.client.heartbeat.timeout"&gt;60000&lt;/property&gt;
        &lt;property name="hazelcast.client.heartbeat.interval"&gt;5000&lt;/property&gt;
        &lt;property name="hazelcast.client.event.thread.count"&gt;5&lt;/property&gt;
        &lt;property name="hazelcast.client.event.queue.capacity"&gt;1000000&lt;/property&gt;
        &lt;property name="hazelcast.client.invocation.timeout.seconds"&gt;120&lt;/property&gt;
    &lt;/properties&gt;
    &lt;network&gt;
        &lt;cluster-members&gt;
            &lt;address&gt;192.168.2.49&lt;/address&gt;
            &lt;address&gt;192.168.5.67&lt;/address&gt;
        &lt;/cluster-members&gt;
        &lt;smart-routing&gt;true&lt;/smart-routing&gt;
        &lt;redo-operation&gt;true&lt;/redo-operation&gt;
        &lt;connection-timeout&gt;60000&lt;/connection-timeout&gt;
        &lt;connection-attempt-period&gt;3000&lt;/connection-attempt-period&gt;
        &lt;connection-attempt-limit&gt;2&lt;/connection-attempt-limit&gt;
        &lt;socket-options&gt;
            &lt;tcp-no-delay&gt;false&lt;/tcp-no-delay&gt;
            &lt;keep-alive&gt;true&lt;/keep-alive&gt;
            &lt;reuse-address&gt;true&lt;/reuse-address&gt;
            &lt;linger-seconds&gt;3&lt;/linger-seconds&gt;
            &lt;timeout&gt;-1&lt;/timeout&gt;
            &lt;buffer-size&gt;32&lt;/buffer-size&gt;
        &lt;/socket-options&gt;        
        &lt;ssl enabled="false"&gt;
            &lt;factory-class-name&gt;com.hazelcast.examples.MySslFactory&lt;/factory-class-name&gt;
        &lt;/ssl&gt;       
    &lt;/network&gt;
    &lt;executor-pool-size&gt;40&lt;/executor-pool-size&gt;
    &lt;native-memory enabled="false" allocator-type="POOLED"&gt;
        &lt;size unit="MEGABYTES" value="128" /&gt;
        &lt;min-block-size&gt;1&lt;/min-block-size&gt;
        &lt;page-size&gt;1&lt;/page-size&gt;
        &lt;metadata-space-percentage&gt;40.5&lt;/metadata-space-percentage&gt;
    &lt;/native-memory&gt;
    &lt;load-balancer type="random"/&gt;
    &lt;near-cache name="default"&gt;
        &lt;max-size&gt;2000&lt;/max-size&gt;
        &lt;time-to-live-seconds&gt;90&lt;/time-to-live-seconds&gt;
        &lt;max-idle-seconds&gt;100&lt;/max-idle-seconds&gt;
        &lt;eviction-policy&gt;LFU&lt;/eviction-policy&gt;
        &lt;invalidate-on-change&gt;true&lt;/invalidate-on-change&gt;
        &lt;in-memory-format&gt;OBJECT&lt;/in-memory-format&gt;
        &lt;local-update-policy&gt;INVALIDATE&lt;/local-update-policy&gt;
    &lt;/near-cache&gt;
    &lt;query-caches&gt;
        &lt;query-cache name="query-cache-name" mapName="map-name"&gt;
            &lt;predicate type="class-name"&gt;com.hazelcast.examples.ExamplePredicate&lt;/predicate&gt;
            &lt;entry-listeners&gt;
                &lt;entry-listener include-value="true" local="false"&gt;com.hazelcast.examples.EntryListener&lt;/entry-listener&gt;
            &lt;/entry-listeners&gt;
            &lt;include-value&gt;true&lt;/include-value&gt;
            &lt;batch-size&gt;1&lt;/batch-size&gt;
            &lt;buffer-size&gt;16&lt;/buffer-size&gt;
            &lt;delay-seconds&gt;0&lt;/delay-seconds&gt;
            &lt;in-memory-format&gt;BINARY&lt;/in-memory-format&gt;
            &lt;coalesce&gt;false&lt;/coalesce&gt;
            &lt;populate&gt;true&lt;/populate&gt;
            &lt;eviction eviction-policy="LRU" max-size-policy="ENTRY_COUNT" size="10000"/&gt;
            &lt;indexes&gt;
                &lt;index ordered="false"&gt;name&lt;/index&gt;
            &lt;/indexes&gt;
        &lt;/query-cache&gt;
    &lt;/query-caches&gt;
&lt;/hazelcast-client&gt;
</code></pre>

<p>Is I have any wrong configurations?</p>

<p>Here is Client code</p>

<pre><code>HazelcastInstance client = com.hazelcast.client.HazelcastClient.newHazelcastClient();
Map&lt;Integer, String&gt; customerMap = client.getMap("customers");
</code></pre>