I just upgraded my code (grails 1.3.5) and Shiro plugin to 1.1 and I cannot seem to get a true result from my calls toNow when I upgraded I did so and also used the --prefix setting in creating a DBRealm .. So I now have a package structure to my realm classes and my ShiroUser/ShiroRole etc.. domain classes. Everything runs fine and login is successful but all calls to hasRole return false.Code:SecurityUtils.hasRole("Administrator")
...and yes.. I do have the role created and assigned to my user. Db look accurate.
I tried adding logging statements to my ShiroDBRealm class, hasRole method but the log messages never appear on the console.
What did I break.... ? is there somewhere that the DBRealm class is passed to the SecurityUtils class and I just missed it ?
thanks


Reply With Quote
