Reply to my own message, my fault, it works now :)

Johann




----- Original Message -----
From: "Johann Romefort" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 18, 2002 6:31 PM
Subject: Getting session context data from Input Module


> Hi,
>
> Is there anyway to authentication data from a sunrise session context
> directly into the sitemap with the help
> of the Input Module. In the documentation I found the following, but it
does
> not seems to work for me (last CVS version)
>
> -------
> Both actions, the auth-protect and the auth-loggedIn action return - if
the
> user is logged in for the given handler - all values from the context to
the
> sitemap, e.g. ID, role etc. These values can be used within the other
> components:
>
> <map:match pattern"protected">
>   <map:act type="auth-protect">  <!-- protect the resource -->
>     <map:parameter name="handler" value="myhandler"/>
>
>     <!-- Append the ID of the user to the file name -->
>     <map:generate src="resource_{ID}.xml"/>
>     <map:transform src="toHTML"/>
>     <map:serialize/>
>
>   </map:act>
> </map:match>
>
> ----
>
>
> Thanks in advance!!
>
> johann
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to