RaphaelH
RaphaelH

Reputation: 2184

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.

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..

Upvotes: 0

Views: 316

Answers (1)

Martin
Martin

Reputation: 148

Using custom credentials with basicHttpBinding only works when you're using SSL. The credentials won't be submitted and your validator won't be called when you're not using SSL.

Upvotes: 2

Related Questions