Maven
  1. Maven
  2. MNG-4792

Preemptive authentication doesn't work

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 3.0.4
    • Labels:
      None
    • Environment:
      Sun Java 1.6.0_21, Windows 7
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      It seems preemptive authentication in Maven using httpclient wagon provider doesn't work. With configuration taken form [1] Maven knock to repository (tested with Artifactory 2.2.5) as anonymous user.

      <server>
      <id>repo-id</id>
      <username>user</username>
      <password>pass</password>
      <configuration>
      <wagonProvider>httpclient</wagonProvider>
      <httpConfiguration>
      <put>
      <params>
      <param>
      <name>http.authentication.preemptive</name>
      <value>%b,true</value>
      </param>
      </params>
      </put>
      </httpConfiguration>
      </configuration>
      </server>

      Confirmed by independent party also with Maven 2.2.1. I can sniff http traffic if needed.

      [1] - http://maven.apache.org/guides/mini/guide-http-settings.html

        Issue Links

          Activity

          Chris Tanger made changes -
          Field Original Value New Value
          Link This issue is related to WAGON-304 [ WAGON-304 ]
          Chris Tanger made changes -
          Link This issue relates to WAGON-304 [ WAGON-304 ]
          Olivier Lamy made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Olivier Lamy [ olamy ]
          Fix Version/s 3.0.4 [ 17215 ]
          Konrad Windszus made changes -
          Link This issue relates to WAGON-405 [ WAGON-405 ]

            People

            • Assignee:
              Olivier Lamy
              Reporter:
              Marcin Zajaczkowski
            • Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: