You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "David Crossley (JIRA)" <ji...@apache.org> on 2006/03/01 08:16:39 UTC

[jira] Updated: (COCOON-1249) [Patch] XMLDBSource should accept scheme://user:pass@host:port/path URIs

     [ http://issues.apache.org/jira/browse/COCOON-1249?page=all ]

David Crossley updated COCOON-1249:
-----------------------------------

    Bugzilla Id:   (was: 30928)
     Other Info: [Patch available]

> [Patch] XMLDBSource should accept scheme://user:pass@host:port/path URIs
> ------------------------------------------------------------------------
>
>          Key: COCOON-1249
>          URL: http://issues.apache.org/jira/browse/COCOON-1249
>      Project: Cocoon
>         Type: Improvement
>   Components: Blocks: XML-DB
>     Versions: 2.1.5
>  Environment: Operating System: other
> Platform: Other
>     Reporter: lpb+apache
>     Assignee: Cocoon Developers Team
>     Priority: Minor
>  Attachments: local-login.patch
>
> It should be possible to have the following in the sitemap:
> <map:generate
> src="xmldb:db://{session-attr:user}:{session-attr:pass}@host:port/db/etc.xml" />
> so each user can have their own authentication to the XMLDB as necessary. This
> corresponds to the missing "application managed security" paradigm; currently
> XMLDBSource only implements "container managed security". 
> The attached patch accomplishes this goal. UserInfo in the URI overrides
> "container managed" credential information if it exists. This seems consistent
> with J2EE.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira