[Mono-list] Authentication to a web service

Gonzalo Paniagua Javier gonzalo.reply.to.the.list.iam.subscribed@ximian.com
Mon, 28 Jun 2004 19:51:07 +0200


El vie, 25-06-2004 a las 11:12, Micha³ Ziemski escribió:
> Hi!
> 
> I have a WS on mod_mono. It is protected with AuthType Digest in Apache 
> 2.0.49. I load the WS i my browser, give the username and pass and the 
> WS runs, but User.Identity.Name returns an empty string and not the 
> username I have logged with. Am I doing sth wrong or is it a bug?

The user is not passed from apache to mod-mono-server. You can use
DigestAuthenticationModule from Mono.Http to authenticate users via xsp
instead of apache.

-Gonzalo