Changeset 4690 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/server/ProxyPreferencesPanel.java
- Timestamp:
- 2011-12-21T23:12:59+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/server/ProxyPreferencesPanel.java
r4246 r4690 325 325 CredentialsAgent cm = CredentialsManager.getInstance(); 326 326 try { 327 PasswordAuthentication pa = cm.lookup(RequestorType.PROXY );327 PasswordAuthentication pa = cm.lookup(RequestorType.PROXY, tfProxyHttpHost.getText()); 328 328 if (pa == null) { 329 329 tfProxyHttpUser.setText(""); … … 404 404 tfProxyHttpPassword.getPassword() 405 405 ); 406 cm.store(RequestorType.PROXY, pa);406 cm.store(RequestorType.PROXY, tfProxyHttpHost.getText(), pa); 407 407 } catch(CredentialsAgentException e) { 408 408 e.printStackTrace();
Note:
See TracChangeset
for help on using the changeset viewer.