HTTP AUTH

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

HTTP AUTH

Postby pabloko » Thu Feb 18, 2010 12:32 pm

Hi, i'm looking for use http auth with cef but it isn't supported, 'How I can do a patch to enter user and password?

thanks
pabloko
Techie
 
Posts: 15
Joined: Wed Dec 23, 2009 6:38 am

Re: HTTP AUTH

Postby magreenblatt » Thu Feb 18, 2010 1:08 pm

You need to implement the OnAuthRequired() method from URLRequest::Delegate in the RequestProxy class in browser_resource_loader_bridge.cc. See net\url_request\url_request_job.cc URLRequestJob::NotifyHeadersComplete() and chrome\browser\renderer_host\resource_dispatcher_host.cc ResourceDispatcherHost::OnAuthRequired() for an example of how Chromium handles it.
magreenblatt
Site Admin
 
Posts: 12404
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 25 guests