Caused by: java.lang.UnsupportedOperationException: Use Pool APIs for doing operations when multiuser-secure-mode-enabled is set to true.Caused by: java.lang.UnsupportedOperationException: Use Pool APIs for doing operations when multiuser-secure-mode-enabled is set to true. at org.apache.geode.cache.client.internal.PoolImpl.authenticateIfRequired(PoolImpl.java:1510) ~[geode-core-1.12.0.jar:na] at org.apache.geode.cache.client.internal.PoolImpl.execute(PoolImpl.java:773) ~[geode-core-1.12.0.jar:na] at org.apache.geode.cache.client.internal.GetAllOp.execute(GetAllOp.java:72) ~[geode-core-1.12.0.jar:na]
The root cause is we should use RegionService API instead of Pool API if multi-user authentication is enabled.
As to Spring code: (According to my limited Spring Data Geode knowledge)
getRegion() may need be overloaded to support regionService authenticatedView .
russellyou opened DATAGEODE-360 and commented
When multi-user auth is enabled...
A call to a Spring Data Repository query method:
Results in an error:
The root cause is we should use
RegionService
API instead ofPool
API if multi-user authentication is enabled.As to Spring code: (According to my limited Spring Data Geode knowledge)
getRegion()
may need be overloaded to support regionService authenticatedView .No further details from DATAGEODE-360