<ahref="http://www.w3.org/wiki/WebID"class="urlextern"title="http://www.w3.org/wiki/WebID"rel="nofollow">WebID</a> is a way to uniquely identify a person, company, organisation, or other agent using a <abbrtitle="Uniform Resource Identifier">URI</abbr> and a certificate.
</p>
<p>
You need <ahref="https://metacpan.org/release/Web-ID"class="urlextern"title="https://metacpan.org/release/Web-ID"rel="nofollow">Web::ID</a> package.
In Manager, go in <code>General Parameters</code>><code>Authentication modules</code> and choose WebID for authentication module. You can also use WebID as user database.
</p>
<p>
Then, go in <code>WebID parameters</code>:
</p>
<ul>
<liclass="level1"><divclass="li"><strong>Authentication level</strong>: authentication level for this module.</div>
</li>
<liclass="level1"><divclass="li"><strong>WebID whitelist</strong>: list of space separated hosts granted to host FOAF document. You can use '*' character. Example :<preclass="code">*.partner.com</pre>
</div>
</li>
</ul>
<p>
If you use WebID as user database, declare values in <strong>exported variables</strong> :
<liclass="level1"><divclass="li"> use any key name you want. If you want to refuse access when a data is missing, just add a "!" before the key name</div>
<liclass="level1"><divclass="li"> in the value field, set the field name. Take a look at <ahref="http://xmlns.com/foaf/spec/#sec-crossref"class="urlextern"title="http://xmlns.com/foaf/spec/#sec-crossref"rel="nofollow">http://xmlns.com/foaf/spec/#sec-crossref</a>. Example :<preclass="code">name => foaf:name</pre>
</div>
</li>
</ul>
<p>
See also <ahref="exportedvars.html"class="wikilink1"title="documentation:2.0:exportedvars">exported variables configuration</a>.
Portal host must be configured to use SSL and must ask for client certificate. It is recommended to use optional_no_ca since WebID doesn't use certificate authorities :