【问题标题】:.NET authentication - what is difference between SessionAuthenticationModule.SignOut() and WSFederationAuthenticationModule.SignOut().NET 身份验证 - SessionAuthenticationModule.SignOut() 和 WSFederationAuthenticationModule.SignOut() 有什么区别
【发布时间】:2014-10-12 20:59:49
【问题描述】:

我是 .NET SSO(单点登录和注销)和 STS 的新手。对于我的 ASP.NET MVC 5 和 C# 应用程序,要实现 Single Sign Out 方法,我应该使用以下 2 种方法中的哪一种?

FederatedAuthentication.SessionAuthenticationModule.SignOut();

FederatedAuthentication.WSFederationAuthenticationModule.SignOut();

感谢您的帮助。

【问题讨论】:

    标签: asp.net authentication single-sign-on adfs adfs2.0


    【解决方案1】:

    两者都需要。

    参考:Configuring an ASP.NET site to use WS-Federation

    “FAM 负责查看传入请求和传出响应,以确定传入请求是需要处理的联合令牌,还是传出响应是需要转换为 401 的重定向到 STS。

    收到并解析令牌后,FAM 使用 SAM 发出包含用户标识的 cookie。然后,SAM 会在后续请求中使用此令牌对用户进行身份验证。"

    【讨论】:

      猜你喜欢
      • 2016-04-22
      • 2011-04-13
      • 2020-05-08
      • 2020-07-16
      • 2013-04-19
      • 1970-01-01
      • 2012-03-21
      • 1970-01-01
      • 2015-04-08
      相关资源
      最近更新 更多