简体   繁体   English

basicHttpBinding不使用自定义ServiceCredentials

[英]basicHttpBinding doesn't use custom ServiceCredentials

I have a WCF-Service with custom ServiceCredentials implemented, they use a custom ServiceCredentialsSecurityTokenManager which is using a custom UserNameSecurityTokenAuthenticator. 我有一个实现自定义ServiceCredentials的WCF服务,它们使用自定义ServiceCredentialsSecurityTokenManager,它使用自定义UserNameSecurityTokenAuthenticator。

This is working with my netTcpBinding but I wanted to implement a WebClient which should connect over basicHttpBinding.. But basicHttpBinding doesn't use my custom ServiceCredentials.. 这是我的netTcpBinding,但我想实现一个WebClient,它应该通过basicHttpBinding连接..但basicHttpBinding不使用我的自定义ServiceCredentials ..

Using custom credentials with basicHttpBinding only works when you're using SSL. 使用带有basicHttpBinding的自定义凭据仅在使用SSL时有效。 The credentials won't be submitted and your validator won't be called when you're not using SSL. 如果您不使用SSL,则不会提交凭据并且不会调用您的验证程序。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么BasicHttpBinding不需要主体名称就可以在IIS7上使用Kerberos Auth? - Why doesn't BasicHttpBinding need a Principal Name to use Kerberos Auth on IIS7? 使用BasicHttpBinding进行WCF自定义证书验证 - WCF custom certificate validation with BasicHttpBinding 获取错误:合同需要Duplex,但Binding'BasicHttpBinding'不支持它,或者没有正确配置以支持它 - Getting an error: Contract requires Duplex, but Binding 'BasicHttpBinding' doesn't support it or isn't configured properly to support it 无法添加服务器引用:合同需要双工,但绑定“BasicHttpBinding”不支持或未正确配置以支持它 - Cannot add server reference: Contract requires Duplex, but Binding 'BasicHttpBinding' doesn't support it or isn't configured properly to support it 使用basicHttpBinding和自定义UserNamePasswordValidator的WCF身份验证? - WCF Authentication using basicHttpBinding and custom UserNamePasswordValidator? 允许BasicHttpBinding处理自定义内容类型 - Allow BasicHttpBinding to process custom content types 使用FlurlClient的自定义HttpClientHandler不使用ClientCertificate - Custom HttpClientHandler using FlurlClient doesn't use ClientCertificate 是否应该使用basicHttpBinding或WsHttpBinding创建安全的Java客户端? - Should I use basicHttpBinding or WsHttpBinding for creating a secure Java Client? 如何强制.net WCF客户端在basicHttpBinding中使用NTLM? - How to force a .net WCF client to use NTLM in an basicHttpBinding? 自定义验证不会触发 - Custom Validation doesn't fire
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM