开发者

Traditional Auth, Facebook Connect & Grails

开发者 https://www.devze.com 2022-12-21 08:47 出处:网络
I am writing an app which needs to have both the traditional form of user auth, and Facebook Connect. I am using groovy/grails for this application.

I am writing an app which needs to have both the traditional form of user auth, and Facebook Connect. I am using groovy/grails for this application.

Grails luckily has JSecurity plugin, Acegi Plugin and Facebook Connect. The Acegi plugin claims to have OpenId and Facebook Connect suppo开发者_StackOverflowrt too. Anyone's got any experience getting it to work?

Should I go with Acegi (with its Facebook Connect support), or modify Jsecurity to integrate with the Facebook Connect plugin? Which one is easy to implement? Based on my little research, I get the feeling its may not be a smooth ride that it usually is with many things in Grails.

Ideally, I would like the user to login using any or both of the method.


I have yet to try this myself, but according to this doc, it's pretty simple to use the Acegi Plugin with Facebook Connect:

http://www.grails.org/AcegiSecurity+Plugin+-+Facebook+Connect+Integration

Good luck!

0

精彩评论

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

关注公众号