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

HR client auth over kerberos has wrong AccessControlContext

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Beta1
    • None
    • Test Suite
    • None

      When HotRod client authneticate to HR server via kerberos, HR server obtains wrong AccessControlContext, which doesn't contain appropriate subject (to be more clear it's in AuthorizationManagerImpl.checkPermission()). Returned subject is null and moreover this default AccessControlContext allows to do anything, so effectively the HR client can do anything, no matter what the permissions are.

      Need to mention that in this case java SecurityManager is turned off, but as the same setup works with e.g. MD5 auth, we should keep some consistency and it shouldn't work in any case (and SecurityManager to be turned on should be a hard requirement to ISPN auth works) or it should work also in case of krb auth.

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

                Created:
                Updated:
                Resolved:
                Archived: