Hi Kai, Are you using JSP or Facelets as view handler? My tags only work with Facelets. Also, for now, it only works with JSF 1.X, If you can, use Facelets, as it's a better solution for JSF's view handler (it was created just for that) and has been incorporated as the default view handler technology in JSF 2.
As for the permissions in the database, I didn't use the JDBC Realm yet, so I can't help you with that. Try using the IniRealm first ( http://shiro.apache.org/configuration.html#Configuration-%255Cusers%255C) so you can check if the problem is with your database or with the tags (most probably is with the tags) Regards, Deluan. On Thu, Nov 4, 2010 at 4:53 AM, kait <[email protected]> wrote: > > Hi Les, and thanks for answering. > > No, I haven't tried Deluan's Shiro JSF tags yet. I'll try that as well. > What > I find confounding though, is that all tags /except/ hasPermission works, > indicating > > a) I am doing it the wrong way > b) There is something wrong in the way I've added permission to the > database > > Being quite new to JSF and newer still to Shiro, I am somewhat lost to what > causes this. > > - Kai > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/Shiro-and-JSF-problems-tp5700715p5704312.html > Sent from the Shiro User mailing list archive at Nabble.com. >
