Hi. 

I have a question I hope someone here can help me solve:

I have a JSF application running on glassfish 2.2.1, using java 1.5. My
ShiroRealm is a JDBC connection to a Postgres server. 

One jsp-page I made contains the following code:

   <f:verbatim>
       <shiro:hasRole name="superadmin">superadmin<br/></shiro:hasRole>
   </f:verbatim>

   <f:verbatim>
      <shiro:hasPermission
name="cpadmin:list">cpadmin:list</shiro:hasPermission>
   </f:verbatim>   

My problem is: The first part shows, whereas the second one doesn't. 

Extract from database (using the standard schema):

select * from roles_permission;
 id | permission |   role_name    
----+------------+----------------
  1 | superadmin | admin:*
  2 | superadmin | cpadmin:list


select * from user_roles;

 id | role_name  | username 
----+------------+----------
  1 | superadmin | kait
  2 | superadmin | superduper

Hope someone can help me.

- Kai
-- 
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Shiro-and-JSF-problems-tp5700715p5700715.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to