是否有人有当前使用net.tcp与发布令牌的消息安全模式的示例。我目前有一个安全令牌服务,它可以发出令牌,但不确定如何使用net.tcp配置它。我只看到使用ws2007FederationHttpBinding的例子
<customBinding>
<binding name="wsFed">
<security authenticationMode="SecureConversation" requireSecurityContextCancellation="true">
<secureConversationBootstrap authenticationMode="IssuedToken">
<issuedTokenParameters tokenType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1">
<issuer address="http://localhost/STSWebHost/STSService.svc" binding="ws2007HttpBinding" />
</issuedTokenParameters>
</secureConversationBootstrap>
</security>
<tcpTransport />
</binding>
</customBinding>我一直在得到暗号不支持的错误?使用ws2007FederationHttpBinding很好,但我需要使用net.tcp。有没有人?
发布于 2016-01-11 16:25:26
我通过设置allowInsecureTransport=true获得了一个工作版本。我也删除了安全谈话,因为我不想交谈。
<customBinding>
<binding
name="netTcpFederated">
<security
authenticationMode="IssuedTokenOverTransport"
allowInsecureTransport="true" >
<issuedTokenParameters keyType="BearerKey" />
</security>
<binaryMessageEncoding>
<readerQuotas
maxStringContentLength="1048576"
maxArrayLength="2097152" />
</binaryMessageEncoding>
<tcpTransport
maxReceivedMessageSize="2162688" />
</binding>
</customBinding>`https://stackoverflow.com/questions/33482505
复制相似问题