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/17 22:59:52 UTC

[jira] Created: (CAMEL-2187) jcr URI authentication tokens are not parsed correctly

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


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.


[jira] Commented: (CAMEL-2187) jcr URI authentication tokens are not parsed correctly

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56519#action_56519 ] 

Claus Ibsen commented on CAMEL-2187:
------------------------------------

Hadrian was this fixed with that other JCR patch? 

Can you follow up on this and ensure we got all these JCR patches in 2.2?

> 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.


[jira] Updated: (CAMEL-2187) jcr URI authentication tokens are not parsed correctly

Posted by "Paul Mietz Egli (JIRA)" <ji...@apache.org>.
     [ 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: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.


[jira] Resolved: (CAMEL-2187) jcr URI authentication tokens are not parsed correctly

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2187.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.2.0)
                   2.1.0

Committed in the 2.1 release.

> 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.1.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.


[jira] Updated: (CAMEL-2187) jcr URI authentication tokens are not parsed correctly

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-2187:
-------------------------------

         Priority: Minor  (was: Major)
    Fix Version/s: 2.2.0

> 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.


[jira] Commented: (CAMEL-2187) jcr URI authentication tokens are not parsed correctly

Posted by "Paul Mietz Egli (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Assigned: (CAMEL-2187) jcr URI authentication tokens are not parsed correctly

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-2187:
----------------------------------

    Assignee: Hadrian Zbarcea

> 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
>         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.


[jira] Assigned: (CAMEL-2187) jcr URI authentication tokens are not parsed correctly

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-2187:
----------------------------------

    Assignee: Hadrian Zbarcea  (was: Hadrian Zbarcea)

> 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
>         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.