Re: [Mono-list] Authentication to a web service

2004-06-29 Thread Denis Gervalle
Gonzalo Paniagua Javier wrote:
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.
Any reason not to do so ? or is this just a matter of time to get a 
patch of mod_mono/xsp to communicate more information ? (I may have a 
look since I have a need to authenticate throught mod_auth_ldap)

Denis Gervalle
SOFTEC sa
http://www.softec.st
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Authentication to a web service

2004-06-29 Thread Gonzalo Paniagua Javier
El mar, 29-06-2004 a las 11:09, Denis Gervalle escribió:
 Gonzalo Paniagua Javier wrote:
  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.
 
 Any reason not to do so ? or is this just a matter of time to get a 
 patch of mod_mono/xsp to communicate more information ? (I may have a 
 look since I have a need to authenticate throught mod_auth_ldap)

I would add an authentication module and then pass the user name somehow
from mod_mono to mod-mono-server (probably in a header, taking care of
removing any existing one with the same name in the request).

-Gonzalo


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Authentication to a web service

2004-06-28 Thread Gonzalo Paniagua Javier
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


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Authentication to a web service

2004-06-25 Thread Micha Ziemski
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?

Regards!
Michal Ziemski
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list