检查是否在WCF服务中对用户进行了身份验证 [英] Check is user is authenticated in WCF service

查看:82
本文介绍了检查是否在WCF服务中对用户进行了身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在从表单身份验证切换到Active Directory身份验证,在一段时间内,我们将同时使用这两种方法,并且必须使用相同的代码来处理此问题.

We are switching from forms authentication to Active Directory authentication and there is a period in which we will be using both and the same code will have to handle this.

我需要弄清楚如何确定当前调用服务的用户是否在没有HttpContext的情况下进行了身份验证....

I need to figure out how to find out if the current user calling the services is authenticated without HttpContext....

非常感谢您的帮助.

推荐答案

为什么要这样做(找出当前调用服务的用户是否在没有HttpContext的情况下进行了身份验证)?

Why do you want to do this( find out if the current user calling the services is authenticated without HttpContext)?

请更清楚地解释.


这篇关于检查是否在WCF服务中对用户进行了身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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