[Mono-list] WCF - ServiceSecurityContext
Atsushi Eno
atsushieno at veritas-vos-liberabit.com
Thu Feb 17 07:12:54 EST 2011
I noticed that monotouch stuff is not about service stuff and the
service stack
got not working behind the huge HTTP channel listener refactoring last year.
Now it is working in git master and 2.10 branch.
Note that ServiceSecurityContext still never worked (and it still
doesn't). The
entire ServiceAuthorizationManager stuff is out of scope of our
implementation.
Atsushi Eno
(2011/02/17 12:33), Atsushi Eno wrote:
> 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