cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@digitalinsight.com>
Subject RE: Authentication FW. Controlling the flow depending on the role
Date Tue, 27 Jan 2004 00:06:20 GMT
try {session-context:authentication/authentication/role}

-----Original Message-----
From: Davide [mailto:dagarlas@aliceposta.it]
Sent: Monday, January 26, 2004 12:59 PM
To: users@cocoon.apache.org
Subject: RE: Authentication FW. Controlling the flow depending on the
role


At 07:29 PM 26-01-04, you wrote:
>Davide,
>
>The auth framework stores the output from the authentication resource in
the
>session context. I think you can use the simple selector along with the
>session context input module to get at the role. Something like:
>
><map:select type="simple">
>   <map:parameter name="value"
>value="{session-context:authentication/role}"/>
>   <map:when test="admin">
>     ...
>   </map:when>
>   <map:otherwise>
>     ...
>   </map:otherwise>
></map:select>
>
>Morley

it doesn't work.. 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message