solitone wrote: > I managed to use an input widget, but I'm having some difficulties in > getting the result I want. > > I would prompt for user name and password only if proxy does require > authentication. In case username or password is incorrect, I would > prompt the user again. > > But, in my current implementation, if I insert the wrong username, it > continues to send that wrong username to the proxy (monitored through > WireShark), and no response is got. > > I'll try to correct this behaviour in the next days.
Just an update and a question. Now the user is prompted again if he or she enters an invalid username/password. However, if you query a different service (e.g. you request some tiles form OSM, and you previously did a Google search), you are promted again for authentication, even though you have already entered valid authentication data (for Google search). I believe this depends on the several network access managers used for sending different requests. I'm thinking of trying and changing this and using just on network access manager for each and every request. Now the question. When QLKGT starts up, WireShark logs the following request: POST http://www.qlandkarte.org:80/webservice/qlandkartegt.php HTTP/1.1\r\n for which no proxy authentication dialog box is shown. Hence, proxy authentication fails. Inspecting the code, I didn't find where this call is done. Could you please give me a hint? Perhaps I forgot to manage proxy authentication properly for that code block, and I want to check it. Thanks, Davide ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
