Re: httpwebrequest when RSA/ACE securid server is involved
From: Feroze [msft] (ferozed_at_online.microsoft.com)
Date: 03/24/05
- Next message: Feroze [msft]: "Re: HttpWebRequest, HTTPS, Downloading a file - SOLVED"
- Previous message: Dave: "Re: Cross AppDomain Communication, Scripting"
- In reply to: shib: "httpwebrequest when RSA/ACE securid server is involved"
- Next in thread: shib: "Re: httpwebrequest when RSA/ACE securid server is involved"
- Reply: shib: "Re: httpwebrequest when RSA/ACE securid server is involved"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Mar 2005 18:51:17 -0800
I am not familiar with RSA/ACE authentication. But, I can tell you why your
current app wont work. IE & HTTPWebRequest have their own connection
management semantics. They do not share connections. So, once you get
authenticated with IE, that connection is not available to the
HttpWebRequest instance you are using.
You will have to replicate the same authentication into the HttpWebRequest
that IE is doing. Is it doing SSL based authentication? If so, you might be
able to get that to work using webrequest. However just setting
DefaultCredentials wont work.
-- feroze ----------------- This posting is provided as-is. It offers no warranties and assigns no rights. See http://weblogs.asp.net/feroze_daud for System.Net related posts. ---------------- "shib" <ilanshib@bezeqint.net> wrote in message news:4241dbc0@news.bezeqint.net... > Hello, > > I have an assembly, written in C#. > > The assembly runs under IE (6.0 SP1). > > IE accesses a web site on which a reverse proxy with an RSA/ACE secureid is > installed. > > When this happens an authentication process takes place and after its > completion, the web request goes through and completes successfuly. > > Naturally, any further http requests to the same site will not have to > re-authenticat. > However, my C# assembly runs under IE and tries to invoke an http request > via the standard httpwebrequest class. > I am setting > > HttpWebRequest.Credentials = CredentialCache.DefaultCredentials > > still, it does not help. > > Any idea what I am missing here? > > Thanks, > Ilan > >
- Next message: Feroze [msft]: "Re: HttpWebRequest, HTTPS, Downloading a file - SOLVED"
- Previous message: Dave: "Re: Cross AppDomain Communication, Scripting"
- In reply to: shib: "httpwebrequest when RSA/ACE securid server is involved"
- Next in thread: shib: "Re: httpwebrequest when RSA/ACE securid server is involved"
- Reply: shib: "Re: httpwebrequest when RSA/ACE securid server is involved"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|