| 1 |
Proxy |
| 2 |
===== |
| 3 |
|
| 4 |
============== ===== ======== |
| 5 |
Authentication Users Password |
| 6 |
============== ===== ======== |
| 7 |
✔ ✔ |
| 8 |
============== ===== ======== |
| 9 |
|
| 10 |
Presentation |
| 11 |
------------ |
| 12 |
|
| 13 |
LL::NG is able to send (through REST or SOAP) authentication |
| 14 |
credentials to another LL::NG portal, like a proxy. |
| 15 |
|
| 16 |
The difference with :doc:`remote authentication<authremote>` is that the |
| 17 |
client will never be redirect to the main LL::NG portal. This |
| 18 |
configuration is useful if you want to expose your internal SSO portal |
| 19 |
to another network (DMZ). |
| 20 |
|
| 21 |
Configuration |
| 22 |
------------- |
| 23 |
|
| 24 |
External portal |
| 25 |
~~~~~~~~~~~~~~~ |
| 26 |
|
| 27 |
In Manager, go in ``General Parameters`` > ``Authentication modules`` |
| 28 |
and choose Proxy for authentication and users. |
| 29 |
|
| 30 |
Then, go in ``Proxy parameters``: |
| 31 |
|
| 32 |
- **Authentication level**: authentication level for Proxy module |
| 33 |
- **Use SOAP instead of REST**: use a deprecated SOAP server instead of |
| 34 |
a REST one (you must set it if internal portal version is < 2.0). In |
| 35 |
this case, "Portal URL" parameter must contain SOAP endpoint |
| 36 |
(generally http://auth.example.com/index.pl/sessions for 1.9 and |
| 37 |
earlier, http://auth.example.com/sessions for 2.0) |
| 38 |
- **URL**: URL of internal portal |
| 39 |
- **Session service URL** (optional): session service URL (default: |
| 40 |
same as previous for SOAP, same with "/session/my" for REST) |
| 41 |
- **Choice parameter** (optional): choice parameter of the internal portal if applicable |
| 42 |
- **Choice value** (optional): value of the choice parameter of the internal portal |
| 43 |
- **Cookie name** (optional): internal portal cookie name, |
| 44 |
if different from external portal |
| 45 |
- **Impersonation** (optional) : can be enabled if the internal portal provides impersonation |
| 46 |
|
| 47 |
.. note:: |
| 48 |
|
| 49 |
If the internal portal uses :doc:`Choice Authentication<authchoice>`, |
| 50 |
you have to specify 'Internal portal choice parameter' and |
| 51 |
'Internal portal choice value' depending on its configuration. |
| 52 |
This feature needs at least LL::NG version 2.0.14. |
| 53 |
|
| 54 |
Internal portal |
| 55 |
~~~~~~~~~~~~~~~ |
| 56 |
|
| 57 |
The portal must be configured to accept REST or SOAP authentication |
| 58 |
requests. See: |
| 59 |
:doc:`REST server plugin<restservices>` or |
| 60 |
:doc:`SOAP session backend<soapsessionbackend>` *(deprecated)*. |
| 61 |
|
| 62 |
SOAP compatibility with 1.9 server |
| 63 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 64 |
|
| 65 |
If your Proxy is a 2.0.x and your server is a 1.9.x, you should add this |
| 66 |
in your lemonldap-ng.ini: |
| 67 |
|
| 68 |
.. code-block:: ini |
| 69 |
|
| 70 |
soapProxyUrn = urn:Lemonldap/NG/Common/CGI/SOAPService |
| 71 |
|
| 72 |
.. attention:: |
| 73 |
|
| 74 |
This feature needs at least LL::NG version 2.0.8 |