且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ASP.Net和JSP之间的SSO

更新时间:2023-02-21 12:26:14

如果您需要auhtenticate翻过不同的域

If you need to auhtenticate accross different domains:

您可以实现自己的安全令牌服务(如Facebook,谷歌确实)下面是一些准备使用的实施:的 http://thinktecture.github.io/Thinktecture.IdentityServer.v2/

You can implement your own security token service (like facebook, google does) Here is some ready to use implementation: http://thinktecture.github.io/Thinktecture.IdentityServer.v2/

如果该站点上的相同的域(子)运行,然后你可以尝试这些领域内共享验证cookie。

If the sites are running on the same domain (subdomain), then you can try to share an authentication cookie within these domains.

这是解释文章:http://www.$c$cproject.com/Articles/106439/Single-Sign-On-SSO-for-cross-domain-ASP-NET-applic