Re: Basic authentication
sunitha <[email protected]> Tue, 17 Feb 2009 04:36:40 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <e360aad1-1f82-47d9-bb54-ca8d8f2bcec0@q40g2000prh.googlegroups.com> |
On Feb 13, 3:55 pm, Derrick Rice <[email protected]> wrote: > I've found that using the nsIHttpAuthManager does not seem to work. > At least, replacing it doesn't (mine never gets invoked, even if I > install it as soon as Mozilla is initialized). > > Still @ the drawing board. May be you can use setRequestHeader method on nsIHttpChannel for setting basic authentication. I think you have to add "http-on-modify- request" event to registered nsIObserver before that.