Fixed List

Description

This module was written for the Script Concordance Test to get the experts opinion, but could be used for other things. It takes an array of usernames and passwords and authenticates them. It then gets a userid by various methods if nothing is configured just returns -9999. 'This module should NOT be used to add users/passwords to the system'

Config Options

Config OptionDescription
authusersAn array with the username as the key and the password as the value eg ‘Username1’ =>’Password1’, ‘Username2’=>’Password2’
lookupuser_dbIf this is set and true then once authenticated it looks up in a db table the rogoid
id_colis the column name of the userid
tableis the name of the table
username_colis the name of the column containing the username
lookupuser_listif is set and true then it users the authuserlookup config option to lookup the userid.
authuserlookupis an array with the username as the key and the rogoid as the value