You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Paul Mietz Egli (JIRA)" <ji...@apache.org> on 2009/11/24 02:19:52 UTC
[jira] Commented: (CAMEL-2187) jcr URI authentication tokens are
not parsed correctly
[ https://issues.apache.org/activemq/browse/CAMEL-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56038#action_56038 ]
Paul Mietz Egli commented on CAMEL-2187:
----------------------------------------
see CAMEL-2188 for a patch file that also addresses this issue.
> 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
> Assignee: Hadrian Zbarcea
> Priority: Minor
> Fix For: 2.2.0
>
> 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:pass@repository/path. The JcrEndpoint class does not parse these correctly, however -- URI.getUserInfo() returns "user:pass", and URI.getAuthority() returns "user:pass@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.