Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38687

Basic auth is not performed by kerberos plugin so it can not be diabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • kerberos-sso-plugin
    • None

      Kerberos SSO plugin provides a way to allow Basic Auth alongside to negotiation. The effectively instructs spnego to advertise it in HTTP response header - but that is all.

      When browser submits the Basic Auth credentials, it is processed by jenkins.security.BasicHeaderProcessor that gets triggered before kerberos filter so at the time it is invoked user it already authenticated. That means:

      • There is no way to disable basic auth in Jenkins (with this plugin or without it) as users can still send the header.
      • The basic header authentication is actually performed against underlying security realm but not the kerberos KDC.

            t_westling Tomas Westling
            olivergondza Oliver Gondža
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: