开发者

Grails security filter and /index.gsp

I have an application where the login page is using Facebook Graph API and the login button is at http://localhost:8080/ or index.gsp. So, I created a filter that check every action on every controller controller:'', action:''

So, when I go to http://localhost:8080/ it's blocked as well. How can I ap开发者_开发问答ple the filter to every action and every controller except the homepage?

Thanks


Filter matching all controllers except the HomeController:

allButHome(controller:'home', invert:true) {
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜