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

Reply via email to