Description of problem: Related to BZ-1156318. HR authentication succeeds with a clustered cache, but executing the RemoteCache.size() command throws SecurityException: Hot Rod Client Exception. org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for message id[49] returned server error (status=0x85): io.netty.handler.codec.DecoderException: org.infinispan.server.hotrod.HotRodException: java.lang.SecurityException: ISPN000287: Unauthorized access: subject 'null' lacks 'ADMIN' permission at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:142) at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:96) at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56) at org.infinispan.client.hotrod.impl.operations.StatsOperation.executeOperation(StatsOperation.java:42) at org.infinispan.client.hotrod.impl.operations.StatsOperation.executeOperation(StatsOperation.java:22) at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:49) at org.infinispan.client.hotrod.impl.RemoteCacheImpl.size(RemoteCacheImpl.java:206) at com.amentra.jdg6.Viewer.main(Viewer.java:38) Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Adding to JDG 6.4.0 ER3 payload
From the PR, it looks like this was handled as part of the fix for ISPN-4882
PR: https://github.com/infinispan/jdg/pull/314
PR: https://github.com/infinispan/jdg/pull/313
Size operation now work, however requires ADMIN permission instead of BULK_READ. Marking as verified, as this issue is tracked as BZ #1161479