Changeset 17621 for gli/trunk/src/org/greenstone/gatherer/gui
- Timestamp:
- 2008-10-28T19:04:39+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gui/DownloadPane.java
r17282 r17621 634 634 635 635 int count = 0; 636 // Only for wget, need to avoid a second automatic authentication popup (first asks 637 // the proxy authentication for wget, and the second will ask the same for the realm) 638 GAuthenticator.setMode(GAuthenticator.DOWNLOAD); 636 639 while(count < 3 && (user_pass = (String) GAuthenticator.authentications.get(address)) == null) { 637 640 Authenticator.requestPasswordAuthentication(proxy_host, null, Integer.parseInt(proxy_port), "http://", Dictionary.get("WGet.Prompt"), "HTTP"); 638 641 count++; 639 642 } 640 643 GAuthenticator.setMode(GAuthenticator.REGULAR); // reset the state to default (of how the authentication popup functions) 641 644 if(count >= 3) { 642 645 return false;
Note:
See TracChangeset
for help on using the changeset viewer.