Changeset 5335
- Timestamp:
- 2003-08-28T16:48:44+12:00 (21 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/GAuthenticator.java
r5315 r5335 127 127 if(!authentication_cancelled) { 128 128 // Store the authentication 129 System.err.println("Storing the authentication for: " + getRequestingHost() + ":" + getRequestingPort());130 System.err.println("login@pass: " + username.getText() + "@" + new String(password.getPassword()));131 129 Gatherer.authentications.put(getRequestingHost() + ":" + getRequestingPort(), username.getText() + "@" + new String(password.getPassword())); 132 130 return new PasswordAuthentication(username.getText(), password.getPassword()); -
trunk/gli/src/org/greenstone/gatherer/collection/Job.java
r5319 r5335 216 216 String user_pass = null; 217 217 String address = proxy_host + ":" + proxy_port; 218 System.err.println("Searching for authentication for: " + address);219 218 int count = 0; 220 219 while(count < 3 && (user_pass = (String) Gatherer.authentications.get(address)) == null) { … … 226 225 return; 227 226 } 228 System.err.println("login@pass: " + user_pass);229 227 if(user_pass.indexOf("@") != -1) { 230 228 // Write the use proxy command
Note:
See TracChangeset
for help on using the changeset viewer.