IAuthenticate - urgent help
-
i am using URLDownloadToCache method, also implemented my own class class CBindStatusCallbackImpl : public IBindStatusCallback for call back and bindings... i read in the MSDN that in order to support proxy handling i need to handle IAuthenticate and the method Authenticate...problem is i don't know how ? couldn't find any example code for that can any1 help me? i am desperate thanks in advanced
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
-
i am using URLDownloadToCache method, also implemented my own class class CBindStatusCallbackImpl : public IBindStatusCallback for call back and bindings... i read in the MSDN that in order to support proxy handling i need to handle IAuthenticate and the method Authenticate...problem is i don't know how ? couldn't find any example code for that can any1 help me? i am desperate thanks in advanced
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
this is likely way more complex than you want - but its the only thing I can remember that Ive seen supposedly do it http://vbmhwb.sourceforge.net/[^] search for WBAuthenticate on the page 'g' ps.. Im hoping it shows you the general method, Im not suggesting you can use the actual code here
-
this is likely way more complex than you want - but its the only thing I can remember that Ive seen supposedly do it http://vbmhwb.sourceforge.net/[^] search for WBAuthenticate on the page 'g' ps.. Im hoping it shows you the general method, Im not suggesting you can use the actual code here
thanks a lot for your answer... i couldn't find in the site you gave where to d/l the code that implements the WBAuthenticate...can u direct me or give me direct link please thanks again
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
-
thanks a lot for your answer... i couldn't find in the site you gave where to d/l the code that implements the WBAuthenticate...can u direct me or give me direct link please thanks again
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
its a sourceforge site - try googling for vbMHWB ActiveX Control and see if you get a hit - I just checked the link and it works for me 'g'
-
its a sourceforge site - try googling for vbMHWB ActiveX Control and see if you get a hit - I just checked the link and it works for me 'g'
ok now i know which link to press ;) thanks again
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
-
ok now i know which link to press ;) thanks again
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
cool, now, download vbMHWB.zip, unpack it and look at vbWB.cpp, searching for WBAuthenticate 'g'
-
cool, now, download vbMHWB.zip, unpack it and look at vbWB.cpp, searching for WBAuthenticate 'g'
your example helped me a lot and now it works 100% so thanks for that
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
-
cool, now, download vbMHWB.zip, unpack it and look at vbWB.cpp, searching for WBAuthenticate 'g'
One more thing if i may... i was able to work with IAuthenticate implementation (the method 'authenticate' did the trick) problem is that the actual authentication occurs only once, and if the user and password are incorrect i don't reach the method 'authenticate' again. what am i missing wrong here? thanks again
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
-
One more thing if i may... i was able to work with IAuthenticate implementation (the method 'authenticate' did the trick) problem is that the actual authentication occurs only once, and if the user and password are incorrect i don't reach the method 'authenticate' again. what am i missing wrong here? thanks again
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
I would have thought you'd have to resend the http request again - but Im no expert 'g'
-
I would have thought you'd have to resend the http request again - but Im no expert 'g'
one would thought that when user name and password are incorrect either in the callback would return proxy_authenticate_error or authenticate will be called again ok i will dig more into it thanks again
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
-
one would thought that when user name and password are incorrect either in the callback would return proxy_authenticate_error or authenticate will be called again ok i will dig more into it thanks again
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
Im familiar with a certificate error where you intercept the error, search through the local cert store for a matching certificate - but then you have to re-broadcast the original call, with the cert details filled in (hence why my suggestion) 'g'
modified on Tuesday, January 19, 2010 4:08 AM