[jira] Commented: (COCOON3-35) Support access to URLs that require authentication.
[ https://issues.apache.org/jira/browse/COCOON3-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712789#action_12712789 ] Reinhard Poetz commented on COCOON3-35: --- An optional dependency is fine by me too. And replying to your tweet http://twitter.com/BanDoga/status/1915444934 We could add a resource, that is protected by basic HTTP authentication, to our integration test suite. I already have implemented this for another project. I will see what I can do the next days. > Support access to URLs that require authentication. > --- > > Key: COCOON3-35 > URL: https://issues.apache.org/jira/browse/COCOON3-35 > Project: Cocoon 3 > Issue Type: New Feature > Components: cocoon-sax, cocoon-stax, cocoon-stringtemplate >Affects Versions: 3.0.0-alpha-1 >Reporter: Steven Dolg >Assignee: Cocoon Developers Team >Priority: Minor > Fix For: 3.0.0-alpha-2 > > Attachments: authentication.patch, authentication2.patch > > > Currently our pipeline components cannot access URLs that require > authentication. > While it is possible to create specialized versions of each component and add > authentication there, it shouldn't be too difficult to support this feature > in every pipeline component we currently have. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (COCOON3-35) Support access to URLs that require authentication.
[ https://issues.apache.org/jira/browse/COCOON3-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707656#action_12707656 ] Reinhard Poetz commented on COCOON3-35: --- The URLSource uses the URLUtils http://svn.apache.org/viewvc/excalibur/trunk/components/sourceresolve/api/src/main/java/org/apache/excalibur/source/SourceUtil.java?view=markup I think the best solution in this case is copying the encodeBASE64() method into the cocoon-pipeline module - it's just about 30 lines of code and it's rather unlikely that they have to be modified in the future. > Support access to URLs that require authentication. > --- > > Key: COCOON3-35 > URL: https://issues.apache.org/jira/browse/COCOON3-35 > Project: Cocoon 3 > Issue Type: New Feature > Components: cocoon-sax, cocoon-stax, cocoon-stringtemplate >Affects Versions: 3.0.0-alpha-1 >Reporter: Steven Dolg >Assignee: Cocoon Developers Team >Priority: Minor > Fix For: 3.0.0-alpha-2 > > Attachments: authentication.patch > > > Currently our pipeline components cannot access URLs that require > authentication. > While it is possible to create specialized versions of each component and add > authentication there, it shouldn't be too difficult to support this feature > in every pipeline component we currently have. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (COCOON3-35) Support access to URLs that require authentication.
[ https://issues.apache.org/jira/browse/COCOON3-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704771#action_12704771 ] Vadim Gritsenko commented on COCOON3-35: Reply to comment # ... ummm ... comment above. Yep, I found the code "responsible" for the "just works" behavior, it's in the URLSource: http://svn.apache.org/repos/asf/excalibur/trunk/components/sourceresolve/impl/src/main/java/org/apache/excalibur/source/factories/URLSource.java > Support access to URLs that require authentication. > --- > > Key: COCOON3-35 > URL: https://issues.apache.org/jira/browse/COCOON3-35 > Project: Cocoon 3 > Issue Type: New Feature > Components: cocoon-sax, cocoon-stax, cocoon-stringtemplate >Affects Versions: 3.0.0-alpha-1 >Reporter: Steven Dolg >Assignee: Cocoon Developers Team >Priority: Minor > Fix For: 3.0.0-alpha-2 > > Attachments: authentication.patch > > > Currently our pipeline components cannot access URLs that require > authentication. > While it is possible to create specialized versions of each component and add > authentication there, it shouldn't be too difficult to support this feature > in every pipeline component we currently have. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (COCOON3-35) Support access to URLs that require authentication.
[ https://issues.apache.org/jira/browse/COCOON3-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704485#action_12704485 ] Steven Dolg commented on COCOON3-35: That was my first idea too and so I created a test (completely outside Cocoon). I tried to access a website on an Apache httpd that requires authentication but got the 401 all the time. Is this already supported in Cocoon 2.x? Maybe we can "borrow" that... ;-) > Support access to URLs that require authentication. > --- > > Key: COCOON3-35 > URL: https://issues.apache.org/jira/browse/COCOON3-35 > Project: Cocoon 3 > Issue Type: New Feature > Components: cocoon-sax, cocoon-stax, cocoon-stringtemplate >Affects Versions: 3.0.0-alpha-1 >Reporter: Steven Dolg >Assignee: Cocoon Developers Team >Priority: Minor > Fix For: 3.0.0-alpha-2 > > > Currently our pipeline components cannot access URLs that require > authentication. > While it is possible to create specialized versions of each component and add > authentication there, it shouldn't be too difficult to support this feature > in every pipeline component we currently have. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (COCOON3-35) Support access to URLs that require authentication.
[ https://issues.apache.org/jira/browse/COCOON3-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704233#action_12704233 ] Vadim Gritsenko commented on COCOON3-35: Did you try embedding username/password into the resource URL? I have not tried it myself but I would expect it to "just work". E.g. http://user:passw...@host:port/path/to/some.xslt > Support access to URLs that require authentication. > --- > > Key: COCOON3-35 > URL: https://issues.apache.org/jira/browse/COCOON3-35 > Project: Cocoon 3 > Issue Type: New Feature > Components: cocoon-sax, cocoon-stax, cocoon-stringtemplate >Affects Versions: 3.0.0-alpha-1 >Reporter: Steven Dolg >Assignee: Cocoon Developers Team >Priority: Minor > Fix For: 3.0.0-alpha-2 > > > Currently our pipeline components cannot access URLs that require > authentication. > While it is possible to create specialized versions of each component and add > authentication there, it shouldn't be too difficult to support this feature > in every pipeline component we currently have. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.