Commit 3a4eb388 authored by Xavier Guimard's avatar Xavier Guimard

Update doc

parent 9f731e3f
......@@ -90,7 +90,7 @@
<form action="/start" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
<ul class="nav navbar-nav">
<li><a href="/documentation/2.0/applications/img/icons.png?do=login&amp;sectok=2736f0d057a1684b484bf6a293e8c618" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
<li><a href="/documentation/2.0/applications/img/icons.png?do=login&amp;sectok=99cb60cc3ff21b244ff3c7b965219f58" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
</div>
......@@ -204,7 +204,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
</div><!-- /site -->
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Aapplications%3Aimg%3Aicons.png&amp;1487766884" width="2" height="1" alt="" /></div>
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Aapplications%3Aimg%3Aicons.png&amp;1487916345" width="2" height="1" alt="" /></div>
<div id="screen__mode" class="no">
<span class="visible-xs"></span>
<span class="visible-sm"></span>
......
......@@ -90,7 +90,7 @@
<form action="/start" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
<ul class="nav navbar-nav">
<li><a href="/documentation/2.0/applications/img/loader.gif?do=login&amp;sectok=2736f0d057a1684b484bf6a293e8c618" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
<li><a href="/documentation/2.0/applications/img/loader.gif?do=login&amp;sectok=99cb60cc3ff21b244ff3c7b965219f58" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
</div>
......@@ -204,7 +204,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
</div><!-- /site -->
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Aapplications%3Aimg%3Aloader.gif&amp;1487766883" width="2" height="1" alt="" /></div>
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Aapplications%3Aimg%3Aloader.gif&amp;1487916345" width="2" height="1" alt="" /></div>
<div id="screen__mode" class="no">
<span class="visible-xs"></span>
<span class="visible-sm"></span>
......
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<title>documentation:2.0:authrest</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,authrest"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="authrest.html"/>
<link rel="contents" href="authrest.html" title="Sitemap"/>
<link rel="stylesheet" type="text/css" href="lib/exe/css.php.t.bootstrap3.css"/>
<!-- //if:usedebianlibs
<link rel="stylesheet" type="text/css" href="/javascript/bootstrap/css/bootstrap.min.css" />
//elsif:useexternallibs
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"></script>
//elsif:cssminified
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
//else -->
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.css" />
<!-- //endif -->
<script type="text/javascript">/*<![CDATA[*/var NS='documentation:2.0';var JSINFO = {"id":"documentation:2.0:authrest","namespace":"documentation:2.0"};
/*!]]>*/</script>
<script type="text/javascript" charset="utf-8" src="lib/exe/js.php.t.bootstrap3.js"></script>
<!-- //if:usedebianlibs
<script type="text/javascript" src="/javascript/jquery/jquery.min.js"></script>
//elsif:useexternallibs
<script type="text/javascript" src="http://code.jquery.com/jquery-2.2.0.min.js"></script>
//elsif:jsminified
<script type="text/javascript" src="/static/bwr/jquery/dist/jquery.min.js"></script>
//else -->
<script type="text/javascript" src="/static/bwr/jquery/dist/jquery.js"></script>
<!-- //endif -->
<!-- //if:usedebianlibs
<script type="text/javascript" src="/javascript/jquery-ui/jquery-ui.min.js"></script>
//elsif:useexternallibs
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script>
//elsif:jsminified
<script type="text/javascript" src="/lib/scripts/jquery-ui.min.js"></script>
//else -->
<script type="text/javascript" src="/lib/scripts/jquery-ui.js"></script>
<!-- //endif -->
</head>
<body>
<div class="dokuwiki export container">
<!-- TOC START -->
<div id="dw__toc">
<h3 class="toggle">Table of Contents</h3>
<div>
<ul class="toc">
<li class="level1"><div class="li"><a href="#presentation">Presentation</a></div></li>
<li class="level1"><div class="li"><a href="#configuration">Configuration</a></div></li>
<li class="level1"><div class="li"><a href="#rest_dialog">REST Dialog</a></div></li>
</ul>
</div>
</div>
<!-- TOC END -->
<h1 class="sectionedit1" id="rest">REST</h1>
<div class="level1">
<div class="table sectionedit2"><table class="inline table table-bordered table-striped">
<thead>
<tr class="row0 roweven">
<th class="col0 centeralign"> Authentication </th><th class="col1 centeralign"> Users </th><th class="col2 centeralign"> Password </th>
</tr>
</thead>
<tr class="row1 rowodd">
<td class="col0 centeralign"></td><td class="col1 centeralign"></td><td class="col2 centeralign"></td>
</tr>
</table></div>
<!-- EDIT2 TABLE [21-90] -->
</div>
<!-- EDIT1 SECTION "REST" [1-91] -->
<h2 class="sectionedit3" id="presentation">Presentation</h2>
<div class="level2">
<p>
This backend can be used to delegate authentication to some webservices.
</p>
</div>
<!-- EDIT3 SECTION "Presentation" [92-191] -->
<h2 class="sectionedit4" id="configuration">Configuration</h2>
<div class="level2">
<p>
In Manager, go in <code>General Parameters</code> &gt; <code>Authentication modules</code> and choose REST for authentication, users and/or password modules.
</p>
<p>
Then you just have to set REST <abbr title="Uniform Resource Locator">URL</abbr> to provide wanted services:
</p>
<div class="table sectionedit5"><table class="inline table table-bordered table-striped">
<thead>
<tr class="row0 roweven">
<th class="col0 centeralign"> Module </th><th class="col1 centeralign"> Parameter </th>
</tr>
</thead>
<tr class="row1 rowodd">
<td class="col0 centeralign"> Authentication </td><td class="col1 centeralign"> Authentication <abbr title="Uniform Resource Locator">URL</abbr> </td>
</tr>
<tr class="row2 roweven">
<td class="col0 centeralign"> User database </td><td class="col1 centeralign"> User data <abbr title="Uniform Resource Locator">URL</abbr> </td>
</tr>
<tr class="row3 rowodd">
<td class="col0 centeralign"> Password </td><td class="col1 centeralign"> Password confirmation <abbr title="Uniform Resource Locator">URL</abbr> </td>
</tr>
<tr class="row4 roweven">
<td class="col0 centeralign"> Password </td><td class="col1 centeralign"> Password change <abbr title="Uniform Resource Locator">URL</abbr> </td>
</tr>
</table></div>
<!-- EDIT5 TABLE [420-612] -->
</div>
<!-- EDIT4 SECTION "Configuration" [192-613] -->
<h2 class="sectionedit6" id="rest_dialog">REST Dialog</h2>
<div class="level2">
<p>
REST web services just have to respond with a “result” key in a JSON file. Auth/UserDB can add a “info” array to will be copied is session data (without reading “Exported variables”).
</p>
<div class="table sectionedit7"><table class="inline table table-bordered table-striped">
<thead>
<tr class="row0 roweven">
<th class="col0 centeralign"> Parameter </th><th class="col1 centeralign"> Query </th><th class="col2 centeralign"> Response </th>
</tr>
</thead>
<tr class="row1 rowodd">
<td class="col0 centeralign"> Authentication <abbr title="Uniform Resource Locator">URL</abbr> </td><td class="col1"> JSON file: <code>{“user”:$user,“password”:$password}</code> </td><td class="col2"> JSON file: <code>{“result”:true/false,“info”:{…}}</code> </td>
</tr>
<tr class="row2 roweven">
<td class="col0 centeralign"> User data <abbr title="Uniform Resource Locator">URL</abbr> </td><td class="col1"> JSON file: <code>{“user”:$user}</code> </td><td class="col2"> JSON file: <code>{“result”:true/false,“info”:{“uid”:“dwho”,…}}</code> </td>
</tr>
<tr class="row3 rowodd">
<td class="col0 centeralign"> Password confirmation <abbr title="Uniform Resource Locator">URL</abbr> </td><td class="col1"> JSON file: <code>{“user”:$user,“password”:$password}</code> </td><td class="col2"> JSON file: <code>{“result”:true/false}</code> </td>
</tr>
<tr class="row4 roweven">
<td class="col0 centeralign"> Password change <abbr title="Uniform Resource Locator">URL</abbr> </td><td class="col1"> JSON file: <code>{“user”:$user,“password”:$password}</code> </td><td class="col2"> JSON file: <code>{“result”:true/false}</code> </td>
</tr>
</table></div>
<!-- EDIT7 TABLE [824-1351] --><div class="notetip">To have only one call, you can set only REST authentication, set datas in “info” key response and set Null as User Database.
</div>
</div>
<!-- EDIT6 SECTION "REST Dialog" [614-] --></div>
</body>
</html>
......@@ -90,7 +90,7 @@
<form action="/start" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
<ul class="nav navbar-nav">
<li><a href="/bootswatch/3.3.4/flatly/bootstrap.min.css?do=login&amp;sectok=2736f0d057a1684b484bf6a293e8c618" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
<li><a href="/bootswatch/3.3.4/flatly/bootstrap.min.css?do=login&amp;sectok=99cb60cc3ff21b244ff3c7b965219f58" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
</div>
......@@ -204,7 +204,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
</div><!-- /site -->
<div class="no"><img src="/lib/exe/indexer.php?id=bootswatch%3A3.3.4%3Aflatly%3Abootstrap.min.css&amp;1487766885" width="2" height="1" alt="" /></div>
<div class="no"><img src="/lib/exe/indexer.php?id=bootswatch%3A3.3.4%3Aflatly%3Abootstrap.min.css&amp;1487916346" width="2" height="1" alt="" /></div>
<div id="screen__mode" class="no">
<span class="visible-xs"></span>
<span class="visible-sm"></span>
......
......@@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>documentation:2.0:confignginx</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,confignginx"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="confignginx.html"/>
......@@ -74,11 +74,11 @@
<div class="level2">
<p>
To use Nginx, you must install LemonLDAP::NG FastCGI server, which is not installed by default lemonldap-ng meta package.
To use Nginx, you must install LemonLDAP::NG FastCGI server, which is not installed by default lemonldap-ng metapackage.
</p>
</div>
<!-- EDIT2 SECTION "FastCGI server" [43-193] -->
<!-- EDIT2 SECTION "FastCGI server" [43-192] -->
<h3 class="sectionedit3" id="debianubuntu">Debian/Ubuntu</h3>
<div class="level3">
<pre class="code">apt install lemonldap-ng-fastcgi-server</pre>
......@@ -90,7 +90,7 @@ Enable and start the service :
systemctl start llng-fastcgi-server</pre>
</div>
<!-- EDIT3 SECTION "Debian/Ubuntu" [194-394] -->
<!-- EDIT3 SECTION "Debian/Ubuntu" [193-393] -->
<h3 class="sectionedit4" id="red_hatcentos">Red Hat/CentOS</h3>
<div class="level3">
<pre class="code">yum install lemonldap-ng-fastcgi-server</pre>
......@@ -102,7 +102,7 @@ Enable and start the service :
systemctl start llng-fastcgi-server</pre>
</div>
<!-- EDIT4 SECTION "Red Hat/CentOS" [395-596] -->
<!-- EDIT4 SECTION "Red Hat/CentOS" [394-595] -->
<h2 class="sectionedit5" id="files">Files</h2>
<div class="level2">
......@@ -115,7 +115,7 @@ You have to include them in Nginx main configuration.
</p>
</div>
<!-- EDIT5 SECTION "Files" [597-819] -->
<!-- EDIT5 SECTION "Files" [596-818] -->
<h3 class="sectionedit6" id="debianubuntu1">Debian/Ubuntu</h3>
<div class="level3">
......@@ -136,7 +136,7 @@ ln -s /etc/nginx/sites-available/portal-nginx.conf /etc/nginx/sites-enabled/
ln -s /etc/nginx/sites-available/test-nginx.conf /etc/nginx/sites-enabled/</pre>
</div>
<!-- EDIT6 SECTION "Debian/Ubuntu" [820-1578] -->
<!-- EDIT6 SECTION "Debian/Ubuntu" [819-1577] -->
<h3 class="sectionedit7" id="red_hatcentos1">Red Hat/CentOS</h3>
<div class="level3">
......@@ -149,6 +149,6 @@ ln -s /etc/lemonldap-ng/portal-nginx.conf /etc/nginx/conf.d/
ln -s /etc/lemonldap-ng/test-nginx.conf /etc/nginx/conf.d/</pre>
</div>
<!-- EDIT7 SECTION "Red Hat/CentOS" [1579-] --></div>
<!-- EDIT7 SECTION "Red Hat/CentOS" [1578-] --></div>
</body>
</html>
......@@ -76,9 +76,10 @@ There is nothing to configure to use it except that:
<li class="level1"><div class="li"> you can set the loopback <abbr title="Uniform Resource Locator">URL</abbr> needed by the DevOps handler to get /rules.json. Default to <a href="http://127.0.0.1" class="urlextern" title="http://127.0.0.1" rel="nofollow">http://127.0.0.1</a>:&lt;server-port&gt;</div>
</li>
</ul>
<div class="noteimportant">Note that DevOps handler will refuse to compile rules.json if <a href="safejail.html" class="wikilink1" title="documentation:2.0:safejail">Safe Jail</a> isn&#039;t enabled.
</div>
</div>
<!-- EDIT1 SECTION "DevOps Handler" [1-867] -->
<!-- EDIT1 SECTION "DevOps Handler" [1-991] -->
<h2 class="sectionedit2" id="configuration_example">Configuration example</h2>
<div class="level2">
......@@ -126,6 +127,6 @@ Here is a simple Nginx configuration file. It looks like a standard LLNG nginx c
</dd></dl>
</div>
<!-- EDIT2 SECTION "Configuration example" [868-] --></div>
<!-- EDIT2 SECTION "Configuration example" [992-] --></div>
</body>
</html>
......@@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>documentation:2.0:performances</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,performances"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="performances.html"/>
......@@ -59,8 +59,6 @@
<li class="level1"><div class="li"><a href="#portal_performances">Portal performances</a></div>
<ul class="toc">
<li class="level2"><div class="li"><a href="#general_performances">General performances</a></div></li>
<li class="level2"><div class="li"><a href="#configuration_access">Configuration access</a></div></li>
<li class="level2"><div class="li"><a href="#starting_performances">Starting performances</a></div></li>
<li class="level2"><div class="li"><a href="#apachesession_performances">Apache::Session performances</a></div>
<ul class="toc">
<li class="level3"><div class="li"><a href="#replace_mysql_by_apachesessionflex">Replace MySQL by Apache::Session::Flex</a></div></li>
......@@ -111,12 +109,16 @@ To bypass this, you can:
<h2 class="sectionedit3" id="handler_performance">Handler performance</h2>
<div class="level2">
<p>
To increase handler performance, you can disable “Sessions activity timeout” To prevent it from writing to the session database.
</p>
<p>
Handlers check rights and calculate headers for each HTTP hit. So to improve performances, avoid too complex rules by using the macro or the groups or local macros.
</p>
</div>
<!-- EDIT3 SECTION "Handler performance" [659-856] -->
<!-- EDIT3 SECTION "Handler performance" [659-986] -->
<h3 class="sectionedit4" id="macros_and_groups">Macros and groups</h3>
<div class="level3">
......@@ -175,7 +177,7 @@ admin <span class="sy0">-&gt;</span> <span class="re0">$uid</span> <span class="
</div><div class="noteimportant">Macros and groups are computed in alphanumeric order, that is, in the order they are displayed in the manager. For example, macro “macro1” will be computed before macro “macro2”: so, expression of macro2 may involve value of macro1. As same for groups: a group rule may involve another, previously computed group.
</div>
</div>
<!-- EDIT4 SECTION "Macros and groups" [857-2819] -->
<!-- EDIT4 SECTION "Macros and groups" [987-2949] -->
<h3 class="sectionedit5" id="local_macros">Local macros</h3>
<div class="level3">
......@@ -189,59 +191,32 @@ Display<span class="sy0">-</span>Name <span class="sy0">-&gt;</span> <span class
<div class="notetip">Note that this feature is interesting only for the Lemonldap::NG systems protecting a high number of applications
</div>
</div>
<!-- EDIT5 SECTION "Local macros" [2820-3481] -->
<!-- EDIT5 SECTION "Local macros" [2950-3611] -->
<h2 class="sectionedit6" id="portal_performances">Portal performances</h2>
<div class="level2">
</div>
<!-- EDIT6 SECTION "Portal performances" [3482-3514] -->
<!-- EDIT6 SECTION "Portal performances" [3612-3644] -->
<h3 class="sectionedit7" id="general_performances">General performances</h3>
<div class="level3">
<p>
The portal is the biggest component of Lemonldap::NG. It is recommended to use ModPerl::Registry instead of using cgi-script as described in Apache configuration file example (portal-apache2.conf):
</p>
<pre class="code apache">&lt;<span class="kw3">Files</span> *.pl&gt;
<span class="kw1">SetHandler</span> perl-<span class="kw1">script</span>
PerlResponseHandler ModPerl::Registry
&lt;/<span class="kw3">Files</span>&gt;</pre>
<p>
You can also use a FastCGI server using index.fcgi given in portal examples.
The portal is the biggest component of Lemonldap::NG. Since version 2.0, it is run under FastCGI and rewritten using plugins, so performance is increased in comparison to earlier versions. You just have to disable unused plugins:
</p>
<ul>
<li class="level1"><div class="li"> disable unused issuer modules</div>
</li>
<li class="level1"><div class="li"> disable notifications if not used</div>
</li>
<li class="level1"><div class="li"></div>
</li>
</ul>
<div class="notetip">In production environment for network performance, prefer using minified versions of javascript and css libs: use <code>make install <strong>PROD=yes</strong></code>. This is done by default in RPM/DEB packages.
</div>
</div>
<!-- EDIT7 SECTION "General performances" [3515-4145] -->
<h3 class="sectionedit8" id="configuration_access">Configuration access</h3>
<div class="level3">
<p>
If you set <code>useLocalConf</code> to 1 in lemonldap-ng.ini (section [Portal]), the portal will use only a cached configuration. To refresh it, you have to set an handler on the same server to use the refresh mechanism or to restart the server after each configuration change.
</p>
</div>
<!-- EDIT8 SECTION "Configuration access" [4146-4448] -->
<h3 class="sectionedit9" id="starting_performances">Starting performances</h3>
<div class="level3">
<p>
To make the portal start faster when the server is relaunched, add those lines in Apache configuration file (as described in portal-apache2.conf):
</p>
<pre class="code apache">&lt;Perl&gt;
<span class="kw1">require</span> Lemonldap::NG::Portal::SharedConf;
Lemonldap::NG::Portal::SharedConf-&gt;compile(
qw(delete <span class="kw1">header</span> cache read_from_client cookie <span class="kw1">redirect</span> unescapeHTML));
<span class="co1"># Uncomment this line if you use Lemonldap::NG menu</span>
<span class="kw1">require</span> Lemonldap::NG::Portal::Menu;
<span class="co1"># Uncomment this line if you use portal SOAP capabilities</span>
<span class="kw1">require</span> SOAP::Lite;
&lt;/Perl&gt;</pre>
</div>
<!-- EDIT9 SECTION "Starting performances" [4449-5024] -->
<h3 class="sectionedit10" id="apachesession_performances">Apache::Session performances</h3>
<!-- EDIT7 SECTION "General performances" [3645-4198] -->
<h3 class="sectionedit8" id="apachesession_performances">Apache::Session performances</h3>
<div class="level3">
<p>
......@@ -291,8 +266,8 @@ Note that Apache::Session::Browseable::MySQL doesn&#039;t use MySQL locks.
</div><div class="noteimportant">Some Apache::Session module are not fully usable by Lemonldap::NG such as Apache::Session::Memcached since this modules do not offer capability to browse sessions. They does not allow one to use sessions explorer neither manage one-off sessions.
</div>
</div>
<!-- EDIT10 SECTION "Apache::Session performances" [5025-7381] -->
<h3 class="sectionedit11" id="ldap_performances">LDAP performances</h3>
<!-- EDIT8 SECTION "Apache::Session performances" [4199-6555] -->
<h3 class="sectionedit9" id="ldap_performances">LDAP performances</h3>
<div class="level3">
<p>
......@@ -328,13 +303,13 @@ Now ldapgroups contains “admin su”
</div>
</div>
<!-- EDIT11 SECTION "LDAP performances" [7382-8511] -->
<h2 class="sectionedit12" id="manager_performances">Manager performances</h2>
<!-- EDIT9 SECTION "LDAP performances" [6556-7685] -->
<h2 class="sectionedit10" id="manager_performances">Manager performances</h2>
<div class="level2">
</div>
<!-- EDIT12 SECTION "Manager performances" [8512-8545] -->
<h3 class="sectionedit13" id="disable_unused_modules">Disable unused modules</h3>
<!-- EDIT10 SECTION "Manager performances" [7686-7719] -->
<h3 class="sectionedit11" id="disable_unused_modules">Disable unused modules</h3>
<div class="level3">
<p>
......@@ -344,8 +319,8 @@ In lemonldap-ng.ini, set only modules that you will use. By default, configurati
<span class="re1">enabledModules</span> <span class="sy0">=</span><span class="re2"> conf, sessions</span></pre>
</div>
<!-- EDIT13 SECTION "Disable unused modules" [8546-8792] -->
<h3 class="sectionedit14" id="use_static_html_files">Use static HTML files</h3>
<!-- EDIT11 SECTION "Disable unused modules" [7720-7966] -->
<h3 class="sectionedit12" id="use_static_html_files">Use static HTML files</h3>
<div class="level3">
<p>
......@@ -371,6 +346,6 @@ So manager <abbr title="HyperText Markup Language">HTML</abbr> templates will be
</p>
</div>
<!-- EDIT14 SECTION "Use static HTML files" [8793-] --></div>
<!-- EDIT12 SECTION "Use static HTML files" [7967-] --></div>
</body>
</html>
......@@ -90,7 +90,7 @@
<form action="/start" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
<ul class="nav navbar-nav">
<li><a href="/documentation/2.0/restserverplugin?do=login&amp;sectok=2736f0d057a1684b484bf6a293e8c618" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
<li><a href="/documentation/2.0/restserverplugin?do=login&amp;sectok=99cb60cc3ff21b244ff3c7b965219f58" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
</div>
......@@ -204,7 +204,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
</div><!-- /site -->
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Arestserverplugin&amp;1487766900" width="2" height="1" alt="" /></div>
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Arestserverplugin&amp;1487916362" width="2" height="1" alt="" /></div>
<div id="screen__mode" class="no">
<span class="visible-xs"></span>
<span class="visible-sm"></span>
......
This diff is collapsed.
......@@ -1018,14 +1018,6 @@ chown www-data:www-data /var/lib/lemonldap-ng/sessions /var/lib/lemonldap-ng/ses
<seg>Régles de réécriture des IdP</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>It is recommended to use ModPerl::Registry instead of using cgi-script as described in Apache configuration file example (portal-apache2.conf):</seg>
</tuv>
<tuv lang="FR-FR">
<seg>Il est recommendé d'utiliser ModPerl::Registry au lieu d'utiliser le dispositif &quot;cgi-script&quot; tel qu'indiqué dans les fichiers de configuration d'Apache proposés en exemple (portal-apache2.conf):</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>They will be tested in the specified order.</seg>
......@@ -4948,14 +4940,6 @@ $WebserverAuth_autouserprofile = Array(</seg>
<seg>Date et heure (timestamp) de la création de la session</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>If you set useLocalConf to 1 in lemonldap-ng.ini (section [Portal]), the portal will use only a cached configuration.</seg>
</tuv>
<tuv lang="FR-FR" changedate="20131025T080649Z" changeid="xavier">
<seg>En mettant useLocalConf à 1 dans lemonldap-ng.ini (section [Portal]), le portail utilisera la configuration cachée.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Common Domain Cookie</seg>
......@@ -5596,14 +5580,6 @@ make test</seg>
<seg>SAML 2.0 / Shibboleth</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg># Uncomment this line if you use Lemonldap::NG menu</seg>
</tuv>
<tuv lang="FR-FR">
<seg># Décommentez cette ligne si vous utilisez le menu Lemonldap::NG</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Application list: display categories and applications allowed for the user</seg>
......@@ -7278,14 +7254,6 @@ else {</seg>
<seg>Plusieurs chaînes dbiUser sont utilisables :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>qw(delete header cache read_from_client cookie redirect unescapeHTML));</seg>
</tuv>
<tuv lang="FR-FR">
<seg>qw(delete header cache read_from_client cookie redirect unescapeHTML));</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>&lt;bean id=&quot;userDetailsServiceWrapper&quot; class=&quot;org.springframework.security.userdetails.UserDetailsByNameServiceWrapper&quot;&gt;</seg>
......@@ -10878,14 +10846,6 @@ dirName = /var/lib/lemonldap-ng/conf</seg>
<seg>URL du portail mandataire</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg># Uncomment this line if you use portal SOAP capabilities</seg>
</tuv>
<tuv lang="FR-FR">
<seg># Décommentez cette ligne si vous utilisez les capacités SOAP du portail</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Reload the Manager to see the order that will be used</seg>
......@@ -10902,14 +10862,6 @@ dirName = /var/lib/lemonldap-ng/conf</seg>
<seg>Expiration des sessions</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>&lt;Perl&gt;</seg>
</tuv>
<tuv lang="FR-FR">
<seg>&lt;Perl&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Configure LemonLDAP::NG to use MySQL as main database</seg>
......@@ -15284,14 +15236,6 @@ server {</seg>
<seg>Il suffit donc de déclarer cet en-tête pour l'hôte virtuel dans le manager.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Starting performances</seg>
</tuv>
<tuv lang="FR-FR">
<seg>Performances au démarrage</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>VHOSTLISTEN: how listen parameter is configured for virtual hosts in Apache (default: *:80)</seg>
......@@ -16716,16 +16660,6 @@ dbiTable = mytablename</seg>
<seg>Ceci concerne tous les paramètres de la section &quot;organization&quot; des métadatas :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>require SOAP::Lite;
&lt;/Perl&gt;</seg>
</tuv>
<tuv lang="FR-FR">
<seg>require SOAP::Lite;
&lt;/Perl&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Signature</seg>
......@@ -16942,14 +16876,6 @@ dbiTable = mytablename</seg>
<seg>Configurer les attributs :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Configuration access</seg>
</tuv>
<tuv lang="FR-FR" changedate="20131025T080602Z" changeid="xavier">
<seg>Accès à la configuration</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>sudo ln -s /usr/local/lemonldap-ng/etc/cron.d/* /etc/cron.d/</seg>
......@@ -22836,14 +22762,6 @@ tpl_myparam = world</seg>
<seg>Conversion des métadatas un UTF8 : mettre à « activé » pour forcer la conversion des métadata des partenaires.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>You can also use a FastCGI server using index.fcgi given in portal examples.</seg>
</tuv>
<tuv lang="FR-FR" changedate="20131025T123056Z" changeid="xavier">
<seg>On peut utiliser un serveur FastCGI en utilisant le fichier index.fcgi disponible dans les exemples du portail.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>globalStorage</seg>
......@@ -24280,14 +24198,6 @@ globalStorageOptions = { 'Directory' =&gt; '/var/lib/lemonldap-ng/sessions/', 'L
<seg>Éditer lemonldap-ng.ini, et activer le statut dans la section handler :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>require Lemonldap::NG::Portal::SharedConf;</seg>
</tuv>
<tuv lang="FR-FR">
<seg>require Lemonldap::NG::Portal::SharedConf;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>http://packages.debian.org/search?keywords=lemonldap-ng</seg>
......@@ -24312,14 +24222,6 @@ globalStorageOptions = { 'Directory' =&gt; '/var/lib/lemonldap-ng/sessions/', 'L
<seg>//&quot;userobom_phone2&quot; =&gt; ,</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>To make the portal start faster when the server is relaunched, add those lines in Apache configuration file (as described in portal-apache2.conf):</seg>
</tuv>
<tuv lang="FR-FR">
<seg>Pour accélérer le démarrage du portail lorsque le serveur est relancé, ajoutez les lignes suivantes dans les fichiers de configuration d'Apache (tel que proposé dans portal-apache2.conf):</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Secure Token protected URLs</seg>
......@@ -25946,14 +25848,6 @@ globalStorageOptions = { 'Directory' =&gt; '/var/lib/lemonldap-ng/sessions/', 'L
<seg>port</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>SetHandler perl-script</seg>
</tuv>
<tuv lang="FR-FR">
<seg>SetHandler perl-script</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>#!/usr/bin/perl
......@@ -26216,14 +26110,6 @@ LMAUTH: while ( my $portal = Lemonldap::NG::Portal::SharedConf-&gt;new({}) ) {</
<seg>Fichier temporaire PGT de CAS</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>To refresh it, you have to set an handler on the same server to use the refresh mechanism or to restart the server after each configuration change.</seg>
</tuv>
<tuv lang="FR-FR" changedate="20131025T081946Z" changeid="xavier">
<seg>Pour la rafraîchir, il faut installer un agent (handler) sur le même serveur pour utiliser le mécanisme de rafraîchissement ou redémarrer le serveur à chaque changement.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Path: keep ^/oauth2/ unless you need to use another path (in this case, you need to adapt Apache configuration)</seg>
......@@ -27118,14 +27004,6 @@ WithPeak[test.example.com]: wmy</seg>
<seg>La configuration peut être stockée sous plusieurs formats (SQL, File, LDAP) mais doit être partégée via le réseau si on utilise plus d'un serveur.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>&lt;Files *.pl&gt;</seg>
</tuv>
<tuv lang="FR-FR">
<seg>&lt;Files *.pl&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>You should now use the Manager to configure all applications and categories, and then comment or remove the applicationList parameter from /etc/lemonldap-ng/lemonldap-ng.ini.</seg>
......@@ -30284,16 +30162,6 @@ chown www-data /usr/local/lemonldap-ng/notifications/</seg>
<seg>^/c/portal/logout =&gt; logout_sso</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>PerlResponseHandler ModPerl::Registry
&lt;/Files&gt;</seg>
</tuv>
<tuv lang="FR-FR">
<seg>PerlResponseHandler ModPerl::Registry
&lt;/Files&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>The file auth.keytab should then be copied (with a secure media) to the Linux server (for example in /etc/lemonldap-ng).</seg>
......@@ -31606,14 +31474,6 @@ else {</seg>
<seg>deny</seg>