[Mono-list] WCF - ServiceSecurityContext

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Wed Feb 16 22:33:26 EST 2011


All what I know is that it worked for monotouch.
https://bugzilla.novell.com/show_bug.cgi?id=605795

Atsushi Eno

(2011/02/17 0:54), augustwest wrote:
> 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;



More information about the Mono-list mailing list