but then wouldn't the  client just pass in any internal region name to that 
method and get access to any internal region? I believe in the REST code, any 
caller to that method is passing in the same string... (but I may have missed 
something).

In my thought, CacheForClientAccess is a child of InternalCache which has 
restricted access to the regions, but aside from that, it needs to access some 
"internal regions" for legacy reasons. InternalCache already has that 
capability in the "getRegion" method, so it doesn't need anymore method to get 
a special internal region. But for CacheClientAccess access, some special 
internal region will be allowed access by adding some additional method. My 2 
cents.


[ Full content available at: https://github.com/apache/geode/pull/2853 ]
This message was relayed via gitbox.apache.org for 
[email protected]

Reply via email to