Re: How to get password server side with basic authentication
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Tue, 5 Sep 2006 19:00:49 +0200
"Tommaso Caldarola" <ilbecchino@xxxxxxxxxxxx> wrote in message
news:44fda03b$2_2@xxxxxxxxxxxxxxx
| Nicholas Paldino [.NET/C# MVP] wrote:
|
| > Tommaso,
| >
| > At that point, I am kind of wondering, why do you want it? The user
is
| > authenticated at that point, and you can be assured that they have
logged in
| > correctly.
| >
| >
|
| If I put in client code
|
| IDictionary props = ChannelServices.GetChannelSinkProperties(proxy);
| props["username"] = "dummyremotinguser";
| props["password"] = "12345";
|
| and then I call proxy.Method()
|
| on the server side in host on IIS (where do I set basic authentication) I
got:
|
| IPrincipal principal = System.Web.HttpContext.Current.User;
|
| here I want to perform custom authentication on LDAP or Database, the user
IS
| NOT AUTHENTICATED at this point, how do it? I need to know pasword too.
|
The client IS authenticated with IIS (and the SAM).
Anyway, what you are looking for is called - Kerberos Protocol Transition ,
a feature available in W2K3.
Start reading these for more detailed info:
http://msdn2.microsoft.com/fr-fr/library/ms131068.aspx
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/wss_ch4_prottrantechsuppl.asp
Willy.
.
- References:
- How to get password server side with basic authentication
- From: Tommaso Caldarola
- Re: How to get password server side with basic authentication
- From: Nicholas Paldino [.NET/C# MVP]
- Re: How to get password server side with basic authentication
- From: Tommaso Caldarola
- How to get password server side with basic authentication
- Prev by Date: Re: How to correctly carry over SessionID via HttpWebRequest?
- Next by Date: Re: How to check if event is loaded?
- Previous by thread: Re: How to get password server side with basic authentication
- Next by thread: Re: AppSettings
- Index(es):
Relevant Pages
|