cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1249) [Patch] XMLDBSource should accept scheme://user:pass@host:port/path URIs
Date Tue, 25 Oct 2005 05:40:55 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1249?page=all ]

Ralph Goers updated COCOON-1249:
--------------------------------

    Bugzilla Id:   (was: 30928)
      Component: Blocks: XML-DB
                     (was: Blocks: (Undefined))
    Description: 
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.

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


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


Mime
View raw message