[cvs] [Wiki] changed: AuthCompositeHowTo

Wiki Guest wiki at wiki.horde.org
Tue Dec 7 09:42:26 PST 2004


guest [141.225.184.183]  Tue,  7 Dec 2004 09:42:26 -0800

Modified page: http://wiki.horde.org/display.php?page=AuthCompositeHowTo
New Revision:  1.6

@@ -12,17 +12,17 @@
 First you need to define all the drivers that should be part of the composite driver. Each driver is configured like a "normal" authentication driver and associated with a sub-driver name. This name is completely independent with the authentication scheme.
 
 Let's say you would configure an FTP authentication backend like this:
 
-<code type=php>
+<code type="php">
 $conf['auth']['driver'] = 'ftp';
 $conf['auth']['params'] = array('hostspec' => '192.168.0.21',
                                 'port' => 21);
 </code>
 
 If you want to use that configuration in a composite driver, choose a name, say "intranet_ftp", and add this configuration to the "drivers" section of the composite driver parameters:
 
-<code type=php>
+<code type="php">
 $conf['auth']['driver'] = 'composite';
 $conf['auth']['params']['drivers']['intranet_ftp']['driver'] = 'ftp';
 $conf['auth']['params']['drivers']['intranet_ftp']['params'] = array(
     'hostspec' => '192.168.0.21',
@@ -30,9 +30,9 @@
 </code>
 
 Let's configure a second authentication driver called "corporate_sql":
 
-<code type=php>
+<code type="php">
 $conf['auth']['driver'] = 'composite';
 $conf['auth']['params']['drivers']['intranet_ftp']['driver'] = 'ftp';
 $conf['auth']['params']['drivers']['intranet_ftp']['params'] = array(
     'hostspec' => '192.168.0.21',
@@ -55,9 +55,9 @@
 
 The driver that is responsible for logging the user in, including providing the login screen and authenticating the user credentials, is selected by the "loginscreen_switch".
 
 Let's take our sample from above and choose the "intranet_ftp" driver as the login driver:
-<code type=php>
+<code type="php">
 $conf['auth']['params']['loginscreen_switch'] = '_horde_select_loginscreen';
 if (!function_exists('_horde_select_loginscreen')) {
     function _horde_select_loginscreen()
     {


More information about the cvs mailing list