Cannot find a token authenticator for the 'System.IdentityModel.Tokens.UserNameSecurityToken' token type.

后端 未结 2 2042
[愿得一人]
[愿得一人] 2021-01-06 17:43

I am trying to get a third party Java client to communicate with a WCF service I have written.

I get the following exception when receiving the message:

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-06 18:16

    Its because the wrong way of referencing the cert has been used somewhere, if i remember correctly, you either directly reference the cert or use a key identifier - anyhow, to get beyond it, you should be able to add the allowSerializedSigningTokenOnReply tag to your security tag on your clients binding configuration and set it to true.

    that should get beyond it for you - remember, put this client side

    Sorry I cant find the references - I remember reading it somewhere and cant find it now! :( ****EDIT Here It is**** - http://webservices20.blogspot.co.uk/2010/10/wcf-cannot-find-token-authenticator.html

      
     
             
            etc
         
     
    

提交回复
热议问题