/**
  * Creates an authentication source with default settings
  *
  * @param string $sourceid Source ID
  * @param string $authtype Authentication server type
  * @param string $nicename Nice name for source chooser on login form
  **/
 public static function createSource($sourceid, $authtype, $nicename)
 {
     self::$authsources["{$sourceid}"] = array('authtype' => $authtype, 'nicename' => $nicename, 'authserver' => 'localhost', 'authport' => null, 'authsslock' => true, 'anchordesc' => 'User ID', 'encryption' => null, 'autoadd' => false, 'valid_client' => true, 'defaultdomain' => null, "authoption" => array());
     if (is_null(self::$timestamp)) {
         self::$timestamp = date('His');
     }
 }