lemonldap-ng/doc/pages/documentation/2.0/logoutforward.html

71 lines
2.7 KiB
HTML
Raw Normal View History

<!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="logout_forward" id="logout_forward">Logout forward</a></h1>
<div class="level1">
</div>
<!-- SECTION "Logout forward" [1-30] -->
<h2><a name="presentation" id="presentation">Presentation</a></h2>
<div class="level2">
<p>
2015-05-22 17:11:57 +02:00
Even if LL:NG can catch logout <acronym title="Uniform Resource Locator">URL</acronym> trough <a href="../../documentation/2.0/writingrulesand_headers.html#rules" class="wikilink1" title="documentation:2.0:writingrulesand_headers">virtual host rules</a>, you can have the need to forward a logout to other applications, to close their local sessions.
</p>
<p>
<acronym title="LemonLDAP::NG">LL::NG</acronym> has a logout forward mechanism, that will add a step in logout process, to send logout requests (indeed, GET requests on application logout <acronym title="Uniform Resource Locator">URL</acronym>) inside hidden iframes.
</p>
<p>
<p><div class="notetip">The logout request will be sent even if the user did not use the application.
</div></p>
</p>
</div>
<!-- SECTION "Presentation" [31-521] -->
<h2><a name="configuration" id="configuration">Configuration</a></h2>
<div class="level2">
<p>
Go in Manager, <code>General parameters</code> » <code>Advanced parameters</code> » <code>Logout forward</code> and click on <code>Add a key</code>, then fill:
</p>
<ul>
<li class="level1"><div class="li"> <strong>Key</strong>: application name</div>
</li>
<li class="level1"><div class="li"> <strong>Value</strong>: application logout <acronym title="Uniform Resource Locator">URL</acronym></div>
</li>
</ul>
<p>
<p><div class="noteimportant">The request on logout <acronym title="Uniform Resource Locator">URL</acronym> will be sent after user is disconnected, so you should unprotect this <acronym title="Uniform Resource Locator">URL</acronym> if it is protected by an <acronym title="LemonLDAP::NG">LL::NG</acronym> Handler.
</div></p>
</p>
</div>
<!-- SECTION "Configuration" [522-] --></div><!-- closes <div class="dokuwiki export">-->