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

Basic authentication information not sent on versions post 2.14.1

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment