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 Option | Description |
---|---|
authusers | An array with the username as the key and the password as the value eg ‘Username1’ =>’Password1’, ‘Username2’=>’Password2’ |
lookupuser_db | If this is set and true then once authenticated it looks up in a db table the rogoid |
id_col | is the column name of the userid |
table | is the name of the table |
username_col | is the name of the column containing the username |
lookupuser_list | if is set and true then it users the authuserlookup config option to lookup the userid. |
authuserlookup | is an array with the username as the key and the rogoid as the value |