try {session-context:authentication/authentication/role}
-----Original Message-----
From: Davide [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 12:59 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]