[cvs] [Wiki] changed: MIMPHowTo

Jan Schneider jan at horde.org
Sat Aug 19 01:30:02 PDT 2006


jan  Sat, 19 Aug 2006 01:30:02 -0700

Modified page: http://wiki.horde.org/MIMPHowTo
New Revision:  2.6
Change log:  Generalize alternative configuration

@@ -4,8 +4,9 @@
  
  To use the composite driver select it from the dropdown list in the authentication tab of the configuration interface or change {{$conf['auth']['driver']}} to {{'composite'}} in {{horde/config/conf.php}}.
  
  In {{horde/config/conf.php}}, insert the following code:
+
  <code type="php">
  $conf['auth']['params']['drivers'] = array(
      'imp' => array('driver' => 'application',
                     'params' => array('app' => 'imp')),
@@ -28,25 +29,17 @@
  </code>
  
  This will give you either the IMP or the MIMP login screen, depending on the browser you use.
  
+If you want to use some other authentication driver than "application/imp" for Horde if //not// using a mobile browser, just replace the {{'imp'}} part with your regular Horde authentication settings:
  
-
-Here is The code for a CASSIFIED Horde
  <code type="php">
  $conf['auth']['params']['drivers'] = array(
-    'imp' => array('driver' => 'cas',
-                   'params' => array(
-                        'hostspec' => 'cas.example.com',
-                        'hostport' => 443,
-                        'hostpath' => '/',
-                        'proxyback' => 'https://webmail.example.com/horde/casProxy.php',
-                        'tmpdir' => Horde::getTempDir(),
-                        'authorisation' => true,
-                        'logout' => true,
-                        'debug' => false,
-                        'debug_file' => '/var/log/horde-v3.log',
-                        )),
+    'horde' => array('driver' => 'my_auth_driver',
+                     'params' => array(
+                         // Necessary parameteres for 'my_auth_driver'.
+                         ...
+                         )),
      'mimp' => array('driver' => 'application',
                      'params' => array('app' => 'mimp')));
  
  $conf['auth']['params']['loginscreen_switch'] = '_horde_select_loginscreen';
@@ -58,9 +51,9 @@
          $browser = new Browser();
          if ($browser->isMobile()) {
              return 'mimp';
          }
-        return 'imp';
+        return 'horde';
      }
  }
  </code>
  


More information about the cvs mailing list