本文介绍了启用单点登录桌面应用程序和网站之间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个丰富的客户端前端(在.net)的客户端/服务器应用程序,也是一个管理门户(Asp.Net)。目前,用户必须签署对双方的富客户端,并在网站上。我们希望,使他们能够登录到富客户端,而不必登录到该网站,如果他们启动它从客户​​端中。我们怎样才能做到这一点?

We have a client/server application with a rich client front end (in .Net) and also an administration portal (Asp.Net). Currently users have to sign on in both the rich client and on the website. We'd like to enable them to sign into the rich client, but not have to sign on to the website if they launch it from within the client. How can we do that?

走另一条路是那么重要,但将是很好,如果可能的话:注册到该网站,则不必登录到富客户端

Going the other way is less important, but would be nice if possible: signing on to the website, then not having to sign into the rich client.

推荐答案

一个可能的解决方案是:

A possible solution is:

  • 登录到富客户端
  • 随机令牌由服务器产生并存储againsed所述登录用户
  • 在富客户端获取令牌从服务器
  • 该令牌用于在url指向网站
  • 去到该网址(使用链接或富客户端的一个按钮)将自动登录的用户并重置令牌

这篇关于启用单点登录桌面应用程序和网站之间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 20:19