[Xerte-dev] Re: Which file is authenticating on XOT install
Smith, John
J.J.Smith at gcu.ac.uk
Fri Mar 22 16:43:40 GMT 2013
Auth_config.php change to
//$xerte_toolkits_site->authentication_method = 'Guest';
//$xerte_toolkits_site->authentication_method = 'Ldap';
//$xerte_toolkits_site->authentication_method = 'Db';
$xerte_toolkits_site->authentication_method = 'Static';
//$xerte_toolkits_site->authentication_method = "Moodle";
/ library/ Xerte/ Authentication/ Static.php
/** Edit this list to your hearts content ... */
private $_users = array(
'pat' => array("username" => "pat", "password" => "patpassword", "firstname" => "Pat", "surname" => "West"),
'john' => array("username" => "john", "password" => "johnpassword", "firstname" => "David", "surname" => "george"),
'bob' => array("username" => "bob", "password" => "bobpassword", "firstname" => "Robert", "surname" => "jones"),
'sarah' => array("username" => "sarah", "password" => "sarahpassword", "firstname" => "Sarah", "surname" => "smith"),
);
Regards,
John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Friday, March 22, 2013 4:34 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Which file is authenticating on XOT install
I have a new install going on a Linux box.
The install guide was a great help getting that up and running in no time, especially with me a Linux newbie at the keyboard.
One last thing.
On completion it auto logged me in as "Guest".
Neat.
How do I add a couple accounts?
No LDAP.
Guide gives several options: ( - followed by my problem)
Demo.txt
- not present in root
Demo.php
- not present in root
Integration.txt
- can't use, standalone install
Webctlink.txt
- not present in root, standalone install anyway.
Switch.txt
- not present in root
Long ago and far away I know I hardcoded the user/pw pairs.
Still doable?
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130322/9afdc494/attachment-0001.html>
More information about the Xerte-dev
mailing list