简体   繁体   English

单点登录.NET

[英]Single Sign on for .NET

I have been trying to implement a WEB SSO service provider plugin for .NET web applications using C#. 我一直在尝试使用C#为.NET Web应用程序实现一个WEB SSO服务提供程序插件。 I will be using shibboleth Identity provider. 我将使用shibboleth身份提供商。 I have implemented the same for java applications using OpenSAML library. 我已经使用OpenSAML库为java应用程序实现了相同的功能。 I want to know which library is used to implement it in .NET applications. 我想知道在.NET应用程序中使用哪个库来实现它。 Any pointer or suggestion is welcome. 任何指针或建议都是受欢迎的。

There are no .NET libraries as I know. 据我所知,没有.NET库。 But there are some projects online you may take a look. 但是有一些在线项目你可以看看。 Example and basic SSO. 示例基本SSO。

Kentor.AuthServices (or Kentor.AuthServices.Mvc ) for ASP.NET MVC applications is a basic SP implementation for ASP.NET MVC built on top of .NET 4.5. 用于ASP.NET MVC应用程序的Kentor.AuthServices (或Kentor.AuthServices.Mvc )是基于.NET 4.5构建的ASP.NET MVC的基本SP实现。 Install the package and add some settings in web.config - no coding required. 安装软件包并在web.config中添加一些设置 - 无需编码。

The functionality is currently quite limited, so if you have more advanced scenarios it might not be enough (but pull requests are welcome). 目前功能非常有限,因此如果您有更多高级方案,则可能还不够(但欢迎拉取请求)。

Refer SAML : A SAML stack . 请参阅SAML:SAML堆栈

and

SAML : SAML connectivity / toolkit . SAML:SAML连接/工具包

There are a number of libraries as above, both open source and commercial. 上面有许多库,包括开源和商业。

Or ( just for completeness ) you could go something like WIF --> (WS Federation) --> ADFS --> (SAML) --> Shibboleth 或者(只是为了完整性)你可以像WIF那样 - >(WS Federation) - > ADFS - >(SAML) - > Shibboleth

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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