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

Basic authentication information not sent on versions post 2.14.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.18.1
    • 2.18.2, 2.19.0
    • camel-cmis
    • None
    • Ubuntu, Spring-Boot, Alfresco 5 Enterprise

    • 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.18.1.png
          214 kB
          Miguel Rodriguez
        2. camel-cmis-version-2.14.1.png
          321 kB
          Miguel Rodriguez

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: