如何强制WCF RESTful服务使用匿名身份验证 [英] How to force WCF RESTful service to use anonymous authentication

查看:66
本文介绍了如何强制WCF RESTful服务使用匿名身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的IIS上启用了匿名身份验证和Windows身份验证。我的IIS上的某些WCF服务必须使用Windows身份验证。

Both Anonymous Authentication and Windows Authentication are enabled on my IIS. Some WCF services on my IIS must use Windows Authentication.

最近我向我的IIS添加了一个WCF RESTful服务,我想为它使用匿名身份验证。但无论我如何更改web.config文件中的设置,我发现WCF RESTful服务始终使用Windows身份验证。如何强制使用WCF
RESTful服务来使用匿名身份验证?

Recently I added a WCF RESTful service to my IIS, and I want to use Anonymous Authentication for it. However no matter how I change the settings in web.config file, I find the WCF RESTful service always uses Windows Authentication. How to force the WCF RESTful service to use anonymous authentication?

推荐答案

你不必去IIS和网络应用程序 并设置要使用的身份验证?
Don't you have to go to IIS and for the Web application  and set authentication to use?


这篇关于如何强制WCF RESTful服务使用匿名身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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