Lines Matching defs:username
224 public void setupBasicAuthResponse(boolean isProxy, String username, String password) {
225 String response = computeBasicAuthResponse(username, password);
237 String username,
246 username, password, realm, nonce, QOP, algorithm, opaque);
273 * @return Basic-scheme authentication response: BASE64(username:password).
275 public static String computeBasicAuthResponse(String username, String password) {
276 Assert.assertNotNull(username);
279 // encode username:password to base64
280 return new String(Base64.encodeBase64((username + ':' + password).getBytes()));
296 private String computeDigestAuthResponse(String username,
304 Assert.assertNotNull(username);
308 String A1 = username + ":" + realm + ":" + password;
317 response += "username=" + doubleQuote(username) + ", ";