shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pkerrigan <>
Subject Shiro tags not working in Icefaces page.
Date Sun, 10 Oct 2010 07:49:49 GMT

I have tried to convert the Icefaces with spring security example program to
use Shiro instead of spring security, and while I can authenticate a user
and roles appear to work with Icefaces components I have been unable to get
tags to work.

If I have a conditional display of a field depending on role the field
always gets displayed.


<html xmlns:jsp=""
      xmlns:f="" version="2.0"
    <title>Shiro Security with ICEfaces Components</title>
<p>Hi <shiro:guest>Guest</shiro:guest><shiro:user><shiro:principal/>
logged on</shiro:user>
<shiro:hasRole name="special">
                    value="Shiro authenticated users with special role can
see this message."/>

Can anybody tell me what I am doing wrong?

Philip Kerrigan
View this message in context:
Sent from the Shiro User mailing list archive at

View raw message