Windows Sharepoint Services (WSS) 和表单身份验证 - 将这些凭据传递给其他 ASP.NET 表单身份验证应用程序
抱歉,这里的标题很糟糕:)
我已为表单身份验证配置了 WSS。 我希望我的用户登陆 WSS 登录页面,登录,然后向他们提供指向其他 ASP.NET 应用程序的链接,这些应用程序也配置为表单身份验证。 我想实现一个类似单点登录的解决方案(我说“ish”的原因是我不打算像 SAML 那样实现 SSO 本身,而是实现不强迫用户的类似效果重新输入他们的凭据)。 您可以假设 WSS 使用的表单身份验证凭据与我想要提供链接的后续表单身份验证应用程序中的凭据相同。
这是否需要 WSS 端的代码,或者我可以在 ASP.NET/IIS 配置端以非编程方式实现此操作吗?
谢谢
Sorry for the poor title here :)
I have my WSS configured for Forms Authentication. I'd like my users to land on the WSS login page, log in, and then provide them links to other ASP.NET apps which also are configured for forms authentication. I'd like to achieve a single-signon-ish solution (the reason I say "ish" is I'm not looking to implement SSO per-se, as in SAML, but rather achieve the similar effect of not forcing the user to re-enter their credentials). You can assume the forms auth credentials that WSS uses are the SAME as those in the subsequent forms auth apps I want to provide the links to.
Does this require code on the WSS side, or can I make this happen non-programmatically on the ASP.NET/IIS configuration side?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Active Directory 上的表单身份验证提供程序是什么?
(例如)您的浏览器将记住您在第一个入口网站上的身份验证并为您携带它。
将其放在 ASP.NET 和 SharePoint 站点的 web.config 文件中:
将确保它们都使用相同的身份验证提供程序,因此一旦浏览器获得有关其身份的信息,它将在整个过程中相应地回收它。
否则,请尝试联合身份验证服务。
这里是有关如何使用 ADFS 的教程
What is your Forms Authentication Provider?
On Active Directory (for instance) your browser will remember what your authentication was on the first entry site and carry it for you.
Having this on the web.config file of both ASP.NET and SharePoint sites:
Will ensure they will both use the same authentication providers and therefore once the browser has the information about their identity, it will recycle it accordingly throughout.
Other wise, try a Federation Service.
Here is a tutorial on how to use ADFS
嗨,里克,感谢您的回复。 我想我找到了答案。 表单身份验证与 cookie 有关,因此如果我将 ASP.NET Web 应用程序和 Sharepoint 虚拟目录配置为使用相同的身份验证 cookie,我应该在它们之间实现单点登录。 我要尝试一下。
更新:这很好用。
Hi Ric thanks for the response. I think I found my answer. Forms authentication is all about the cookie, so if I configure both the ASP.NET web app and the Sharepoint virtual directory to use the same authentication cookie, I should get single-sign on between them. I'm going to try.
UPDATE: This works nicely.