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


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.

Need Your Help

Is it possible to add Menu Items to a context menu during implementation?

c# wpf contextmenu menuitem

I hope I asked the right question, but here's my situation. I have a TreeViewItem that I'm implementing. Inside it I set/add various properties, one of them being a ContextMenu. All I want to do is...

ConcurrentLinkQueue implementation going into deadlock

java multithreading java.util.concurrent compare-and-swap

I am learning concurrent programming and wrote this concurrentLinkeQueue using AtomicReference.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.