2004-12-02 22:56:49 +00:00
|
|
|
<?php
|
|
|
|
require_once("docutil.php");
|
|
|
|
|
2005-01-16 21:38:16 +00:00
|
|
|
page_head("Account management systems");
|
2004-12-02 22:56:49 +00:00
|
|
|
|
|
|
|
echo "
|
|
|
|
<p>
|
2005-06-01 19:05:36 +00:00
|
|
|
To create an account with BOINC projects, a participant must:
|
2004-12-26 02:59:13 +00:00
|
|
|
<ul>
|
2005-08-29 23:06:57 +00:00
|
|
|
<li> Locate BOINC project web sites, e.g. using Google.
|
|
|
|
<li> Read the web sites, and decide which to join;
|
2005-01-16 21:38:16 +00:00
|
|
|
<li> Download and install the BOINC client software.
|
|
|
|
</ul>
|
2004-12-26 02:59:13 +00:00
|
|
|
and then for each selected project:
|
2005-01-16 21:38:16 +00:00
|
|
|
<ul>
|
2005-08-29 23:06:57 +00:00
|
|
|
<li> Go through the Attach to Project wizard.
|
2004-12-02 22:56:49 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<p>
|
2005-01-19 21:53:46 +00:00
|
|
|
If the participant chooses N projects,
|
2005-08-29 23:06:57 +00:00
|
|
|
there are N web sites to visit and N Wizards to complete.
|
2005-01-16 21:38:16 +00:00
|
|
|
This is tedious if there are lots of projects.
|
2004-12-26 02:59:13 +00:00
|
|
|
|
|
|
|
<p>
|
2005-01-16 21:38:16 +00:00
|
|
|
This document describes BOINC's support for <b>account management systems</b>,
|
|
|
|
which streamline the process of finding and joining BOINC projects.
|
|
|
|
A typical account management system is implemented as a web site.
|
2005-01-19 21:53:46 +00:00
|
|
|
The participant experience is:
|
2005-01-16 21:38:16 +00:00
|
|
|
<ul>
|
|
|
|
<li> Visit the account manager site,
|
|
|
|
set up a 'meta-account' (name, email, password),
|
|
|
|
browse a list of projects, and click checkboxes to select projects.
|
|
|
|
<li> Download and install the BOINC client software from the account manager.
|
|
|
|
<li> Enter the meta-account name and password in a BOINC client dialog.
|
|
|
|
</ul>
|
2005-08-29 23:06:57 +00:00
|
|
|
This requires many fewer interactions than the manual approach.
|
2004-12-02 22:56:49 +00:00
|
|
|
|
2005-01-16 21:38:16 +00:00
|
|
|
<h2>Implementation</h2>
|
2004-12-02 22:56:49 +00:00
|
|
|
<p>
|
2005-01-16 21:38:16 +00:00
|
|
|
An account management system works as follows:
|
|
|
|
<br>
|
2005-08-29 23:06:57 +00:00
|
|
|
<img src=acct_mgt2.png>
|
2005-01-16 21:38:16 +00:00
|
|
|
<br>
|
2004-12-02 22:56:49 +00:00
|
|
|
|
2005-01-16 21:38:16 +00:00
|
|
|
<ol>
|
|
|
|
<li> The participant sets up his meta-account and selects projects.
|
|
|
|
<li> The account manager issues a <b>create account</b> RPC
|
|
|
|
to each selected project.
|
2005-08-29 23:06:57 +00:00
|
|
|
<li>
|
2005-01-19 21:53:46 +00:00
|
|
|
the participant downloads and installs the BOINC client software
|
2005-01-16 21:38:16 +00:00
|
|
|
from the account manager.
|
|
|
|
The install package includes a file
|
2005-06-01 19:05:36 +00:00
|
|
|
(specific to the account manager)
|
2005-01-16 21:38:16 +00:00
|
|
|
containing the URL of the account manager.
|
|
|
|
<li> The BOINC client runs, and asks the participant to enter
|
|
|
|
the name and password of his meta-account.
|
|
|
|
<li> The BOINC client does a <b>query accounts</b> RPC
|
|
|
|
to the account manager, obtaining a list of accounts.
|
|
|
|
It then attaches to these accounts and proceeds.
|
|
|
|
</ol>
|
2005-04-19 19:50:58 +00:00
|
|
|
|
2005-08-29 23:06:57 +00:00
|
|
|
The <b>create account</b> RPCs
|
2005-06-15 04:53:08 +00:00
|
|
|
are described <a href=web_rpc.php>here</a>.
|
|
|
|
|
2005-04-19 19:50:58 +00:00
|
|
|
<h2>Core client functionality</h2>
|
|
|
|
<p>
|
|
|
|
The BOINC core client uses the following files to
|
|
|
|
keep track of account manager information.
|
|
|
|
<dl>
|
|
|
|
<dt>
|
|
|
|
<b>acct_mgr_url.xml</b>
|
|
|
|
<dd>
|
|
|
|
This file identifies the account manager.
|
|
|
|
It is typically bundled with the BOINC client in
|
|
|
|
an installer package.
|
|
|
|
Its format is:
|
|
|
|
".html_text("
|
|
|
|
<acct_mgr>
|
|
|
|
<name>Name of BOINC account management system</name>
|
|
|
|
<url>http://acctmgr.com/</url>
|
|
|
|
</acct_mgr>
|
|
|
|
")."
|
|
|
|
|
2005-09-29 23:18:33 +00:00
|
|
|
<p>
|
|
|
|
Note: the URL is that of the account manager's web site.
|
|
|
|
|
2005-04-19 19:50:58 +00:00
|
|
|
<dt>
|
|
|
|
<b>acct_mgr_login.xml</b>
|
|
|
|
<dd>
|
|
|
|
This file contains meta-account information.
|
|
|
|
Its format is:
|
|
|
|
".html_text("
|
|
|
|
<acct_mgr_login>
|
|
|
|
<login>name</login>
|
|
|
|
<password>xxx</password>
|
|
|
|
</acct_mgr_login>
|
|
|
|
")."
|
|
|
|
</dl>
|
|
|
|
If the core client finds acct_mgr_url.xml but not acct_mgr_login.xml,
|
|
|
|
it prompts for a name and password,
|
|
|
|
stores them in acct_mgr_login.xml,
|
|
|
|
and makes an account manager RPC.
|
|
|
|
The core client offers menu items for making an account manager RPC,
|
|
|
|
and for changing the name/password.
|
|
|
|
|
2005-01-16 21:38:16 +00:00
|
|
|
<h2>Account manager RPCs</h2>
|
|
|
|
|
|
|
|
";
|
|
|
|
|
|
|
|
list_start();
|
2005-09-29 23:18:33 +00:00
|
|
|
list_item("URL", "<b>BASE_URL/rpc.php</b>, where BASE_URL is the URL
|
|
|
|
of the account manager web site.");
|
2005-02-25 21:31:46 +00:00
|
|
|
list_item("input", "name
|
|
|
|
<br>password"
|
2005-01-16 21:38:16 +00:00
|
|
|
);
|
|
|
|
list_item("output",
|
2005-06-21 17:54:10 +00:00
|
|
|
html_text("<acct_mgr_reply>
|
|
|
|
<name>Account Manager Name</name>
|
2005-02-25 21:31:46 +00:00
|
|
|
[ <error>MSG</error> ]
|
2005-06-21 17:54:10 +00:00
|
|
|
[
|
|
|
|
<account>
|
|
|
|
<url>URL</url>
|
|
|
|
<authenticator>KEY</authenticator>
|
2005-02-25 21:31:46 +00:00
|
|
|
</account>
|
2005-06-21 17:54:10 +00:00
|
|
|
...
|
2005-02-25 21:31:46 +00:00
|
|
|
]
|
2005-06-21 17:54:10 +00:00
|
|
|
</acct_mgr_reply>")
|
2005-02-25 21:31:46 +00:00
|
|
|
);
|
|
|
|
list_item("action",
|
2005-06-28 19:25:52 +00:00
|
|
|
"returns a list of the accounts associated with this meta-account.
|
|
|
|
<p>
|
|
|
|
NOTE: the XML must be as above, with the <url>
|
|
|
|
and <authenticator> elements on a single line,
|
|
|
|
and the <account> and </account> tags
|
|
|
|
on separate lines."
|
2005-01-16 21:38:16 +00:00
|
|
|
);
|
|
|
|
list_end();
|
2004-12-02 22:56:49 +00:00
|
|
|
|
|
|
|
page_tail();
|
|
|
|
?>
|