Hi antony
maybe this sitemap fragment help you
<map:match pattern="internal/protected_*.flow">
<map:select type="request-method">
<map:when test="POST">
<map:call
continuation="{request-param:continuation-id}" />
</map:when>
<map:otherwise>
<map:call
function="protected_{1}">
<map:parameter
name="locale"
value="{1}" />
<map:parameter
name="userId"
value="{session-context:authentication/authentication/ID}" />
</map:call>
</map:otherwise>
</map:select>
</map:match>
On 6/22/06, Antony Quinn <[EMAIL PROTECTED]> wrote:
Hello,
My Cocoon application is protected with Tomcat basic authentication. How
can I obtain the authorised user name in the sitemap?
I found a reference to AuthenticationSelector
[http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html] but could
not find any documentation.
Cheers,
Antony
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Stavros S. Kounis
Osmosis networks & consulting http://www.osmosis.gr
Read my weblog at http://tools.osmosis.gr/blog
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]