开发者

Grails security filter and /index.gsp

开发者 https://www.devze.com 2023-03-20 17:04 出处:网络
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 controlle

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

精彩评论

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