Changeset 7067 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2014-05-05T20:51:11+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/auth/AbstractCredentialsAgent.java
r7005 r7067 14 14 protected Map<RequestorType, PasswordAuthentication> memoryCredentialsCache = new HashMap<>(); 15 15 16 /**17 * @see CredentialsAgent#getCredentials18 */19 16 @Override 20 public CredentialsAgentResponse getCredentials(final RequestorType requestorType, final String host, boolean noSuccessWithLastResponse) throws CredentialsAgentException{ 17 public CredentialsAgentResponse getCredentials(final RequestorType requestorType, final String host, boolean noSuccessWithLastResponse) 18 throws CredentialsAgentException { 21 19 if (requestorType == null) 22 20 return null; … … 63 61 } 64 62 }); 65 if (response.isCanceled() ) {63 if (response.isCanceled() || response.getUsername() == null || response.getPassword() == null) { 66 64 return response; 67 65 }
Note:
See TracChangeset
for help on using the changeset viewer.