A quick note:
I found a blog nice simple recipe for basic http auth using Shiro in Grails. However, since this was published, JSecurity has been renamed Apache Shiro and so some minor changes need to be made at the end of the blog.
I posted them as a comment to that page but will repeat them here for good measure:
the last additions to Config.groovy when using Shiro should be:
security.shiro.filter.config = """
[filters]
authcBasic = org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter
authcBasic.applicationName = Demo app name
[urls]
/rest/** = authcBasic
"""
Hi Richard,
ReplyDeleteThx for posting this, the original link is broken hence could not gather more info..
It would very benefical if I find some info for the smae
Thanks for alerting me to this.
ReplyDeleteThe waybackmachine has made a copy at:
http://web.archive.org/web/20081212022311/http://www.grassr.com/wordpress/?p=18
Thank You posting the link
ReplyDeletei was able to browse the article