C# basicHttpBinding不';不要使用自定义服务凭据
我有一个实现了自定义ServiceCredentials的WCF服务,它们使用自定义ServiceCredentialsSecurityTokenManager,该管理器使用自定义UserNameSecurityTokenAuthenticatorC# basicHttpBinding不';不要使用自定义服务凭据,c#,wcf,security,authentication,authorization,C#,Wcf,Security,Authentication,Authorization,我有一个实现了自定义ServiceCredentials的WCF服务,它们使用自定义ServiceCredentialsSecurityTokenManager,该管理器使用自定义UserNameSecurityTokenAuthenticator 这与我的netTcpBinding一起工作,但我想实现一个WebClient,它应该通过basicHttpBinding进行连接。。但是basicHttpBinding不使用我的自定义ServiceCredentials。仅当您使用SSL时,将自定义
这与我的netTcpBinding一起工作,但我想实现一个WebClient,它应该通过basicHttpBinding进行连接。。但是basicHttpBinding不使用我的自定义ServiceCredentials。仅当您使用SSL时,将自定义凭据与basicHttpBinding一起使用才有效。 当您不使用SSL时,将不会提交凭据,也不会调用验证程序