Documentation update
This commit is contained in:
parent
5803952784
commit
0f6a546727
|
@ -95,6 +95,9 @@
|
|||
<a href="#HAutres">Autres</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="#HTraC3A7abilitC3A9etlogs">Traçabilité et
|
||||
logs</a></li>
|
||||
|
||||
<li><a href="#HDocumentationpourlesdC3A9veloppeurs">Documentation
|
||||
pour les développeurs</a></li>
|
||||
|
||||
|
@ -333,6 +336,15 @@
|
|||
<h3 class="heading-1-1"><span id="HAutres">Autres</span></h3><img src=
|
||||
"tux_clemente_01.png" alt="tux_clemente_01.png" />
|
||||
|
||||
<h4 class="heading-1-1-1"><span id=
|
||||
"HTraC3A7abilitC3A9etlogs">Traçabilité et logs</span></h4>
|
||||
|
||||
<ul class="star">
|
||||
<li><span class="wikilink"><a href=
|
||||
"/xwiki/bin/view/NG/Accounting">Traces des actions des
|
||||
utilisateurs</a></span> (en)</li>
|
||||
</ul>
|
||||
|
||||
<h4 class="heading-1-1-1"><span id=
|
||||
"HDocumentationpourlesdC3A9veloppeurs">Documentation pour les
|
||||
développeurs</span></h4>
|
||||
|
|
|
@ -91,6 +91,8 @@
|
|||
<a href="#HOthers">Others</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="#HAccountingandlogs">Accounting and logs</a></li>
|
||||
|
||||
<li><a href="#HDevelopersdocumentation">Developers
|
||||
documentation</a></li>
|
||||
|
||||
|
@ -317,6 +319,14 @@
|
|||
<h3 class="heading-1-1"><span id="HOthers">Others</span></h3><img src=
|
||||
"tux_clemente_01.png" alt="tux_clemente_01.png" />
|
||||
|
||||
<h4 class="heading-1-1-1"><span id="HAccountingandlogs">Accounting and
|
||||
logs</span></h4>
|
||||
|
||||
<ul class="star">
|
||||
<li><span class="wikilink"><a href=
|
||||
"/xwiki/bin/view/NG/Accounting">Logging user actions</a></span></li>
|
||||
</ul>
|
||||
|
||||
<h4 class="heading-1-1-1"><span id="HDevelopersdocumentation">Developers
|
||||
documentation</span></h4>
|
||||
|
||||
|
|
|
@ -65,6 +65,8 @@
|
|||
<li><a href=
|
||||
"#HBibliothC3A8quePubliqued27Information">Bibliothèque Publique
|
||||
d'Information</a></li>
|
||||
|
||||
<li><a href="#HLINAGORAGroup">LINAGORA Group</a></li>
|
||||
</ul>They use LemonLDAP::NG:
|
||||
|
||||
<h3 class="heading-1-1"><span id="HGendarmerieNationale">Gendarmerie
|
||||
|
@ -90,6 +92,22 @@
|
|||
|
||||
<li>Nb protected applications: ~10</li>
|
||||
</ul>
|
||||
|
||||
<h3 class="heading-1-1"><span id="HLINAGORAGroup">LINAGORA
|
||||
Group</span></h3>
|
||||
|
||||
<p class="paragraph"></p><img src="linagora_logo.png" alt=
|
||||
"linagora_logo.png" />
|
||||
|
||||
<p class="paragraph"></p>They use LemonLDAP::NG to secure their intranet.
|
||||
Protected softwares are Dotclear, GLPI, OBM, Alfresco, and other specific
|
||||
tools.
|
||||
|
||||
<ul class="star">
|
||||
<li>Nb users: ~150</li>
|
||||
|
||||
<li>Nb protected applications: ~5</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<p class="footer"><a href="index.html">Index</a></p>
|
||||
|
|
|
@ -114,6 +114,8 @@
|
|||
time parameters in access rules<br />
|
||||
<img src="warning_triangle.png" alt="warning_triangle.png" /> Monitoring
|
||||
scripts (MRTG, Cacti, Nagios)<br />
|
||||
<img src="warning_triangle.png" alt="warning_triangle.png" /> Normalize
|
||||
logs messages<br />
|
||||
<img src="error.png" alt="error.png" /> Handler POST functionnalities, to
|
||||
fill authentication forms with login/password<br />
|
||||
<img src="error.png" alt="error.png" /> Portal and Manager trigger system,
|
||||
|
@ -125,7 +127,6 @@
|
|||
scripts<br />
|
||||
<img src="error.png" alt="error.png" /> Change configuration storage to
|
||||
XML<br />
|
||||
<img src="error.png" alt="error.png" /> Normalize logs messages<br />
|
||||
<img src="error.png" alt="error.png" /> Multiple cookies (<span class=
|
||||
"wikilink"><a href="/xwiki/bin/view/NG/MultipleCookies">learn
|
||||
more</a></span>)<br />
|
||||
|
|
133
build/lemonldap-ng/doc/6.1-Accounting.html
Normal file
133
build/lemonldap-ng/doc/6.1-Accounting.html
Normal file
|
@ -0,0 +1,133 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
|
||||
<head>
|
||||
<meta name="generator" content=
|
||||
"HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
|
||||
|
||||
<title>Lemonldap::NG documentation: 6.1-Accounting.html</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
|
||||
<style type="text/css">
|
||||
/*<![CDATA[*/
|
||||
body{
|
||||
background: #ddd;
|
||||
font-family: sans-serif;
|
||||
font-size: 11pt;
|
||||
padding: 0 50px;
|
||||
}
|
||||
div.main-content{
|
||||
padding: 10px;
|
||||
background: #fff;
|
||||
border: 2px #ccc solid;
|
||||
}
|
||||
a{
|
||||
text-decoration: none;
|
||||
}
|
||||
p.footer{
|
||||
text-align: center;
|
||||
margin: 5px 0 0 0;
|
||||
}
|
||||
.heading-1{
|
||||
text-align: center;
|
||||
color: orange;
|
||||
font-variant: small-caps;
|
||||
font-size: 20pt;
|
||||
}
|
||||
.heading-1-1{
|
||||
color: orange;
|
||||
font-size: 14pt;
|
||||
border-bottom: 2px #ccc solid;
|
||||
}
|
||||
pre{
|
||||
background: #eee;
|
||||
border: 2px #ccc solid;
|
||||
padding: 5px;
|
||||
border-left: 10px #ccc solid;
|
||||
}
|
||||
ul.star li{
|
||||
list-style-type: square;
|
||||
}
|
||||
/*]]>*/
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="main-content">
|
||||
<h2 class="heading-1"><span id="HAccountinganduserslogging">Accounting and
|
||||
users logging</span></h2>
|
||||
|
||||
<p class="paragraph"></p>By default, Lemonldap::NG uses Apache logs to
|
||||
store user actions. It can be change easily. Examples bellow works for
|
||||
Lemonldap::NG version 0.9.4 and later.
|
||||
|
||||
<h3 class="heading-1-1"><span id="HUserslogsonportal">Users logs on
|
||||
portal</span></h3>
|
||||
|
||||
<p class="paragraph"></p>Lemonldap::NG portal logs :
|
||||
|
||||
<ul class="star">
|
||||
<li>authentications (level "notice")</li>
|
||||
|
||||
<li>logout (level "notice")</li>
|
||||
|
||||
<li>bad user (level "warn")</li>
|
||||
|
||||
<li>bad password (level "warn")</li>
|
||||
|
||||
<li>session expired (level "debug")</li>
|
||||
</ul>To use syslog, you just have to set "syslog => '<facility>'"
|
||||
in the new() subroutine. Example to log user actions with the facility
|
||||
"auth" :
|
||||
|
||||
<div class="code">
|
||||
<pre>
|
||||
my $portal = Lemonldap::NG::Portal-><span class="java-keyword">new</span>({
|
||||
syslog => <span class="java-quote">"auth"</span>,
|
||||
…
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p class="paragraph"></p>You can customize this by redefining userNotice()
|
||||
and userError() methods. Example :
|
||||
|
||||
<div class="code">
|
||||
<pre>
|
||||
my $portal = Lemonldap::NG::Portal-><span class="java-keyword">new</span>({
|
||||
userNotice => sub {
|
||||
my ($self, $message) = @_;
|
||||
# <span class=
|
||||
"java-keyword">do</span> something with $message
|
||||
# Note that username is stored in $self->{user}
|
||||
# and password in $self->{password}
|
||||
},
|
||||
userNotice => sub {
|
||||
my ($self, $message) = @_;
|
||||
# <span class=
|
||||
"java-keyword">do</span> something with $message
|
||||
# Note that username is stored in $self->{user}
|
||||
# and other datas are stored in $self->{sessionInfo}
|
||||
},
|
||||
…
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<h3 class="heading-1-1"><span id="HUserslogsonhandlers">Users logs on
|
||||
handlers</span></h3>
|
||||
|
||||
<p class="paragraph"></p>Lemonldap::NG handlers logs :
|
||||
|
||||
<ul class="star">
|
||||
<li>access forbidden (level "notice")</li>
|
||||
|
||||
<li>access granted (level "debug")</li>
|
||||
</ul>To change logging, redefine the methods logForbidden() and
|
||||
logGranted().
|
||||
</div>
|
||||
|
||||
<p class="footer"><a href="index.html">Index</a></p>
|
||||
</body>
|
||||
</html>
|
|
@ -82,6 +82,7 @@
|
|||
<li><a href="6-Errors-fr.html">6 Errors (FR)</a></li>
|
||||
<li><a href="6-References.html">6 References</a></li>
|
||||
<li><a href="6-Roadmap.html">6 Roadmap</a></li>
|
||||
<li><a href="6.1-Accounting.html">6.1 Accounting</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<p class="footer">Find the latest version of the documentation on <a href="http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Presentation">LemonLDAP::NG Wiki</a> !</p>
|
||||
|
|
BIN
build/lemonldap-ng/doc/linagora_logo.png
Normal file
BIN
build/lemonldap-ng/doc/linagora_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
|
@ -38,6 +38,7 @@ my $docs = {
|
|||
'http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Erreurs?language=fr' => '6-Errors-fr.html',
|
||||
'http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Roadmap' => '6-Roadmap.html',
|
||||
'http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/References' => '6-References.html',
|
||||
'http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Accounting' => '6.1-Accounting.html',
|
||||
};
|
||||
|
||||
my %imgs;
|
||||
|
|
Loading…
Reference in New Issue
Block a user