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]



Reply via email to