You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ERIC FOONG CHEE SOON (Jira)" <ji...@apache.org> on 2021/01/17 05:47:00 UTC

[jira] [Created] (IGNITE-14005) IgniteClient.cache() method

ERIC FOONG CHEE SOON created IGNITE-14005:
---------------------------------------------

             Summary: IgniteClient.cache() method
                 Key: IGNITE-14005
                 URL: https://issues.apache.org/jira/browse/IGNITE-14005
             Project: Ignite
          Issue Type: Bug
          Components: binary
    Affects Versions: 2.9.1
            Reporter: ERIC FOONG CHEE SOON


I use apache ignite 2.9.1

Found that org.apache.ignite.client.IgniteCache.cache() method does not have security check. 

For example:

ClientConfiguration config = new ClientConfiguration()
 .setAddresses("127.0.0.1:10800")
 .setUserName("user01")
 .setUserPassword(null);

try (IgniteClient client = Ignition.startClient(config)) {
 ClientCache<String, String> cache = client.cache("common_cache");
 cache.put("key", "some_value");
 System.out.println("Cache " + cache.getName() + " key=" + cache.get("key"));
 }

 

Found that client.cache("common_cache") does not have the security permission check.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)