实现xmlreadersettings

时间:2017-03-20 16:51:47

标签: c# asp.net-mvc single-sign-on

我正在使用我的组织的联合服务,按照this的指导原则实施SSO。

但是我收到以下错误:

For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method. 

我发现代码绕过了这个错误here。但它并没有说我必须写下这段代码。如果这看起来太微不足道,请跟我说。

0 个答案:

没有答案
相关问题