Re: Forms Authentication & Windows Authentication
- From: anders.rask@xxxxxxxxx
- Date: 13 Apr 2007 04:12:27 -0700
On 28 Feb, 07:18, "Joe Kaplan"
<joseph.e.kap...@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Set the Credentials property on the web service proxy client object to a
NetworkCredential object that contains the username and password you
collected. You may also need the domain name.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"http://www.directoryprogramming.net
--"Stormbringer" <Stormbrin...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F9C5C6F5-697B-48C9-87DB-0059A3CA3948@xxxxxxxxxxxxxxxx
I have a .NET 2.0 web app that usesforms authenticationto get around an
issue with FireFox. FireFox will allow you to save the username/pass and
this
is a SOX no no.
The objects in the web application call a Windows Authenticated web
service.
I do have the username and password so I can create a WindowsIdentity
object.
Question is, how do I get that to the web serivce?
Or is there a better way to do this? I tried WSE 3.0 but the logic in the
business logic gets very messy.
Thanks.- Hide quoted text -
- Show quoted text -
If user is already logged in you can use the session cookie as
authentication to your web service using the
YourWebService.CookieContainer
see more here
http://www.dotnetbips.com/articles/dbd724e9-78f0-4a05-adfb-190d151103b2.aspx
hth
AndersR
.
- Prev by Date: Re: AspNet_RegIIS ...encrypting web.config when running Cassini
- Next by Date: RE: HttpWebRequest and PAssowrd Protected Private Keys
- Previous by thread: RE: HttpWebRequest and PAssowrd Protected Private Keys
- Next by thread: AD Membership PwdQuestion and PwdAnswer
- Index(es):
Relevant Pages
|