Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10663

Basic authentication information not sent on versions post 2.14.1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.18.1
    • Fix Version/s: 2.18.2, 2.19.0
    • Component/s: camel-cmis
    • Labels:
      None
    • Environment:

      Ubuntu, Spring-Boot, Alfresco 5 Enterprise

    • Estimated Complexity:
      Unknown

      Description

      When sending a request from Apache Camel to Alfresco using camel-cmis component the authentication details are not sent over and Alfresco replies with a HTTP 401 Unauthorised response.

      The route looks like this:

      from("jms:alfresco.downloadNodes")
      .setBody(xpath("/search/@query", String.class))
      .setHeader("CamelCMISRetrieveContent", constant(true))
      .to("cmis://http://localhost:8080/alfresco/cmisatom?username=admin&password=admin&queryMode=true")
      .process(new FileContentProcessor());

      The request works fine using camel-cmis 2.14.1 but it doesn't work when using version 2.18.1

        Attachments

        1. camel-cmis-version-2.14.1.png
          321 kB
          Miguel Rodriguez
        2. camel-cmis-version-2.18.1.png
          214 kB
          Miguel Rodriguez

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              MiguelRodriguez Miguel Rodriguez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: