[英]How can I use Wordpress to authenticate a user in a spring web application?
Is there a way to authenticate a user using wordpress security, something similar to authenticating with facebook or twitter? 有没有一种方法可以使用Wordpress安全性对用户进行身份验证,类似于通过Facebook或Twitter进行身份验证? It seems that when using facebook to authenticate, an application gets something injected into its session to allow the requesting application to know that the user has been authenticated and is logged in. Is there something in wordpress or something I can write to provide this facility.
看来,当使用Facebook进行身份验证时,应用程序会向其会话中注入一些内容,以使发出请求的应用程序可以知道用户已通过身份验证并已登录。在wordpress中是否有某些内容或我可以写出一些内容来提供此功能。
I would like to have a wordpress site for static information and for the more dynamic type information use a spring web application. 我想要一个wordpress网站来获取静态信息,而对于更动态的类型信息,请使用spring Web应用程序。 Similar to what you would do with an apache web server hosting html files and move to tomcat for the jsp.
类似于您使用托管html文件的apache Web服务器执行的操作,然后将其移到tomcat以获得jsp。
It's quite easy to do OpenID authentication with Spring Security . 使用Spring Security进行OpenID认证非常容易。 If you don't want to do it yourself you may want to consider using Janrain Engage to support all kinds of "social logins".
如果您不想自己做,则可以考虑使用Janrain Engage支持各种“社交登录”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.