"README.md" did not exist on "902bca00dc6e3b3ff5fbb1e32e5dbb45d5f30579"
Large set of changes for using the Geni trusted signer tool, to
authenticate Geni users to CloudLab (who do not have Emulab accounts). CloudLab users must have an account to do anything (unlike APT which allows guest users). But instead of requiring them to go through the Emulab account creation (high bar), let then use their Geni credentials to prove who they are. We then build a local account for that new user, and save off the speaksfor credential so that we can act on their behalf when talking to the backend clusters (and their MA to get their ssh keys). These users do not have a local account password, so they cannot log into the web interface using the Emulab login page, nor do they have a shell on ops. Once authenticated, we put the appropriate cookies into the browser via javascript, so they can use the Cloud (okay, APT) web interface (they appear logged in). I make use of the nonlocal_id field of the users table, which was not being used for anything else. Officially, these are "nonlocal" users in the code (IsNonLocal()). When a nonlocal user instantiates a profile, we use their speaksfor credential to ask their home MA for their ssh keys, which we then store in the DB, and then provide to the aggregate via the CreateSliver call. Note that no provision has been made for users who edit their profile and add keys; I am not currently expecting these users to stumble into the web interface (yet).
Showing
- account/mkusercert.in 5 additions, 1 deletionaccount/mkusercert.in
- db/User.pm.in 62 additions, 24 deletionsdb/User.pm.in
- protogeni/scripts/GNUmakefile.in 4 additions, 1 deletionprotogeni/scripts/GNUmakefile.in
- protogeni/scripts/creategeniuser.in 224 additions, 0 deletionsprotogeni/scripts/creategeniuser.in
- protogeni/scripts/parsecert.in 95 additions, 0 deletionsprotogeni/scripts/parsecert.in
- protogeni/scripts/quickvm.in 118 additions, 88 deletionsprotogeni/scripts/quickvm.in
- protogeni/scripts/updategeniuser.in 307 additions, 0 deletionsprotogeni/scripts/updategeniuser.in
- protogeni/scripts/webcreategeniuser.in 41 additions, 0 deletionsprotogeni/scripts/webcreategeniuser.in
- protogeni/scripts/webupdategeniuser.in 41 additions, 0 deletionsprotogeni/scripts/webupdategeniuser.in
- www/aptui/geni-login.ajax 160 additions, 46 deletionswww/aptui/geni-login.ajax
- www/aptui/geni-login.php 3 additions, 39 deletionswww/aptui/geni-login.php
- www/aptui/instance_defs.php 7 additions, 5 deletionswww/aptui/instance_defs.php
- www/aptui/js/common.js 29 additions, 0 deletionswww/aptui/js/common.js
- www/aptui/js/geni-login.js 10 additions, 72 deletionswww/aptui/js/geni-login.js
- www/aptui/js/instantiate.js 1 addition, 1 deletionwww/aptui/js/instantiate.js
- www/aptui/js/quickvm_sup.js 105 additions, 0 deletionswww/aptui/js/quickvm_sup.js
- www/aptui/login.php 31 additions, 17 deletionswww/aptui/login.php
- www/aptui/quickvm_sup.php 46 additions, 35 deletionswww/aptui/quickvm_sup.php
- www/aptui/server-ajax.php 3 additions, 1 deletionwww/aptui/server-ajax.php
- www/aptui/template/geni-login.html 2 additions, 0 deletionswww/aptui/template/geni-login.html
Loading
Please register or sign in to comment