Uploaded image for project: 'Hot Rod Native client'
  1. Hot Rod Native client
  2. HRCPP-384

Calling unprivileged AddClientListener action leads to general exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 8.1.1.Final
    • Core
    • None

      When a user is not authorized to call AddClientListener on the cache they receive Infinispan.HotRod.Exceptions.Exception. But calling any other unauthorized operation leads to a more specific exception Infinispan.HotRod.Exceptions.HotRodClientException.
      The AddClientListener operation should probably throw HotRodClientException too. This behaviour can be seen in the Java client.

            mgencur Martin Gencur
            mgencur Martin Gencur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: