Miguel Rodriguez created CAMEL-10663:
----------------------------------------
Summary: Basic authentication information not sent on versions
post 2.14.1
Key: CAMEL-10663
URL: https://issues.apache.org/jira/browse/CAMEL-10663
Project: Camel
Issue Type: Bug
Components: camel-cmis
Affects Versions: 2.18.1
Environment: Ubuntu, Spring-Boot, Alfresco 5 Enterprise
Reporter: Miguel Rodriguez
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)