shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Phillips <>
Subject Upgraded From JSecurity 0.9 To Shiro 1.1.0 - Permissions No Longer Work
Date Sun, 09 Jan 2011 02:56:32 GMT

I'm updating a series of Shiro tutorials I wrote in April 2009, when Shiro
was knows as JSecurity and was in version 0.9.  These tutorial are linked to
from the Shiro website (

The first four tutorials updated just fine.  However, my last tutorial on
how to use permissions in Shiro has a problem.  After upgrading to Shiro
1.1.0 - permissions no longer work.  Everything else is working - user
authentication and role checking.

I reviewed the documentation and API for 1.1.0 and it looks like permissions
should work the same as they did in JSecurity 0.9.

The updated article with download is here:

Both the roles admin and staff have permission of secure in the
roles_permissions table.  But when logging in with users (
or who have those roles, the
subject.isPermitted("secure") statement returns false.

Any help would be appreciated so that I can this last tutorial working
correctly with Shiro 1.1.0.

Bruce Phillips

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

View raw message