Joomla authentication

Web File Share can connect to "Joomla CMS" application to share its authentication system. So a Joomla user can access its Web File Share account without entering its username and password again.

Before setting up the plugin, remember to change the username of the Web File Share superuser account, to match an existing Joomla account. This Joomla account will be used to login as Web File Share superuser once the authentication integration is enabled.

Joomla version 1.5.X and higher


1. Define the authentication plugin file ("joomla_v1.5_auth.php") inside the file "/path-to-Web File Share/customizables/config.php", at line 5, like this:

 

/* Custom Authentication */

$config['system']['custom_auth_file'] = "auth/joomla/joomla_v1.5_auth.php";

2. Open "/path-to-Web File Share/customizables/joomla_v1.5_auth.php" in a text editor and configure the plugin:

a) Specify the path to your Joomla installation , at line 7:

$this->config['joomla']['paths']['root'] = "/path/to/joomla/";

b) Define the template used for setting up the users' home folder paths:

$this->config['users_home_folder_template'] = "/path/to/{USERNAME}/home/folder/";

3. Login to Joomla's administration section and open the "Extension Manager". Use the "Upload Package File" option to upload and install the module file "/path-to-Web File Share/customizables/Joomla 1.5.x_Web File Share_Authentication_Integration.zip".

4. Go to Joomla's "Plug-in Manager", filter the list of plugins by "Web File Share" and click the plugin "User - Web File Share Authentication Integration". Use the form to enable the plugin. No other changes are needed.

Older Joomla versions


1. Define the authentication plugin file ("joomla.auth.php") inside the file "/path-to-Web File Share/customizables/config.php", at line 5, like this:

 

/* Custom Authentication */

$config['system']['custom_auth_file'] = "auth/joomla/joomla.auth.php";

2. Open "/path-to-Web File Share/customizables/joomla.auth.php" in a text editor and configure the plugin:

a) Specify the path to your Joomla installation, at line ~31:

$this->config['joomla']['paths']['root'] = "/path/to/joomla/";

b) Define the template used for setting up the users' home folder paths, at line ~142:

"homefolder" => str_replace("{USERNAME}", $username, $users_home_folder_template),

 

 

 

Attached Files
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
Custom authentication
Viewed 1268 times since Wed, Mar 5, 2014
Wordpress authentication
Viewed 1130 times since Wed, Mar 5, 2014
MENU