Commit df4d08b2 authored by Xavier Guimard's avatar Xavier Guimard

Doc update

parent 84eeb262
......@@ -152,33 +152,41 @@ We use <a href="http://jira.ow2.org" class="urlextern" title="http://jira.ow2.or
<p>
<div style="width:100px;height:250px;float:left;">
By alphabetical order:
</p>
<p>
<div style="width:100px;height:280px;float:left;">
<a href="/_detail/icons/personal.png?id=contact" class="media" title="icons:personal.png"><img src="../media/icons/personal.png" class="media" alt="" /></a>
</div>
</p>
<ul>
<li class="level1"><div class="li"> Erwan LEGALL</div>
<li class="level1"><div class="li"> Hamza AISSAT</div>
</li>
<li class="level2"><div class="li"> Pascal PEJAC</div>
<li class="level1"><div class="li"> Casimir ANTUNES</div>
</li>
<li class="level2"><div class="li"> Eric GERMAN</div>
<li class="level1"><div class="li"> Sébastien BAHLOUL</div>
</li>
<li class="level2"><div class="li"> Habib ZITOUNI</div>
<li class="level1"><div class="li"> Oliver BOIREAU</div>
</li>
<li class="level2"><div class="li"> Hamza AISSAT</div>
<li class="level1"><div class="li"> Jean-Thomas CHECCO</div>
</li>
<li class="level2"><div class="li"> Casimir ANTUNES</div>
<li class="level1"><div class="li"> Sebastien DIAZ</div>
</li>
<li class="level2"><div class="li"> Sebastien DIAZ</div>
<li class="level1"><div class="li"> Hubert GAULTIER</div>
</li>
<li class="level2"><div class="li"> Oliver BOIREAU</div>
<li class="level1"><div class="li"> Eric GERMAN</div>
</li>
<li class="level1"><div class="li"> Mounir GZADY</div>
</li>
<li class="level1"><div class="li"> Erwan LEGALL</div>
</li>
<li class="level2"><div class="li"> Jean-Thomas CHECCO</div>
<li class="level1"><div class="li"> Pascal PEJAC</div>
</li>
<li class="level2"><div class="li"> Mounir GZADY</div>
<li class="level1"><div class="li"> Daniel RIVIERE</div>
</li>
<li class="level2"><div class="li"> Daniel RIVIERE</div>
<li class="level1"><div class="li"> Habib ZITOUNI</div>
</li>
</ul>
......
......@@ -57,14 +57,14 @@ Applications listed bellow are known to be easy to integrate in <acronym title="
<th class="col0 centeralign"> Dokuwiki </th><th class="col1 centeralign"> Mediawiki </th>
</tr>
<tr class="row1 rowodd">
<td class="col0 leftalign"> <a href="../../documentation/1.0/applications/dokuwiki.html" class="media" title="documentation:1.0:applications:dokuwiki"><img src="../../../media/wiki/dokuwiki-128.png" class="media" alt="" /></a> </td><td class="col1 rightalign"> <a href="../../documentation/1.0/applications/mediawiki.html" class="media" title="documentation:1.0:applications:mediawiki"><img src="../../../media/applications/mediawiki_logo.png" class="media" alt="" /></a> </td>
<td class="col0 leftalign"> <a href="../../documentation/1.0/applications/dokuwiki.html" class="media" title="documentation:1.0:applications:dokuwiki"><img src="../../../media/applications/dokuwiki_logo.png" class="media" alt="" /></a> </td><td class="col1 centeralign"> <a href="../../documentation/1.0/applications/mediawiki.html" class="media" title="documentation:1.0:applications:mediawiki"><img src="../../../media/applications/mediawiki_logo.png" class="media" alt="" /></a> </td>
</tr>
</table>
</div>
<h4><a name="cms_portal" id="cms_portal">CMS, Portal</a></h4>
<div class="level4">
<!-- SECTION "Wiki" [498-680] -->
<h3><a name="cms_portal" id="cms_portal">CMS, Portal</a></h3>
<div class="level3">
<table class="inline">
<tr class="row0 roweven">
<th class="col0 centeralign"> Drupal </th><th class="col1 centeralign"> Liferay </th>
......@@ -75,56 +75,71 @@ Applications listed bellow are known to be easy to integrate in <acronym title="
</table>
</div>
<h4><a name="bugtracker_service_management" id="bugtracker_service_management">Bugtracker, Service Management</a></h4>
<div class="level4">
<!-- SECTION "CMS, Portal" [681-860] -->
<h3><a name="bugtracker_service_management" id="bugtracker_service_management">Bugtracker, Service Management</a></h3>
<div class="level3">
<table class="inline">
<tr class="row0 roweven">
<th class="col0 centeralign"> Bugzilla </th><th class="col1 leftalign"> GLPI </th>
</tr>
<tr class="row1 rowodd">
<td class="col0 centeralign"> <a href="../../documentation/1.0/applications/bugzilla.html" class="media" title="documentation:1.0:applications:bugzilla"><img src="../../../media/applications/bugzilla_logo.png" class="media" alt="" /></a> </td><td class="col1 centeralign"> <a href="../../documentation/1.0/applications/glpi.html" class="media" title="documentation:1.0:applications:glpi"><img src="../../../media/applications/glpi_logo.png" class="media" alt="" /></a> </td>
<td class="col0 centeralign"> <a href="../../documentation/1.0/applications/bugzilla.html" class="media" title="documentation:1.0:applications:bugzilla"><img src="../../../media/applications/bugzilla_logo.png" class="media" alt="" /></a> </td><td class="col1 centeralign"> <a href="https://forge.indepnet.net/projects/glpi/wiki/GLPI-SSO" class="media" title="https://forge.indepnet.net/projects/glpi/wiki/GLPI-SSO" rel="nofollow"><img src="../../../media/applications/glpi_logo.png" class="media" alt="" width="100" /></a> </td>
</tr>
</table>
</div>
<h4><a name="other" id="other">Other</a></h4>
<div class="level4">
<!-- SECTION "Bugtracker, Service Management" [861-1094] -->
<h3><a name="other" id="other">Other</a></h3>
<div class="level3">
<table class="inline">
<tr class="row0 roweven">
<th class="col0 centeralign"> GRR </th><th class="col1 leftalign"> phpLDAPadmin </th><th class="col2 centeralign"> LinShare </th>
</tr>
<tr class="row1 rowodd">
<td class="col0 centeralign"> <a href="../../documentation/1.0/applications/grr.html" class="media" title="documentation:1.0:applications:grr"><img src="../../../media/applications/grr_logo.png" class="media" alt="" /></a> </td><td class="col1 centeralign"> <a href="../../documentation/1.0/applications/phpldapadmin.html" class="media" title="documentation:1.0:applications:phpldapadmin"><img src="../../../media/applications/phpldapadmin_logo.png" class="media" alt="" /></a> </td><td class="col2 centeralign"> <a href="http://www.linpki.org/projects/linshare/wiki/HttpHeaderSSOEN" class="media" title="http://www.linpki.org/projects/linshare/wiki/HttpHeaderSSOEN" rel="nofollow"><img src="../../../media/applications/linshare_logo.png" class="media" alt="" /></a> </td>
<td class="col0 centeralign"> <a href="http://grr.mutualibre.org/documentation/body.php?id=35" class="media" title="http://grr.mutualibre.org/documentation/body.php?id=35" rel="nofollow"><img src="../../../media/applications/grr_logo.png" class="media" alt="" /></a> </td><td class="col1 centeralign"> <a href="../../documentation/1.0/applications/phpldapadmin.html" class="media" title="documentation:1.0:applications:phpldapadmin"><img src="../../../media/applications/phpldapadmin_logo.png" class="media" alt="" /></a> </td><td class="col2 centeralign"> <a href="http://www.linpki.org/projects/linshare/wiki/HttpHeaderSSOEN" class="media" title="http://www.linpki.org/projects/linshare/wiki/HttpHeaderSSOEN" rel="nofollow"><img src="../../../media/applications/linshare_logo.png" class="media" alt="" /></a> </td>
</tr>
</table>
</div>
<!-- SECTION "Wiki" [498-1335] -->
<!-- SECTION "Other" [1095-1428] -->
<h2><a name="connectors" id="connectors">Connectors</a></h2>
<div class="level2">
<table class="inline">
<tr class="row0 roweven">
<th class="col0 centeralign"> <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> Auth-Basic </th><th class="col1 centeralign"> Spring </th><th class="col2 centeralign"> Tomcat </th>
<th class="col0 centeralign"> <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> Auth-Basic </th><th class="col1 centeralign"> Spring (ACEGI) </th><th class="col2 centeralign"> Tomcat </th>
</tr>
<tr class="row1 rowodd">
<td class="col0 centeralign"> <a href="../../documentation/1.0/applications/authbasic.html" class="media" title="documentation:1.0:applications:authbasic"><img src="../../../media/applications/http_logo.png" class="media" alt="" /></a> </td><td class="col1 centeralign"> <a href="../../documentation/1.0/applications/spring.html" class="media" title="documentation:1.0:applications:spring"><img src="../../../media/applications/spring_logo.png" class="media" alt="" /></a> </td><td class="col2 rightalign"> <a href="../../documentation/1.0/applications/tomcat.html" class="media" title="documentation:1.0:applications:tomcat"><img src="../../../media/applications/tomcat_logo.png" class="media" alt="" /></a> </td>
</tr>
<tr class="row2 roweven">
<th class="col0 centeralign" colspan="3"> Some applications using it </th>
</tr>
<tr class="row3 rowodd">
<td class="col0"> <a href="http://en.wikipedia.org/wiki/Outlook_Web_App" class="urlextern" title="http://en.wikipedia.org/wiki/Outlook_Web_App" rel="nofollow">Outlook Web App</a> <br/>
<a href="http://en.wikipedia.org/wiki/IBM_Lotus_iNotes" class="urlextern" title="http://en.wikipedia.org/wiki/IBM_Lotus_iNotes" rel="nofollow">IBM Lotus iNotes</a> </td><td class="col1"> </td><td class="col2 leftalign"> <a href="http://www.lambdaprobe.org" class="urlextern" title="http://www.lambdaprobe.org" rel="nofollow">Probe</a> <br/>
<a href="http://fr.lutece.paris.fr" class="urlextern" title="http://fr.lutece.paris.fr" rel="nofollow">Lutece</a> </td>
</tr>
</table>
</div>
<!-- SECTION "Connectors" [1336-1596] -->
<!-- SECTION "Connectors" [1429-1953] -->
<h2><a name="saml_connectors" id="saml_connectors">SAML connectors</a></h2>
<div class="level2">
<p>
<p><div class="noteclassic">This requires to configure <acronym title="LemonLDAP::NG">LL::NG</acronym> as an <a href="../../documentation/1.0/idpsaml.html" class="wikilink1" title="documentation:1.0:idpsaml">SAML Identity Provider</a>.
</div></p>
</p>
<table class="inline">
<tr class="row0 roweven">
<th class="col0 centeralign"> Google Apps </th>
<th class="col0 centeralign"> Google Apps </th><th class="col1 centeralign"> Zimbra </th>
</tr>
<tr class="row1 rowodd">
<td class="col0 centeralign"> <a href="../../documentation/1.0/applications/googleapps.html" class="media" title="documentation:1.0:applications:googleapps"><img src="../../../media/applications/googleapps_logo.png" class="media" alt="" /></a> </td>
<td class="col0 centeralign"> <a href="../../documentation/1.0/applications/googleapps.html" class="media" title="documentation:1.0:applications:googleapps"><img src="../../../media/applications/googleapps_logo.png" class="media" alt="" /></a> </td><td class="col1 centeralign"> <a href="http://blog.zimbra.com/blog/archives/2010/06/using-saml-assertions-to-access-zimbra.html" class="media" title="http://blog.zimbra.com/blog/archives/2010/06/using-saml-assertions-to-access-zimbra.html" rel="nofollow"><img src="../../../media/applications/zimbra_logo.png" class="media" alt="" /></a> </td>
</tr>
</table>
</div>
<!-- SECTION "SAML connectors" [1597-] --></div><!-- closes <div class="dokuwiki export">-->
\ No newline at end of file
<!-- SECTION "SAML connectors" [1954-] --></div><!-- closes <div class="dokuwiki export">-->
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<!-- metadata -->
<meta name="generator" content="Offline" />
<meta name="version" content="Offline 0.1" />
<!-- style sheet links -->
<link rel="stylesheet" media="all" type="text/css" href="../../../../css/all.css" />
<link rel="stylesheet" media="screen" type="text/css" href="../../../../css/screen.css" />
<link rel="stylesheet" media="print" type="text/css" href="../../../../css/print.css" />
</head>
<body>
<div class="dokuwiki export">
<h1><a name="bugzilla" id="bugzilla">Bugzilla</a></h1>
<div class="level1">
<p>
<a href="/_detail/applications/bugzilla_logo.png?id=documentation%3A1.0%3Aapplications%3Abugzilla" class="media" title="applications:bugzilla_logo.png"><img src="../../../../media/applications/bugzilla_logo.png" class="mediacenter" alt="" /></a>
</p>
</div>
<!-- SECTION "Bugzilla" [1-64] -->
<h2><a name="presentation" id="presentation">Presentation</a></h2>
<div class="level2">
<p>
<a href="http://www.bugzilla.org" class="urlextern" title="http://www.bugzilla.org" rel="nofollow">Bugzilla</a> is server software designed to help you manage software development.
</p>
<p>
Bugzilla can authenticate a user with <acronym title="Hyper Text Transfer Protocol">HTTP</acronym> headers, and auto-create its account with a few information:
</p>
<ul>
<li class="level1"><div class="li"> User ID</div>
</li>
<li class="level1"><div class="li"> Email</div>
</li>
<li class="level1"><div class="li"> Real name</div>
</li>
</ul>
</div>
<!-- SECTION "Presentation" [65-338] -->
<h2><a name="configuration" id="configuration">Configuration</a></h2>
<div class="level2">
</div>
<!-- SECTION "Configuration" [339-365] -->
<h3><a name="bugzilla_administration" id="bugzilla_administration">Bugzilla administration</a></h3>
<div class="level3">
<p>
In Bugzilla administration interface, go in <code>Parameters</code> » <code>User authentication</code>
</p>
<p>
Then set:
</p>
<ul>
<li class="level1"><div class="li"> <strong>auth_env_id</strong>: <acronym title="Hyper Text Transfer Protocol">HTTP</acronym>_AUTH_USER</div>
</li>
<li class="level1"><div class="li"> <strong>auth_env_email</strong>: <acronym title="Hyper Text Transfer Protocol">HTTP</acronym>_AUTH_MAIL</div>
</li>
<li class="level1"><div class="li"> <strong>auth_env_realname</strong>: <acronym title="Hyper Text Transfer Protocol">HTTP</acronym>_AUTH_CN</div>
</li>
<li class="level1"><div class="li"> <strong>user_info_class</strong>: Env or Env,<acronym title="Common Gateway Interface">CGI</acronym></div>
</li>
</ul>
</div>
<!-- SECTION "Bugzilla administration" [366-653] -->
<h3><a name="bugzilla_virtual_host_in_apache" id="bugzilla_virtual_host_in_apache">Bugzilla virtual host in Apache</a></h3>
<div class="level3">
<p>
Configure Bugzilla virtual host like other <a href="../../../documentation/1.0/configvhost.html" class="wikilink1" title="documentation:1.0:configvhost">protected virtual host</a>.
</p>
<pre class="code file apache">&lt;<span class="kw3">VirtualHost</span> *:80&gt;
<span class="kw1">ServerName</span> bugzilla.example.com
&nbsp;
PerlHeaderParserHandler My::Package
&nbsp;
...
&nbsp;
&lt;/<span class="kw3">VirtualHost</span>&gt;</pre>
</div>
<!-- SECTION "Bugzilla virtual host in Apache" [654-942] -->
<h3><a name="bugzilla_virtual_host_in_manager" id="bugzilla_virtual_host_in_manager">Bugzilla virtual host in Manager</a></h3>
<div class="level3">
<p>
Go to the Manager and <a href="../../../documentation/1.0/configvhost.html#lemonldapng_configuration" class="wikilink1" title="documentation:1.0:configvhost">create a new virtual host</a> for Bugzilla.
</p>
<p>
Configure the <a href="../../../documentation/1.0/writingrulesand_headers.html#rules" class="wikilink1" title="documentation:1.0:writingrulesand_headers">access rules</a>.
</p>
<p>
Configure the following <a href="../../../documentation/1.0/writingrulesand_headers.html#headers" class="wikilink1" title="documentation:1.0:writingrulesand_headers">headers</a>.
</p>
<ul>
<li class="level1"><div class="li"> <strong>Auth-User</strong>: $uid</div>
</li>
<li class="level1"><div class="li"> <strong>Auth-Mail</strong>: $mail</div>
</li>
<li class="level1"><div class="li"> <strong>Auth-Cn</strong>: $cn</div>
</li>
</ul>
</div>
<!-- SECTION "Bugzilla virtual host in Manager" [943-] --></div><!-- closes <div class="dokuwiki export">-->
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<!-- metadata -->
<meta name="generator" content="Offline" />
<meta name="version" content="Offline 0.1" />
<!-- style sheet links -->
<link rel="stylesheet" media="all" type="text/css" href="../../../../css/all.css" />
<link rel="stylesheet" media="screen" type="text/css" href="../../../../css/screen.css" />
<link rel="stylesheet" media="print" type="text/css" href="../../../../css/print.css" />
</head>
<body>
<div class="dokuwiki export">
<h1><a name="dokuwiki" id="dokuwiki">Dokuwiki</a></h1>
<div class="level1">
<p>
<a href="/_detail/applications/dokuwiki_logo.png?id=documentation%3A1.0%3Aapplications%3Adokuwiki" class="media" title="applications:dokuwiki_logo.png"><img src="../../../../media/applications/dokuwiki_logo.png" class="mediacenter" alt="" /></a>
</p>
</div>
<!-- SECTION "Dokuwiki" [1-64] -->
<h2><a name="presentation" id="presentation">Presentation</a></h2>
<div class="level2">
<p>
<a href="http://www.dokuwiki.org/" class="urlextern" title="http://www.dokuwiki.org/" rel="nofollow">DokuWiki</a> is a standards compliant, simple to use Wiki, mainly aimed at creating documentation of any kind. It is targeted at developer teams, workgroups and small companies. It has a simple but powerful syntax which makes sure the data files remain readable outside the Wiki and eases the creation of structured texts. All data is stored in plain text files – no database is required.
</p>
<p>
<p><div class="notetip">LemonLDAP::NG wiki uses Dokuwiki!
</div></p>
</p>
<p>
You will need to install a Dokuwiki plugin, available on <a href="../../../download.html#contributions" class="wikilink1" title="download">download page</a>. The plugin will check the <code>REMOTE_USER</code> environment variable to get the connected user.
</p>
</div>
<!-- SECTION "Presentation" [65-750] -->
<h2><a name="installation" id="installation">Installation</a></h2>
<div class="level2">
<p>
<a href="../../../download.html#contributions" class="wikilink1" title="download">Download</a> the plugin and copy the files in dokuwiki <code>inc/auth/</code> directory:
</p>
<pre class="code">
cp lemonldap.class.php inc/auth/
cp lemonldapuserdatabackend.class.php inc/auth/
</pre>
</div>
<!-- SECTION "Installation" [751-977] -->
<h2><a name="configuration" id="configuration">Configuration</a></h2>
<div class="level2">
</div>
<!-- SECTION "Configuration" [978-1004] -->
<h3><a name="dokuwiki_local_configuration" id="dokuwiki_local_configuration">Dokuwiki local configuration</a></h3>
<div class="level3">
<p>
Edit Dokuwiki local configuration (<code>conf/local.php</code>) and set <code>lemonldap</code> as authentication type:
</p>
<pre class="code file php"><span class="re0">$conf</span><span class="br0">&#91;</span>authtype<span class="br0">&#93;</span> <span class="sy0">=</span> lemonldap<span class="sy0">;</span></pre>
</div>
<!-- SECTION "Dokuwiki local configuration" [1005-1194] -->
<h3><a name="dokuwiki_virtual_host_in_apache" id="dokuwiki_virtual_host_in_apache">Dokuwiki virtual host in Apache</a></h3>
<div class="level3">
<p>
Configure Dokuwiki virtual host like other <a href="../../../documentation/1.0/configvhost.html" class="wikilink1" title="documentation:1.0:configvhost">protected virtual host</a>.
</p>
<pre class="code file apache">&lt;<span class="kw3">VirtualHost</span> *:80&gt;
<span class="kw1">ServerName</span> dokuwiki.example.com
&nbsp;
PerlHeaderParserHandler My::Package
&nbsp;
...
&nbsp;
&lt;/<span class="kw3">VirtualHost</span>&gt;</pre>
<p>
<p><div class="noteimportant">If you are protecting Dokuwiki with <acronym title="LemonLDAP::NG">LL::NG</acronym> as reverse proxy, <a href="../../../documentation/1.0/header_remote_user_conversion.html" class="wikilink1" title="documentation:1.0:header_remote_user_conversion">convert header into REMOTE_USER environment variable</a>.
</div></p>
</p>
</div>
<!-- SECTION "Dokuwiki virtual host in Apache" [1195-1658] -->
<h3><a name="dokuwiki_virtual_host_in_manager" id="dokuwiki_virtual_host_in_manager">Dokuwiki virtual host in Manager</a></h3>
<div class="level3">
<p>
Go to the Manager and <a href="../../../documentation/1.0/configvhost.html#lemonldapng_configuration" class="wikilink1" title="documentation:1.0:configvhost">create a new virtual host</a> for Dokuwiki.
</p>
<p>
Just configure the <a href="../../../documentation/1.0/writingrulesand_headers.html#rules" class="wikilink1" title="documentation:1.0:writingrulesand_headers">access rules</a>.
</p>
<p>
If using <acronym title="LemonLDAP::NG">LL::NG</acronym> as reverse proxy, configure the <code>Auth-User</code> <a href="../../../documentation/1.0/writingrulesand_headers.html#headers" class="wikilink1" title="documentation:1.0:writingrulesand_headers">header</a>, else no headers are needed.
</p>
</div>
<!-- SECTION "Dokuwiki virtual host in Manager" [1659-] --></div><!-- closes <div class="dokuwiki export">-->
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<!-- metadata -->
<meta name="generator" content="Offline" />
<meta name="version" content="Offline 0.1" />
<!-- style sheet links -->
<link rel="stylesheet" media="all" type="text/css" href="../../../../css/all.css" />
<link rel="stylesheet" media="screen" type="text/css" href="../../../../css/screen.css" />
<link rel="stylesheet" media="print" type="text/css" href="../../../../css/print.css" />
</head>
<body>
<div class="dokuwiki export">
<h1><a name="drupal" id="drupal">Drupal</a></h1>
<div class="level1">
<p>
<a href="/_detail/applications/drupal_logo.png?id=documentation%3A1.0%3Aapplications%3Adrupal" class="media" title="applications:drupal_logo.png"><img src="../../../../media/applications/drupal_logo.png" class="mediacenter" alt="" /></a>
</p>
</div>
<!-- SECTION "Drupal" [1-60] -->
<h2><a name="presentation" id="presentation">Presentation</a></h2>
<div class="level2">
<p>
<a href="http://drupal.org" class="urlextern" title="http://drupal.org" rel="nofollow">Drupal</a> is a <acronym title="Content Management System">CMS</acronym> written in <acronym title="Hypertext Preprocessor">PHP</acronym>. It can works with external modules to extends its functionalities. One of this module can be used to delegate authentication server to the web server: <a href="http://drupal.org/project/Webserver_auth" class="urlextern" title="http://drupal.org/project/Webserver_auth" rel="nofollow">Webserver Auth</a>.
</p>
</div>
<!-- SECTION "Presentation" [61-353] -->
<h2><a name="installation" id="installation">Installation</a></h2>
<div class="level2">
<p>
Install <a href="http://drupal.org/project/Webserver_auth" class="urlextern" title="http://drupal.org/project/Webserver_auth" rel="nofollow">Webserver Auth</a> module, by downloading it, and unarchive it in the drupal modules/ directory.
</p>
</div>
<!-- SECTION "Installation" [354-526] -->
<h2><a name="configuration" id="configuration">Configuration</a></h2>
<div class="level2">
</div>
<!-- SECTION "Configuration" [527-553] -->
<h3><a name="drupal_module_activation" id="drupal_module_activation">Drupal module activation</a></h3>
<div class="level3">
<p>
Go on Drupal administration interface and enable the Webserver Auth module.
</p>
</div>
<!-- SECTION "Drupal module activation" [554-666] -->
<h3><a name="drupal_virtual_host_in_apache" id="drupal_virtual_host_in_apache">Drupal virtual host in Apache</a></h3>
<div class="level3">
<p>
Configure Drupal virtual host like other <a href="../../../documentation/1.0/configvhost.html" class="wikilink1" title="documentation:1.0:configvhost">protected virtual host</a>.
</p>
<pre class="code file apache">&lt;<span class="kw3">VirtualHost</span> *:80&gt;
<span class="kw1">ServerName</span> drupal.example.com
&nbsp;
PerlHeaderParserHandler My::Package
&nbsp;
...
&nbsp;
&lt;/<span class="kw3">VirtualHost</span>&gt;</pre>
<p>
<p><div class="noteimportant">If you are protecting Drupal with <acronym title="LemonLDAP::NG">LL::NG</acronym> as reverse proxy, <a href="../../../documentation/1.0/header_remote_user_conversion.html" class="wikilink1" title="documentation:1.0:header_remote_user_conversion">convert header into REMOTE_USER environment variable</a>.
</div></p>
</p>
</div>
<!-- SECTION "Drupal virtual host in Apache" [667-1122] -->
<h3><a name="drupal_virtual_host_in_manager" id="drupal_virtual_host_in_manager">Drupal virtual host in Manager</a></h3>
<div class="level3">
<p>
Go to the Manager and <a href="../../../documentation/1.0/configvhost.html#lemonldapng_configuration" class="wikilink1" title="documentation:1.0:configvhost">create a new virtual host</a> for Drupal.
</p>
<p>
Just configure the <a href="../../../documentation/1.0/writingrulesand_headers.html#rules" class="wikilink1" title="documentation:1.0:writingrulesand_headers">access rules</a>.
</p>
<p>
If using <acronym title="LemonLDAP::NG">LL::NG</acronym> as reverse proxy, configure the <code>Auth-User</code> <a href="../../../documentation/1.0/writingrulesand_headers.html#headers" class="wikilink1" title="documentation:1.0:writingrulesand_headers">header</a>, else no headers are needed.
</p>
</div>
<!-- SECTION "Drupal virtual host in Manager" [1123-1476] -->
<h3><a name="protect_only_the_administration_pages" id="protect_only_the_administration_pages">Protect only the administration pages</a></h3>
<div class="level3">
<p>
With the above solution, all the Drupal site will be protected, so no anonymous access will be allowed.
</p>
<p>
<p><div class="noteimportant">You cannot use the <code>unprotect</code> rule because Drupal navigation is based on query strings (?q=admin, ?q=user, etc.), and unprotect rule only works on <acronym title="Uniform Resource Locator">URL</acronym> patterns.
</div></p>
</p>
<p>
You can create a special virtual host and use <a href="http://httpd.apache.org/docs/current/mod/mod_rewrite.html" class="urlextern" title="http://httpd.apache.org/docs/current/mod/mod_rewrite.html" rel="nofollow">Apache rewrite module</a> to switch between open and protected hosts:
</p>
<pre class="code file apache">&lt;<span class="kw3">VirtualHost</span> *:80&gt;
<span class="kw1">ServerName</span> drupal.example.com
&nbsp;
<span class="co1"># DocumentRoot</span>
<span class="kw1">DocumentRoot</span> /var/www/html/drupal/
<span class="kw1">DirectoryIndex</span> index.php
&nbsp;
<span class="co1"># Redirect admin pages</span>
<span class="kw1">RewriteEngine</span> <span class="kw2">On</span>
<span class="kw1">RewriteCond</span> %{QUERY_STRING} q=(admin|user)
<span class="kw1">RewriteRule</span> ^/(.*)$ http://admindrupal.example.com/$1 [R]
&nbsp;
<span class="kw1">LogLevel</span> warn
<span class="kw1">ErrorLog</span> /var/log/httpd/drupal-error.log
<span class="kw1">CustomLog</span> /var/log/httpd/drupal-access.log combined
&lt;/<span class="kw3">VirtualHost</span>&gt;
&lt;<span class="kw3">VirtualHost</span> *:80&gt;
<span class="kw1">ServerName</span> admindrupal.example.com
&nbsp;
<span class="co1"># SSO protection</span>
PerlHeaderParserHandler My::Package
&nbsp;
<span class="co1"># DocumentRoot</span>
<span class="kw1">DocumentRoot</span> /var/www/html/drupal/
<span class="kw1">DirectoryIndex</span> index.php
&nbsp;
<span class="kw1">LogLevel</span> warn
<span class="kw1">ErrorLog</span> /var/log/httpd/admindrupal-error.log
<span class="kw1">CustomLog</span> /var/log/httpd/admindrupal-access.log combined
&lt;/<span class="kw3">VirtualHost</span>&gt;</pre>
</div>
<!-- SECTION "Protect only the administration pages" [1477-] --></div><!-- closes <div class="dokuwiki export">-->
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<!-- metadata -->
<meta name="generator" content="Offline" />
<meta name="version" content="Offline 0.1" />
<!-- style sheet links -->
<link rel="stylesheet" media="all" type="text/css" href="../../../../css/all.css" />
<link rel="stylesheet" media="screen" type="text/css" href="../../../../css/screen.css" />
<link rel="stylesheet" media="print" type="text/css" href="../../../../css/print.css" />
</head>
<body>
<div class="dokuwiki export">
<h1><a name="liferay" id="liferay">Liferay</a></h1>
<div class="level1">
<p>
<a href="/_detail/applications/liferay_logo.png?id=documentation%3A1.0%3Aapplications%3Aliferay" class="media" title="applications:liferay_logo.png"><img src="../../../../media/applications/liferay_logo.png" class="mediacenter" alt="" /></a>
</p>
</div>
<!-- SECTION "Liferay" [1-62] -->
<h2><a name="presentation" id="presentation">Presentation</a></h2>
<div class="level2">
<p>
<a href="http://www.liferay.com/" class="urlextern" title="http://www.liferay.com/" rel="nofollow">Liferay</a> is an enterprise portal.
</p>
<p>
Liferay can use <acronym title="LemonLDAP::NG">LL::NG</acronym> as an <acronym title="Single Sign On">SSO</acronym> provider but you have to manage how users are created:
</p>
<ul>
<li class="level1"><div class="li"> By hand in Liferay administration screens</div>
</li>
<li class="level1"><div class="li"> Imported from an <acronym title="Lightweight Directory Access Protocol">LDAP</acronym> directory</div>
</li>
</ul>
<p>
Of course, integration will be full if you use the <acronym title="Lightweight Directory Access Protocol">LDAP</acronym> directory as users backend for <acronym title="LemonLDAP::NG">LL::NG</acronym> and Liferay.
</p>
<p>
<p><div class="noteimportant">If the user is not created, or can not be created via <acronym title="Lightweight Directory Access Protocol">LDAP</acronym> import, the connection to Liferay will be refused. With <acronym title="Lightweight Directory Access Protocol">LDAP</acronym>, login, mail, first name and last name are required attributes. If one is missing, the user is not created.
</div></p>
</p>
<p>
This documentation just explains how to set up the <acronym title="Single Sign On">SSO</acronym> part. Please refer to Liferay documentation to enable <acronym title="Lightweight Directory Access Protocol">LDAP</acronym> provisionning.
</p>
</div>
<!-- SECTION "Presentation" [63-811] -->
<h2><a name="configuration" id="configuration">Configuration</a></h2>
<div class="level2">