Commit e7d60461 authored by Clément OUDOT's avatar Clément OUDOT

Doc: OpenID

parent 7692cefd
......@@ -261,6 +261,9 @@
<li><span class="wikilink"><a href=
"4.5-Configure-Liberty-Alliance-fr.html">Liberty Alliance (projet
FederID)</a></span> (fr)</li>
<li><span class="wikilink"><a href=
"4.5-OpenID-authentication-backend.html">OpenID</a></span> (en)</li>
</ul>
<h4 class="heading-1-1-1"><span id="HBased27utilisateurs">Base
......
......@@ -253,6 +253,9 @@
<li><span class="wikilink"><a href=
"4.5-Configure-Liberty-Alliance-fr.html">Liberty Alliance (FederID
project)</a></span> (fr)</li>
<li><span class="wikilink"><a href=
"4.5-OpenID-authentication-backend.html">OpenID</a></span> (en)</li>
</ul>
<h4 class="heading-1-1-1"><span id="HUserdatabasebackends">User database
......
......@@ -105,6 +105,8 @@
Alliance (will be replaced by SAML in 0.9.5)</a></li>
<li><a href="#HTwitter">Twitter</a></li>
<li><a href="#HOpenID">OpenID</a></li>
</ul>
</li>
</ul>
......@@ -1806,6 +1808,26 @@ level1Key =&gt; { level2Key =&gt; 'value' },
<td>No</td>
</tr>
<tr class="table-even">
<td>Activate recursive groups</td>
<td>ldapGroupRecursive</td>
<td>1.0</td>
<td>No</td>
</tr>
<tr class="table-odd">
<td>Group link attribute name</td>
<td>ldapGroupAttributeNameGroup</td>
<td>1.0</td>
<td>No</td>
</tr>
</table>
<h4 class="heading-1-1-1"><span id="HDBI">DBI</span></h4><br />
......@@ -2219,6 +2241,31 @@ level1Key =&gt; { level2Key =&gt; 'value' },
<td>No*</td>
</tr>
</table>
<h4 class="heading-1-1-1"><span id="HOpenID">OpenID</span></h4><br />
<br />
<table class="wiki-table" cellpadding="0" cellspacing="0" border="0">
<tr>
<th>Full name</th>
<th>Key name</th>
<th>Version</th>
<th>GUI</th>
</tr>
<tr class="table-odd">
<td>OpenID secret token</td>
<td>openIdSecret</td>
<td>1.0</td>
<td>No*</td>
</tr>
</table>
</div>
<p class="footer"><a href="index.html">Index</a></p>
......
<?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 7 December 2008), see www.w3.org" />
<title>Lemonldap::NG documentation:
4.5-OpenID-authentication-backend.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="HOpenID">OpenID</span></h2>
<p class="paragraph"></p>
<ul>
<li><a href="#HPresentation">Presentation</a></li>
<li><a href="#HLemonLDAP3ANGconfiguration">LemonLDAP:NG
configuration</a></li>
</ul>
<h3 class="heading-1-1"><span id="HPresentation">Presentation</span></h3>
<p class="paragraph"></p>OpenID allows you to delegate authentication to
OpenID providers. Each user can have it own provider.
<p class="paragraph"></p>More information: <span class=
"wikiexternallink"><a href=
"http://openid.net/">http://openid.net/</a></span>.
<h3 class="heading-1-1"><span id=
"HLemonLDAP3ANGconfiguration">LemonLDAP:NG configuration</span></h3>
<p class="paragraph"></p>You have to define a secret token to be sure that
OpenID response is linked to your request. This token must be set in
<strong class="strong">openIdSecret</strong> field.
<p class="paragraph"></p>Configuration example:
<div class="code">
<pre>
authentication =&gt; OpenID,
openIdSecret =&gt; yOUc4nn0thackm3,
</pre>
</div>
<p class="paragraph"></p>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>
......@@ -119,6 +119,11 @@ userDB =&gt; LDAP,
<li>ldapGroupAttributeNameSearch: name(s) of the attribute storing the
name of the group (this should be a list reference)</li>
<li>ldapGroupRecursive: activate recursive group functionality</li>
<li>ldapGroupAttributeNameGroup: name of the attribute in groups entries
used in the link</li>
</ul>You can edit portal/index.pl to modify the values, for example:
<div class="code">
......@@ -127,7 +132,9 @@ ldapGroupBase =&gt; 'ou=groups,dc=example,dc=com',
ldapGroupObjectClass =&gt; 'groupOfUniqueNames',
ldapGroupAttributeName =&gt; 'uniqueMember',
ldapGroupAttributeNameUser =&gt; 'dn',
ldapGroupAttributeNameGroup =&gt; 'dn',
ldapGroupAttributeNameSearch =&gt; ['cn'],
ldapGroupRecursive =&gt; 1,
</pre>
</div>
......@@ -151,7 +158,9 @@ ldapGroupBase =&gt; 'ou=groups,dc=example,dc=com',
ldapGroupObjectClass =&gt; 'group',
ldapGroupAttributeName =&gt; 'member',
ldapGroupAttributeNameUser =&gt; 'dn',
ldapGroupAttributeNameGroup =&gt; 'dn',
ldapGroupAttributeNameSearch =&gt; ['cn'],
ldapGroupRecursive =&gt; 1,
</pre>
</div>
......
......@@ -80,6 +80,7 @@
<li><a href="4.5-LDAP-authentication-backend.html">4.5 LDAP authentication backend</a></li>
<li><a href="4.5-Liberty-Alliance-authentication-backend-fr.html">4.5 Liberty Alliance authentication backend (FR)</a></li>
<li><a href="4.5-Multiple-authentication-backend.html">4.5 Multiple authentication backend</a></li>
<li><a href="4.5-OpenID-authentication-backend.html">4.5 OpenID authentication backend</a></li>
<li><a href="4.5-Proxy-authentication-module.html">4.5 Proxy authentication module</a></li>
<li><a href="4.5-Remote-authentication-backend.html">4.5 Remote authentication backend</a></li>
<li><a href="4.5-SAML-authentication-backend.html">4.5 SAML authentication backend</a></li>
......
......@@ -49,6 +49,7 @@ my $docs = {
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/AuthProxy' => '4.5-Proxy-authentication-module.html',
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/AuthSAML' => '4.5-SAML-authentication-backend.html',
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/DocLA?language=fr' => '4.5-Liberty-Alliance-authentication-backend-fr.html',
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/AuthOpenID' => '4.5-OpenID-authentication-backend.html',
# User backends
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/UserDBLDAP' => '4.6-LDAP-user-backend.html',
'http://wiki.lemonldap.ow2.org/xwiki/bin/view/NG/UserDBNull' => '4.6-Null-user-backend.html',
......@@ -221,6 +222,7 @@ while ( my ( $url, $file ) = each %$docs ) {
s#/xwiki/bin/view/NG/AuthRemote#4.5-Remote-authentication-backend.html#g;
s#/xwiki/bin/view/NG/AuthMulti#4.5-Multiple-authentication-backend.html#g;
s#/xwiki/bin/view/NG/AuthSAML#4.5-SAML-authentication-backend.html#g;
s#/xwiki/bin/view/NG/AuthOpenID#4.5-OpenID-authentication-backend.html#g;
s#/xwiki/bin/view/NG/UserDBLDAP#4.6-LDAP-user-backend.html#g;
s#/xwiki/bin/view/NG/UserDBNull#4.6-Null-user-backend.html#g;
s#/xwiki/bin/view/NG/UserDBMulti#4.6-Multiple-user-backend.html#g;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment