日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷解決方案
WCF安全配置相關(guān)解決方案分析

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

我們提供的服務(wù)有:成都網(wǎng)站建設(shè)、成都網(wǎng)站制作、微信公眾號(hào)開發(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ò)誤:

 
 
 
  1. {"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安全配置的問題,居然再次跌倒在這,所以匆忙記錄一下

 
 
 
  1. < system.serviceModel> 
  2. < services> 
  3. < service name="*.SearchingService" behaviorConfiguration=
    "*.SearchingServiceBehavior"> 
  4. < !-- Service Endpoints --> 
  5. < endpoint address="" binding="wsHttpBinding" bindingConfiguration=
    "wsHttpBindingConfiguration" contract="*.ISearchingService"> 
  6. < /endpoint> 
  7. < /service> 
  8. < /services>   
  9. < bindings> 
  10. < wsHttpBinding> 
  11. < binding name="wsHttpBindingConfiguration"> 
  12. < security mode="None" /> 
  13. < /binding> 
  14. < /wsHttpBinding> 
  15. < /bindings> 
  16. < behaviors> 
  17. < serviceBehaviors> 
  18. < behavior name="*.SearchingServiceBehavior"> 
  19. < !-- To avoid disclosing metadata information, set the value 
    below to false and remove the metadata endpoint above before deployment --> 
  20. < serviceMetadata httpGetEnabled="true" /> 
  21. < !-- 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 --> 
  22. < serviceDebug includeExceptionDetailInFaults="true" /> 
  23. < /behavior> 
  24. < /serviceBehaviors> 
  25. < /behaviors> 
  26. < /system.serviceModel> 

以上就是WCF安全配置時(shí)出現(xiàn)的問題,記錄下來方便大家探討。


網(wǎng)站欄目:WCF安全配置相關(guān)解決方案分析
網(wǎng)址分享:http://www.5511xx.com/article/djgjhgc.html