hey all i need some good tutorials demonstrating all the aspects of grails shiro securty, that how to use them using some example. i already have read the tutorials explained in grails site but i need some tutorials with examples. Please help friends...
m waiting for some positive response.
the shiro-plugin is great regarding it's functionality, but not too well documented - I agree. So I guess you will not find any additional tutorials beyond what you already know.
As with most of the plugins, they are mostly simple wrappers around the main library, so a good start to understand shiro is the shiro documentation.
Next problem is to understand how Peter Ledbrook mapped the shiro functionality to grails features. For me, the most important thing was that shiro methods like SecurityUtils.subject.isPermitted
are mapped to the methods you'll find in the realm. By modifying the realm file, you'll be able to do nearly all tricks you need to do (for instance get some permissions through LDAP).
If you could be more specific on what you need to know about shiro in detail, maybe I could give you a better answer :-)
You might check out the nimble plugin (http://www.grails.org/plugin/nimble). It uses Shiro and would probably be a good example.
You can find a sample app on the Grails site you just need to check out.
another one is here and here and some Videos on google
I know I am late but I actually had the same question today and following Ralf answer lead me here: http://shiro.apache.org/10-minute-tutorial.html, which I think is the best place to start
精彩评论