Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.18.1
-
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