新聞中心
大家知道,WCF開發(fā)工具可以幫助開發(fā)人員打造一款跨平臺的安全性極高的解決方案。那么,他的安全機(jī)制是如何得到保障的呢?在這里,我們首先來了解一下在WCF安全配置中,出現(xiàn)的一些問題,先將問題總結(jié)如下,希望能夠?qū)Υ蠹移矶\一個(gè)研究的作用。

我們提供的服務(wù)有:成都網(wǎng)站建設(shè)、成都網(wǎng)站制作、微信公眾號開發(fā)、網(wǎng)站優(yōu)化、網(wǎng)站認(rèn)證、名山ssl等。為上千多家企事業(yè)單位解決了網(wǎng)站和推廣的問題。提供周到的售前咨詢和貼心的售后服務(wù),是有科學(xué)管理、有技術(shù)的名山網(wǎng)站制作公司
今天重新運(yùn)行上一個(gè)任務(wù)的WCF服務(wù),部署到本地調(diào)用發(fā)現(xiàn)報(bào)如下WCF安全配置錯(cuò)誤:
- {"The caller was not authenticated by the service."}
The request for security token could not be satisfied because authentication failed,
問了一哥們才發(fā)現(xiàn)原來也碰到過這個(gè)WCF安全配置的問題,居然再次跌倒在這,所以匆忙記錄一下
- < system.serviceModel>
- < services>
- < service name="*.SearchingService" behaviorConfiguration=
"*.SearchingServiceBehavior">- < !-- Service Endpoints -->
- < endpoint address="" binding="wsHttpBinding" bindingConfiguration=
"wsHttpBindingConfiguration" contract="*.ISearchingService">- < /endpoint>
- < /service>
- < /services>
- < bindings>
- < wsHttpBinding>
- < binding name="wsHttpBindingConfiguration">
- < security mode="None" />
- < /binding>
- < /wsHttpBinding>
- < /bindings>
- < behaviors>
- < serviceBehaviors>
- < behavior name="*.SearchingServiceBehavior">
- < !-- To avoid disclosing metadata information, set the value
below to false and remove the metadata endpoint above before deployment -->- < serviceMetadata httpGetEnabled="true" />
- < !-- To receive exception details in faults for debugging purposes,
set the value below to true. Set to false before deployment to avoid
disclosing exception information -->- < serviceDebug includeExceptionDetailInFaults="true" />
- < /behavior>
- < /serviceBehaviors>
- < /behaviors>
- < /system.serviceModel>
以上就是WCF安全配置時(shí)出現(xiàn)的問題,記錄下來方便大家探討。
網(wǎng)頁題目:WCF安全配置相關(guān)解決方案分析
本文來源:http://m.fisionsoft.com.cn/article/djgjhgc.html


咨詢
建站咨詢
