简体   繁体   中英

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? 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.

I would like to have a wordpress site for static information and for the more dynamic type information use a spring web application. Similar to what you would do with an apache web server hosting html files and move to tomcat for the jsp.

It's quite easy to do OpenID authentication with Spring Security . If you don't want to do it yourself you may want to consider using Janrain Engage to support all kinds of "social logins".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM