cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Billard <>
Subject Re: Authentication - passing user info to non-protected match?
Date Fri, 16 Jul 2004 07:11:59 GMT
Derek Hohls wrote:
> Olivier
> Good to know there is a solution... would you mind
> providing me with an example of 
> (a) how the variable(s) info is stored using SessionPropagatorAction
You can have a look at the javadoc here, there is an example

Basically a use is like this :
<map:act type="session-propagator">
       <map:parameter name="userId" value="{ID}"/>
       <paramater name="userName" value="{name}">

Parameters "example" and "example1" are propagated to the session

> (b) how that inf can be passed as a parameter in the sitemap?
Use the session input module :
<map:transform src="stylesheets/sheet.xsl">
   <map:parameter name="userId" value="{session-attr:userId}"/>

Hope this helps,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message