UABGridBlast with weblogin

|

Original index.php used POST to pass username and password to login.php.
Original login.php accepted username and password from index.php and
performed authentication with function authenticate().

Changes:

  • The present index.php does away with the POSTs and control is passed by
    refreshing to login.php. It gets username from $REMOTE_USER and has a dummy
    password set. Email address is set to username@uab.edu

  • A new function check() is provided which checks if the username is present in
    the application database. If not, then a new function adduser() is called
    which does account provisioning(INSERT username into database, create
    user-space) and sets permission(INSERT permission for user).
    function authenticate() is not used at all.

  • Added .htaccess file with AuthType BlazerID
  • Changed http protocol to https in header.php