Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-456

Unable to accept cookie (for authentication) with Wagon-HTTP-LightWeight implementation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Incomplete
    • Affects Version/s: 2.10
    • Fix Version/s: None
    • Component/s: wagon-http-lightweight
    • Labels:
    • Environment:

      Description

      Our private corporate Maven repository use cookie to manage authentication.
      I've configured Wagon:

          <settings>
            <servers>
              <server>
                <id>my-corporate-maven-repo</id>
                <configuration>
                  <httpConfiguration>
                    <all>
                      <params>
                        <param>
                          <name>http.protocol.cookie-policy</name>
                          <!-- Value from: https://docs.oracle.com/javase/8/docs/api/java/net/CookiePolicy.html -->
                          <value>ACCEPT_ALL</value>
                        </param>
                      </params>
                    </all>
                  </httpConfiguration>
                </configuration>
              </server>
            </servers>
          </settings>
      

      Unfortunally, is doesn't work

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jcronier jycr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: