| 1 |
The Portal |
| 2 |
========== |
| 3 |
|
| 4 |
The Portal is the main component of LL::NG. It provides many features: |
| 5 |
|
| 6 |
- **Authentication service** of course |
| 7 |
|
| 8 |
- Web based for normal users: |
| 9 |
|
| 10 |
- using own database (:doc:`LDAP<authldap>`, :doc:`SQL<authdbi>`, ...) |
| 11 |
- using web server authentication system (used for |
| 12 |
:doc:`SSL<authssl>`, :doc:`Kerberos<authapache>`, |
| 13 |
:doc:`HTTP basic authentication<authapache>`, ...) |
| 14 |
- using external identity provider (:doc:`SAML<authsaml>`, |
| 15 |
:doc:`OpenID<authopenid>`, :doc:`CAS<authcas>`, |
| 16 |
:doc:`Twitter<authtwitter>`, other LL::NG system, ...) |
| 17 |
- all together (based on user :doc:`choice<authchoice>`, |
| 18 |
:doc:`rules<authmulti>`, ...) |
| 19 |
|
| 20 |
- :doc:`SOAP based<soapservices>` and |
| 21 |
:doc:`REST based<restservices>` for client-server software, |
| 22 |
specific development, ... |
| 23 |
|
| 24 |
- **Identity provider**: LL::NG is able to provide identity service |
| 25 |
using: |
| 26 |
|
| 27 |
- :doc:`SAML<idpsaml>` |
| 28 |
- :doc:`OpenID Connect<idpopenidconnect>` |
| 29 |
- :doc:`CAS<idpcas>` |
| 30 |
|
| 31 |
- :doc:`Identity provider proxy<federationproxy>`: LL::NG can be |
| 32 |
used as proxy translator between systems talking SAML, OpenID, CAS, |
| 33 |
... |
| 34 |
- **Internal SOAP server** used by |
| 35 |
:doc:`SOAP configuration backend<soapconfbackend>` and usable for |
| 36 |
specific development (see :doc:`SOAP services<soapservices>` for |
| 37 |
more) |
| 38 |
- **Internal REST server** used by |
| 39 |
:doc:`REST configuration backend<restconfbackend>` and usable for |
| 40 |
specific development (see :doc:`REST services<restservices>` for |
| 41 |
more) |
| 42 |
- Interactive **management of user passwords**: |
| 43 |
|
| 44 |
- Password change form (in menu) |
| 45 |
- Self service reset (send a mail to the user with a to change the |
| 46 |
password) |
| 47 |
- Force password change with LDAP password policy password reset |
| 48 |
flag |
| 49 |
|
| 50 |
- :doc:`Application menu<portalmenu>`: display authorized |
| 51 |
applications in categories |
| 52 |
- :doc:`Notifications<notifications>`: prompt users with a message |
| 53 |
if found in the notification database |
| 54 |
- Second factors management |
| 55 |
|
| 56 |
How it works |
| 57 |
------------ |
| 58 |
|
| 59 |
LL::NG portal is a modular component. It needs 4 modules to work: |
| 60 |
|
| 61 |
- :ref:`Authentication<start-authentication-users-and-password-databases>`: |
| 62 |
how to check user credentials |
| 63 |
- :ref:`User database<start-authentication-users-and-password-databases>`: |
| 64 |
where to collect user information |
| 65 |
- :ref:`Password database<start-authentication-users-and-password-databases>`: |
| 66 |
where to change password |
| 67 |
- :ref:`Identity provider<start-identity-provider>`: how to forward user |
| 68 |
identity |
| 69 |
|
| 70 |
|
| 71 |
.. tip:: |
| 72 |
|
| 73 |
Each module can be disabled using the ``Null`` backend. |
| 74 |
|
| 75 |
Kinematics |
| 76 |
---------- |
| 77 |
|
| 78 |
#. Check if requested URL is valid |
| 79 |
#. Check if user is already authenticated |
| 80 |
|
| 81 |
- If not authenticated (or authentication is forced), try to find |
| 82 |
(userDB module) and authenticate him (auth module), collect user data, |
| 83 |
compute groups and macros, ask for second factor if required, |
| 84 |
create a session and store it. LL::NG affords a captcha feature |
| 85 |
which can be enabled. |
| 86 |
|
| 87 |
#. Modify password if asked (password module) |
| 88 |
#. Provide identity if asked (IdP module) |
| 89 |
#. Build :doc:`cookie(s)<ssocookie>` |
| 90 |
#. Redirect user to the asked URL or display dynamic menu |
| 91 |
|
| 92 |
|
| 93 |
.. note:: |
| 94 |
|
| 95 |
See also |
| 96 |
:ref:`general kinematics presentation<presentation-kinematics>`. |
| 97 |
|
| 98 |
URL parameters |
| 99 |
-------------- |
| 100 |
|
| 101 |
Some parameters in URL can change Portal behaviour: |
| 102 |
|
| 103 |
- **confirm**: Bypass confirmation page (for example: ``confirm=1``) |
| 104 |
- **llnglanguage**: Force lang used to display the page (for example: ``llnglanguage=fr``) |
| 105 |
- **logout**: Launch logout process (for example: ``logout=1``) |
| 106 |
- **tab**: Preselect a tab (Choice or Menu) (for example: ``tab=password``) |
| 107 |
- **setCookieLang**: Update lang cookie to keep language set with ``llnglanguage`` parameter |
| 108 |
(for example: ``setCookieLang=1``) |