authUser = user;
authPassword = new String(password);
}
if (authScheme.equals("Basic")) {
BASE64Encoder enc = new BASE64Encoder();
return "Basic " +
enc.encode((authUser + ":" + authPassword).getBytes());
} else if (authScheme.equals("Digest")) {
String digest;
try {
digest = computeDigest(method, uri);
} catch (NoSuchAlgorithmException ex) {