使用自定义登录后设置表单身份验证 [英] Setting Forms Authenication After using custom login

查看:73
本文介绍了使用自定义登录后设置表单身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在网上搜索,但没有找到一种方法.用户使用我们大学的自定义登录系统登录后,我需要能够将Authentication设置为true.

有一点背景,我在网站上使用混合身份验证方式,而我所工作的大学有一个登录系统,该系统使用我们的广告登录名和密码短语并返回验证票.这不是基于登录广告,而是大学的家庭身份验证系统.

我需要一种方法,一旦用户从大学系统获得了有效的凭单,就可以将应用程序的身份验证模式设置为true,以便现在可以使用asp.net控件中的成员身份和角色.有人知道这样做的方法吗?链接到示例或知识的链接将不胜感激.

谢谢,
Carolyn

I''ve been searching the web and have not found a way to do this. I need to be able to set the Authenication to true after a user logs in using our university''s custom login system.

A little background, I''m using a mixed mode of authenication on a website and the university I work for has a log in system that uses our ads login and a pass phrase and returns a validation ticket. This is not based on logging into ads, this is the university''s home grown authenication system.

I need a way that once the user has a valid ticket from the university system to set the authenication mode of the application to true so I can now use the membership and roles from the asp.net controls. Does anyone know of a way to do this? A link to an example or knowledge passed on would be greatly appreciated.

Thanks,
Carolyn

推荐答案

听起来像您正在实现单点登录 [ ^ ]
Sounds like you are implementing Single SignOn[^]


这篇关于使用自定义登录后设置表单身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆