[
https://issues.apache.org/activemq/browse/CAMEL-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Mietz Egli updated CAMEL-2187:
-----------------------------------
Attachment: auth-fix.diff
patch for src/main/java/org/apache/camel/component/jcr/JcrEndpoint.java to fix
parsing of JCR username/password off URI (apply in camel-jcr dir).
> jcr URI authentication tokens are not parsed correctly
> ------------------------------------------------------
>
> Key: CAMEL-2187
> URL: https://issues.apache.org/activemq/browse/CAMEL-2187
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-jcr
> Affects Versions: 1.6.0
> Environment: java version "1.6.0_15"
> Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)
> Reporter: Paul Mietz Egli
> Attachments: auth-fix.diff
>
>
> Documentation for the camel-jcr component indicates that the repository
> username and password can be provided on the endpoint URI as
> jcr://user:p...@repository/path. The JcrEndpoint class does not parse these
> correctly, however -- URI.getUserInfo() returns "user:pass", and
> URI.getAuthority() returns "user:p...@repository" as per the javadocs for
> java.net.URI and RFC-2396.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.