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

Optimize REST authentication

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      The REST server doesn't handle authentication very efficiently:

      • it always checks for authentication even when it's disabled
      • it obtains the authenticated Subject from the realm on every request

      we should optimize it as follows:

      • move authentication to a dedicated channel handler which is installed only when enabled
      • keep the authenticated Subject in the authentication handler, as well as any headers required by the mech in use to quickly validate the request and skip interaction with the security realm for keep-alive connections

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: