} else if (mechs.contains("CRAM-MD5")) { while (true) { CramMD5 authenticator = new CramMD5(); String realm = getRealm(); if (location != null) { authenticator.setUserCredentials(auth); items = read("(W(?B))", null, true); if (SUCCESS.equals(items[0])) { } else if (STEP.equals(items[0])) { try { byte[] response = authenticator.buildChallengeResponse((byte[]) items[1]); getOutputStream().write(response); getOutputStream().flush();
} else if (mechs.contains("CRAM-MD5")) { while (true) { CramMD5 authenticator = new CramMD5(); if (location != null) { realm = "<" + location.getProtocol() + "://" authenticator.setUserCredentials(auth); List items = getConnection().readTuple("w(?s)", true); String status = SVNReader.getString(items, 0); } else if (SVNAuthenticator.STEP.equals(status)) { try { byte[] response = authenticator.buildChallengeResponse(SVNReader.getBytes(items, 1)); getConnectionOutputStream().write(response); getConnectionOutputStream().flush();
} else if (mechs.contains("CRAM-MD5")) { while (true) { CramMD5 authenticator = new CramMD5(); if (location != null) { realm = "<" + location.getProtocol() + "://" authenticator.setUserCredentials(auth); List items = getConnection().readTuple("w(?s)", true); String status = SVNReader.getString(items, 0); } else if (SVNAuthenticator.STEP.equals(status)) { try { byte[] response = authenticator.buildChallengeResponse(SVNReader.getBytes(items, 1)); getConnectionOutputStream().write(response); getConnectionOutputStream().flush();
} else if (mechs.contains("CRAM-MD5")) { while (true) { CramMD5 authenticator = new CramMD5(); if (location != null) { realm = "<" + location.getProtocol() + "://" authenticator.setUserCredentials(auth); List items = getConnection().readTuple("w(?s)", true); String status = SVNReader.getString(items, 0); } else if (SVNAuthenticator.STEP.equals(status)) { try { byte[] response = authenticator.buildChallengeResponse(SVNReader.getBytes(items, 1)); getConnectionOutputStream().write(response); getConnectionOutputStream().flush();