Social authentication with Apache Shiro

余生长醉 提交于 2019-12-12 08:52:29

问题


What is the best way to integrate social authentication with Apache Shiro?
I've search this site as other sites and couldn't find an answer.


回答1:


You can have a look at this tutorial: http://mrdwnotes.wordpress.com/2011/11/28/using-apache-shiro-security-to-allow-login-via-facebook-part-2/

It explains how use Shiro to allow Facebook authentication.




回答2:


I would recommend using the official extension: https://github.com/bujiio/buji-pac4j which supports OAuth (Facebook, Twitter, Google...), CAS, SAML, OpenID (Connect) and GAE. See the demo: https://github.com/pac4j/buji-pac4j-demo



来源:https://stackoverflow.com/questions/16076398/social-authentication-with-apache-shiro

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!