Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12716

Hot Rod iteration shouldn't require ADMIN permission

    XMLWordPrintable

Details

    Description

      When try to iterate over keys/valis via Hot Rod client (RemoteCache), it fails with the following error:

      org.infinispan.client.hotrod.exceptions.HotRodClientException: java.lang.SecurityException: ISPN000287: Unauthorized access: subject '<subject>' lacks 'ADMIN' permission
      

      Debugging the server, it shows that DefaultIterationManager.start() retrieves the EncoderRegistry from GlobalComponentRegistry, which requires admin permissions. The retrieval shouldn't ask for admin (in this case).

      Original issue, from StackOverflow: https://stackoverflow.com/questions/66091661/infinispan-11-cannot-retrieve-the-keyset-of-a-cache-ispn000287

      Attachments

        Issue Links

          Activity

            People

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: