[Mono-list] WCF - ServiceSecurityContext

augustwest ctxdeaneo at yahoo.com
Wed Feb 16 10:54:59 EST 2011


Thank you Atsushi.  I can't seem to find any good samples or information that
demonstrates what is required in mono to make the basic authentication work
utilizing the BasicHttpBinding (most likely using the custom validators). Do
you, or anyone out there, have any good samples? 

Currently, I'm trying something along these lines and can't seem to get them
to fire when the client invoke a service call.

selfHost.Credentials.UserNameAuthentication.UserNamePasswordValidationMode =
System.ServiceModel.Security.UserNamePasswordValidationMode.Custom;
                
selfHost.Credentials.UserNameAuthentication.CustomUserNamePasswordValidator
= new CustomValidator();

selfHost.Description.Endpoints[0].Contract.ProtectionLevel =
System.Net.Security.ProtectionLevel.None;
-- 
View this message in context: http://mono.1490590.n4.nabble.com/WCF-ServiceSecurityContext-tp3307343p3309134.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list