开发者

need some tutorials on Grails Shiro Security [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question 开发者_开发知识库 can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜