简体   繁体   English

Azure Active Directory单一登录

[英]Azure Active Directory Single Sign On

I have a few websites that are running mojoPortal and Yet Another Forum, and several custom websites with ASP.net web forms (vb.net). 我有几个正在运行mojoPortal和“另一个论坛”的网站,以及几个具有ASP.net Web表单(vb.net)的自定义网站。 I plan to add additional ASP.net websites too. 我也计划添加其他ASP.net网站。 I would like to have a single sign on for all sites, be able to setup groups and roles per site, and store the user's full name, phone, email, and other custom fields. 我希望对所有站点都进行一次登录,能够为每个站点设置组和角色,并存储用户的全名,电话,电子邮件和其他自定义字段。

Each website currently has its own ASP.net membership database. 每个网站当前都有自己的ASP.net成员数据库。 There are about 1000 total users. 总用户数约为1000。 It would be nice to be able to import the current members into Azure AD, but it will be OK if each user has to create a new login account. 能够将当前成员导入到Azure AD中会很好,但是如果每个用户都必须创建一个新的登录帐户,那就可以了。 I've never used active directory but it sounds like Azure AD will do what I want. 我从未使用过活动目录,但听起来Azure AD可以满足我的要求。 I plan to move all websites to an Azure virtual machine. 我计划将所有网站移至Azure虚拟机。

Before I start testing, I want to find out if single sign on will work with various ASP.net websites, and how complicated the setup and configuration will be. 在开始测试之前,我想确定单点登录是否可以在各种ASP.net网站上使用,以及设置和配置的复杂程度。 Can I import users to AD? 我可以将用户导入AD吗? I guess if a website supports AD or LDAP, then AZure AD will work? 我想如果一个网站支持AD或LDAP,那么AZure AD可以工作吗? I'm hoping it will be as easy as adding the AD connection string in web.config? 我希望它会像在web.config中添加AD连接字符串一样容易?

Thanks! 谢谢!

It probably wont be as easy as adding the connection string. 它可能不会像添加连接字符串那样容易。 The Ad SSO service needs to be implemented using WIF (Windows Identity Framework) in your application. 您需要在应用程序中使用WIF(Windows身份框架)来实现Ad SSO服务。 If you are already using WIF then it could be that simple. 如果您已经在使用WIF,则可能就这么简单。 If not then you will need to implement WIF. 如果没有,那么您将需要实现WIF。

See this blog post to help you get a better understanding of what is involved. 请参阅此博客文章,以帮助您更好地了解所涉及的内容。

http://blogs.msdn.com/b/windowsazure/archive/2012/07/12/announcing-the-developer-preview-of-windows-azure-active-directory.aspx http://blogs.msdn.com/b/windowsazure/archive/2012/07/12/announcing-the-developer-preview-of-windows-azure-active-directory.aspx

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

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