简体   繁体   English

如何使用Wordpress在Spring Web应用程序中对用户进行身份验证?

[英]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.

相关问题 如何在Spring中为系统用户验证计划进程? - How can I authenticate a system user for scheduled processes in Spring? 如何使用DaoAuthenticationProvider以编程方式使用Spring Security对用户进行身份验证 - How can I programmatically authenticate user with Spring Security using DaoAuthenticationProvider 如何为我的应用程序验证 Reddit 用户? - How can I authenticate a Reddit user for my application? 我想在Web应用程序中进行身份验证,并对桌面应用程序使用相同的凭据。 我怎么做? - I want to Authenticate in a Web Application & use the Same Credentials for Desktop Application. How do I do that? 如何通过让用户使用 Web 应用程序来查找用户的计算机制造商和型号? - How can I find a User's computer manufacture and model number by having the user use a web application? Spring如何在RESTful Web应用程序中进行身份验证(登录/注销)? - How to authenticate (login / logout) in RESTful web application in Spring? 我如何使用内部应用服务器开发Spring Web应用程序? - How i can develop spring web application with application server inside? 我如何有效地禁止用户使用 Spring Web 应用程序 - How do i ban a user from a spring web application effectively 如何在没有任何端口的情况下直接使用 url 访问我的 spring 启动 web 应用程序? - How can I directly use url to access my spring boot web application without any port? 如何使用Spring Security针对db或ldap对用户进行动态身份验证? - How can I dynamically authenticate a user against the db or ldap with spring security?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM