SSO/IP

From Authentication Tools for Joomla! (JAuthTools)

< SSO(Difference between revisions)
Jump to: navigation, search
(New page: The SSO - IP plugin is a SSO plugin designed to authenticate users based on their IP address. This is usually not the best way of authenticating a user however organisations such as univer...)
 
Line 2: Line 2:
Prior to 1.5.5, the only way of configuring this plugin was a list of IP addresses and a single username. JAuthTools 1.5.5 added the ability for the plugin to use a table. This table is noted below:
Prior to 1.5.5, the only way of configuring this plugin was a list of IP addresses and a single username. JAuthTools 1.5.5 added the ability for the plugin to use a table. This table is noted below:
-
<code>
+
<pre>
CREATE TABLE  `#__jauthtools_ipmap` (
CREATE TABLE  `#__jauthtools_ipmap` (
   `id` int(10) unsigned NOT NULL auto_increment,
   `id` int(10) unsigned NOT NULL auto_increment,
Line 10: Line 10:
   PRIMARY KEY  (`id`)
   PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-
</code>
+
</pre>
When you run this code against your server, replace #__ with your Joomla! prefix (typically jos_).
When you run this code against your server, replace #__ with your Joomla! prefix (typically jos_).
At this point in time the table needs to be created manually as the plugin has no means of creating the table itself. Additionally there is presently no editing tool for the table however if you have the "Table Editor" from the Advanced Tools package installed, you can install a table editor table definition.
At this point in time the table needs to be created manually as the plugin has no means of creating the table itself. Additionally there is presently no editing tool for the table however if you have the "Table Editor" from the Advanced Tools package installed, you can install a table editor table definition.

Current revision as of 13:57, 15 August 2009

The SSO - IP plugin is a SSO plugin designed to authenticate users based on their IP address. This is usually not the best way of authenticating a user however organisations such as universities often rely on using this form of authentication.

Prior to 1.5.5, the only way of configuring this plugin was a list of IP addresses and a single username. JAuthTools 1.5.5 added the ability for the plugin to use a table. This table is noted below:

CREATE TABLE  `#__jauthtools_ipmap` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `entry` varchar(40) NOT NULL,
  `username` varchar(150) NOT NULL,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

When you run this code against your server, replace #__ with your Joomla! prefix (typically jos_).

At this point in time the table needs to be created manually as the plugin has no means of creating the table itself. Additionally there is presently no editing tool for the table however if you have the "Table Editor" from the Advanced Tools package installed, you can install a table editor table definition.

Personal tools