| 1 |
Documentation for LemonLDAP::NG 2.0 |
| 2 |
=================================== |
| 3 |
|
| 4 |
.. image:: logos/logo_llng_600px.png |
| 5 |
:alt: LL::NG logo |
| 6 |
:align: center |
| 7 |
:target: https://www.lemonldap-ng.org |
| 8 |
|
| 9 |
.. toctree:: |
| 10 |
|
| 11 |
Documentation index<documentation> |
| 12 |
|
| 13 |
.. toctree:: |
| 14 |
:caption: Getting started |
| 15 |
:hidden: |
| 16 |
|
| 17 |
presentation |
| 18 |
index_upgrade |
| 19 |
index_installation |
| 20 |
|
| 21 |
.. toctree:: |
| 22 |
:caption: Configuration |
| 23 |
:hidden: |
| 24 |
|
| 25 |
index_webserver |
| 26 |
index_firststeps |
| 27 |
index_portal |
| 28 |
index_handler |
| 29 |
index_databases |
| 30 |
|
| 31 |
.. toctree:: |
| 32 |
:caption: Application protection |
| 33 |
:hidden: |
| 34 |
|
| 35 |
writingrulesand_headers |
| 36 |
variables |
| 37 |
selfmadeapplication |
| 38 |
formreplay |
| 39 |
customhandlers |
| 40 |
webserviceprotection |
| 41 |
websocketapplications |
| 42 |
applications/authbasic |
| 43 |
applications |
| 44 |
|
| 45 |
|
| 46 |
.. toctree:: |
| 47 |
:caption: Advanced topics |
| 48 |
:hidden: |
| 49 |
|
| 50 |
index_advanced |
| 51 |
index_minihowtos |
| 52 |
index_exploitation |
| 53 |
index_dev |
| 54 |
|
| 55 |
|
| 56 |
Presentation |
| 57 |
------------ |
| 58 |
|
| 59 |
- :doc:`Presentation<presentation>` |
| 60 |
- :doc:`Quick start tutorial<quickstart>` |
| 61 |
|
| 62 |
Upgrading |
| 63 |
--------- |
| 64 |
|
| 65 |
- :doc:`Upgrade notes<upgrade>` |
| 66 |
|
| 67 |
Installation |
| 68 |
------------ |
| 69 |
|
| 70 |
- :doc:`prereq` |
| 71 |
|
| 72 |
- :doc:`Installation on Debian/Ubuntu with packages<installdeb>` |
| 73 |
- :doc:`Installation on RHEL/CentOS with packages<installrpm>` |
| 74 |
- :doc:`Run in LemonLDAP::NG in Docker<docker>` |
| 75 |
|
| 76 |
|
| 77 |
.. _start-configuration: |
| 78 |
|
| 79 |
Configuration |
| 80 |
------------- |
| 81 |
|
| 82 |
Configuring your Web server |
| 83 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 84 |
|
| 85 |
- :doc:`Deploy Nginx configuration<confignginx>` *(recommended |
| 86 |
configuration)* |
| 87 |
- :doc:`Deploy Apache configuration<configapache>` |
| 88 |
|
| 89 |
Basics |
| 90 |
~~~~~~ |
| 91 |
|
| 92 |
|image5| |
| 93 |
|
| 94 |
- :doc:`Configuration overview<configlocation>` |
| 95 |
- :doc:`Configure Single Sign On cookie and portal URL<ssocookie>` |
| 96 |
- :doc:`Parameter redirections<redirections>` |
| 97 |
- :doc:`Set exported variables<exportedvars>` |
| 98 |
- :doc:`Manage virtual hosts<configvhost>` |
| 99 |
- :doc:`Configure sessions specificities<sessions>` |
| 100 |
|
| 101 |
Portal |
| 102 |
~~~~~~ |
| 103 |
|
| 104 |
|image6| |
| 105 |
|
| 106 |
- :doc:`Presentation<portal>` |
| 107 |
- :doc:`Portal customization<portalcustom>` |
| 108 |
- :doc:`Portal menu<portalmenu>` |
| 109 |
- :doc:`REST/SOAP servers<portalservers>` |
| 110 |
- :doc:`Captcha<captcha>` |
| 111 |
- :doc:`reCaptcha<recaptcha>` |
| 112 |
- :doc:`CaptchEtat<captchetat>` |
| 113 |
- :doc:`Public pages<public_pages>` |
| 114 |
|
| 115 |
|
| 116 |
.. _start-authentication-users-and-password-databases: |
| 117 |
|
| 118 |
Authentication, users and password databases |
| 119 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 120 |
|
| 121 |
|image7| |
| 122 |
|
| 123 |
==================================================================== =============================================== ======== ======== |
| 124 |
Official Backends Authentication Users Password |
| 125 |
==================================================================== =============================================== ======== ======== |
| 126 |
:doc:`Active Directory<authad>` ✔ ✔ ✔ |
| 127 |
:doc:`Apache (Basic, NTLM, OTP, ...)<authapache>` ✔ |
| 128 |
:doc:`CAS<authcas>` ✔ ✔ |
| 129 |
:doc:`SQL Databases<authdbi>` ✔ ✔ ✔ |
| 130 |
:doc:`Demonstration<authdemo>` ✔ ✔ ✔ |
| 131 |
:doc:`Facebook<authfacebook>` ✔ ✔ |
| 132 |
:doc:`GitHub<authgithub>` [1]_ ✔ |
| 133 |
:doc:`GPG<authgpg>` [2]_ ✔ |
| 134 |
:doc:`Kerberos<authkerberos>` ✔ |
| 135 |
:doc:`LDAP<authldap>` ✔ ✔ ✔ |
| 136 |
:doc:`LinkedIn<authlinkedin>` ✔ |
| 137 |
:doc:`Null<authnull>` ✔ ✔ ✔ |
| 138 |
:doc:`OpenID Connect<authopenidconnect>` ✔ ✔ |
| 139 |
:doc:`PAM<authpam>` ✔ |
| 140 |
:doc:`Proxy LL::NG<authproxy>` ✔ ✔ |
| 141 |
:doc:`Radius<authradius>` ✔ |
| 142 |
:doc:`REST<authrest>` ✔ ✔ ✔ |
| 143 |
:doc:`SAML 2.0 / Shibboleth<authsaml>` ✔ ✔ |
| 144 |
:doc:`Slave<authslave>` ✔ ✔ |
| 145 |
:doc:`SSL<authssl>` ✔ |
| 146 |
:doc:`Twitter<authtwitter>` ✔ |
| 147 |
:doc:`WebID<authwebid>` ✔ ✔ |
| 148 |
:doc:`Passkeys<authwebauthn>` |beta| ✔ |
| 149 |
:doc:`Yubico OTP<authyubikey>` |deprecated| *Replaced by* :doc:`yubikey2f` |
| 150 |
:doc:`Custom modules<authcustom>` ✔ ✔ ✔ |
| 151 |
==================================================================== =============================================== ======== ======== |
| 152 |
|
| 153 |
==================================================================== ================================================= ======== ========================= |
| 154 |
Combo Backends Authentication Users Password |
| 155 |
==================================================================== ================================================= ======== ========================= |
| 156 |
:doc:`Choice by users<authchoice>` ✔ ✔ ✔ |
| 157 |
:doc:`Combination of auth schemes<authcombination>` ✔ ✔ ✔ |
| 158 |
:doc:`Multiple backends stack<authmulti>` |deprecated| *Replaced by* :doc:`Combination<authcombination>` |
| 159 |
==================================================================== ================================================= ======== ========================= |
| 160 |
|
| 161 |
==================================================================== =============================================== ======== ======== |
| 162 |
Obsolete Backends Authentication Users Password |
| 163 |
==================================================================== =============================================== ======== ======== |
| 164 |
:doc:`OpenID<authopenid>` ✔ ✔ |
| 165 |
:doc:`Remote LL::NG<authremote>` ✔ ✔ |
| 166 |
==================================================================== =============================================== ======== ======== |
| 167 |
|
| 168 |
==================================================================== ============== ================= |
| 169 |
Second factor (:doc:`documentation<secondfactor>`) Authentication Self-registration |
| 170 |
==================================================================== ============== ================= |
| 171 |
:doc:`TOTP<totp2f>` *(Google Authenticator,...)* ✔ ✔ |
| 172 |
:doc:`WebAuthn<webauthn2f>` ✔ ✔ |
| 173 |
:doc:`E-mail Second Factor<mail2f>` ✔ [18]_ |
| 174 |
:doc:`Yubico OTP<yubikey2f>` ✔ ✔ |
| 175 |
:doc:`External Second Factor<external2f>` *(OTP, SMS,...)* ✔ [18]_ |
| 176 |
:doc:`REST Second Factor<rest2f>` ✔ [18]_ |
| 177 |
:doc:`Radius Second Factor<radius2f>` [3]_ ✔ |
| 178 |
:doc:`Password as second factor<password2f>` [4]_ ✔ ✔ |
| 179 |
==================================================================== ============== ================= |
| 180 |
|
| 181 |
.. versionadded:: 2.0.6 |
| 182 |
See :doc:`Additional second factors<sfextra>` for configuring several multiple |
| 183 |
REST, external or e-mail based second factors with different parameters |
| 184 |
|
| 185 |
|
| 186 |
==================================================================== ============== |
| 187 |
Auth addons Authentication |
| 188 |
==================================================================== ============== |
| 189 |
:doc:`Auto Signin<autosignin>` ✔ |
| 190 |
==================================================================== ============== |
| 191 |
|
| 192 |
|
| 193 |
.. _start-identity-provider: |
| 194 |
|
| 195 |
Identity provider |
| 196 |
^^^^^^^^^^^^^^^^^ |
| 197 |
|
| 198 |
|
| 199 |
.. tip:: |
| 200 |
|
| 201 |
|
| 202 |
|
| 203 |
- All identity provider protocols can be used simultaneously |
| 204 |
- LemonLDAP::NG can be used as a |
| 205 |
:doc:`proxy between those protocols<federationproxy>` |
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
|image26| |
| 210 |
|
| 211 |
===================================================================== ================ ================= |
| 212 |
Protocol Service Provider Identity Provider |
| 213 |
===================================================================== ================ ================= |
| 214 |
:doc:`CAS 1.0 / 2.0 / 3.0<idpcas>` ✔ ✔ |
| 215 |
:doc:`SAML 2.0 / Shibboleth<idpsaml>` ✔ ✔ |
| 216 |
:doc:`OpenID Connect<idpopenidconnect>` ✔ ✔ |
| 217 |
:doc:`OpenID 2.0<idpopenid>` *(deprecated)* ✔ ✔ |
| 218 |
:doc:`Get parameters provider<issuerdbget>` *(for poor applications)* ✔ |
| 219 |
:doc:`Jitsi Meet Tokens<idpjitsimeettokens>` ✔ |
| 220 |
===================================================================== ================ ================= |
| 221 |
|
| 222 |
*Options* |
| 223 |
|
| 224 |
Issuers timeout: Delay for issuers for submitting their authentication requests |
| 225 |
|
| 226 |
|
| 227 |
.. tip:: |
| 228 |
|
| 229 |
* To avoid a bad/expired token and lose redirection to the SP protected |
| 230 |
application after authentication if IdP URLs are served by different load |
| 231 |
balancers, you can force Issuer tokens to be stored into Global Storage |
| 232 |
by editing ``lemonldap-ng.ini`` in section [portal]: |
| 233 |
|
| 234 |
.. code:: ini |
| 235 |
|
| 236 |
[portal] |
| 237 |
forceGlobalStorageIssuerOTT = 1 |
| 238 |
|
| 239 |
|
| 240 |
Attacks and Protection |
| 241 |
^^^^^^^^^^^^^^^^^^^^^^ |
| 242 |
|
| 243 |
|
| 244 |
.. tip:: |
| 245 |
|
| 246 |
To learn or find out more about security, go to |
| 247 |
:doc:`Security<security>` documentation |
| 248 |
|
| 249 |
|image27| |
| 250 |
|
| 251 |
====================================================== =============== ============================ |
| 252 |
Attack LLNG protection System Integrator protection |
| 253 |
====================================================== =============== ============================ |
| 254 |
:doc:`Brute Force<bruteforceprotection>` ✔ ✔ |
| 255 |
:ref:`Page Content<security-portal>` ✔ |
| 256 |
:ref:`CSRF<security-portal>` ✔ |
| 257 |
Deny of Service ✔ |
| 258 |
:ref:`Invisible iFrame<portalcustom-other-parameters>` ✔ ✔ |
| 259 |
Man-in-the-Middle ✔ |
| 260 |
Software Exploit ✔ |
| 261 |
:ref:`SSO by-passing<security-reverseproxies>` ✔ |
| 262 |
:doc:`XSS<safejail>` ✔ |
| 263 |
:doc:`IP reputation<crowdsec>` ✔ ✔ |
| 264 |
====================================================== =============== ============================ |
| 265 |
|
| 266 |
Plugins |
| 267 |
^^^^^^^ |
| 268 |
|
| 269 |
|image28| |
| 270 |
|
| 271 |
==================================================================== ============================================================================================================================================ |
| 272 |
Name Description |
| 273 |
==================================================================== ============================================================================================================================================ |
| 274 |
:doc:`Adaptative authentication<adaptativeauthenticationlevel>` Rules to modulate authentication level |
| 275 |
:doc:`Auto Signin<autosignin>` Sign-in automatically |
| 276 |
:doc:`Brute Force protection<bruteforceprotection>` User must wait to log in after some failed login attempts |
| 277 |
:doc:`CDA<cda>` Cross Domain Authentication |
| 278 |
:doc:`Check DevOps<checkdevops>` [5]_ Check DevOps handler file |
| 279 |
:doc:`Check HIBP<checkhibp>` [19]_ Check Have I Been Pwned |
| 280 |
:doc:`Check entropy<checkentropy>` [21]_ Check entropy of password |
| 281 |
:doc:`InitializePasswordReset<initializePasswordReset>` [22]_ Initialize Password Reset by mail |
| 282 |
:doc:`Check state<checkstate>` Check state plugin (test page) |
| 283 |
:doc:`Check user<checkuser>` [6]_ Check access rights, transmitted headers and session attibutes for a specific user and URL |
| 284 |
:doc:`Configuration viewer<viewer>` Edit WebSSO configuration in Read Only mode |
| 285 |
:doc:`Context switching<contextswitching>` [7]_\ Switch context other users |
| 286 |
:doc:`CrowdSec<crowdsec>` [8]_\ CrowdSec agent and bouncer |
| 287 |
:doc:`Custom<plugincustom>` Write a custom plugin |
| 288 |
:doc:`Decrypt value<decryptvalue>` [9]_\ Decrypt ciphered values |
| 289 |
:doc:`Display login history<loginhistory>` Display Success/Fails logins |
| 290 |
:doc:`Find user<finduser>` [12]_\ Search for user account |
| 291 |
:doc:`Force authentication<forcereauthn>` Force authentication to access to Portal |
| 292 |
:doc:`Global logout<globallogout>` [10]_ Suggest to close all opened sessions at logout |
| 293 |
:doc:`Grant sessions<grantsession>` Rules to apply before allowing a user to open a session |
| 294 |
:doc:`Impersonation<impersonation>` [11]_\ Allow users to use another identity |
| 295 |
:doc:`NewLocationWarning<newlocationwarning>` [13]_\ Send an email when user sign in from a new location |
| 296 |
:doc:`Notifications system<notifications>` Display a message during log in process |
| 297 |
:doc:`Public pages<public_pages>` Enable public pages system |
| 298 |
:doc:`Refresh session API<refreshsessionapi>` [14]_ Plugin that provides an API to refresh a user session |
| 299 |
:doc:`Reset certificate by mail<resetcertificate>` [15]_\ Allow users to reset their certificate |
| 300 |
:doc:`Reset password by mail<resetpassword>` Send a mail to reset its password |
| 301 |
:doc:`Remember auth choice<rememberauthchoice>` [20]_\ Remember user last authentication choice |
| 302 |
:doc:`REST services<restservices>` REST server for :doc:`Proxy<authproxy>` |
| 303 |
:doc:`SOAP services<soapservices>` |deprecated| SOAP server for :doc:`Proxy<authproxy>` |
| 304 |
:doc:`Trusted browser<trustedbrowser>` Remember previous authentications |
| 305 |
:doc:`Web Cron<webcron>` |new| Add API to trigger scheduled tasks |
| 306 |
:doc:`Admin logout server<adminlogout>` |new| Add API to permit Session-Explorer to call portal when using "Global logout" *(to call back-channel-logout)* |
| 307 |
Upgrade session This plugin explains to an already authenticated user that a higher authentication level is required to access the URL instead of reject him |
| 308 |
==================================================================== ============================================================================================================================================ |
| 309 |
|
| 310 |
Handlers |
| 311 |
~~~~~~~~ |
| 312 |
|
| 313 |
|image41| |
| 314 |
|
| 315 |
Handlers are software control agents to be installed on your web servers |
| 316 |
*(Nginx, Traefik, Caddy, Apache, PSGI like Plack based servers or Node.js)*. |
| 317 |
|
| 318 |
==================================================================== ========== ============================================================================ =========================================== ================================================================================== =============================================== ====================================================================================================================== |
| 319 |
Handler type Apache LLNG FastCGI/uWSGI server (Nginx, Traefik, Caddy or :doc:`SSOaaS<ssoaas>`) `Plack servers <https://plackperl.org>`__ Node.js ( `express apps <http://expressjs.com/>`__\ or :doc:`SSOaaS<ssoaas>`) :doc:`Self protected apps<selfmadeapplication>` Comment |
| 320 |
==================================================================== ========== ============================================================================ =========================================== ================================================================================== =============================================== ====================================================================================================================== |
| 321 |
Main *(default handler)* ✔ ✔ ✔ :doc:`Partial<nodehandler>` ** [16]_ ** ✔ |
| 322 |
:doc:`AuthBasic<authbasichandler>` ✔ ✔ ✔ ✔ Designed for some server-to-server applications |
| 323 |
:doc:`CDA<cda>` ✔ ✔ ✔ ✔ For Cross Domain Authentication |
| 324 |
:doc:`DevOps<devopshandler>` (:doc:`SSOaaS<ssoaas>`) ✔ ✔ ✔ ✔ Allows application developers to define their own rules and headers inside their applications |
| 325 |
:doc:`DevOpsST<devopssthandler>` (:doc:`SSOaaS<ssoaas>`) ✔ ✔ ✔ ✔ Enables both :doc:`DevOps<devopshandler>` and :doc:`Service Token<servertoserver>` |
| 326 |
:doc:`DevOpsCDA<devopscdahandler>` (:doc:`SSOaaS<ssoaas>`) ✔ ✔ ✔ ✔ Enables both :doc:`DevOps<devopshandler>` and :doc:`CDA<cda>` |
| 327 |
:doc:`OAuth2<oauth2handler>` [17]_\ ✔ ✔ ✔ ✔ Uses OpenID Connect/OAuth2 access token to check authentication and authorization, can be used to protect Web Services |
| 328 |
:doc:`Secure Token<securetoken>` ✔ ✔ ✔ Designed to secure exchanges between a LLNG reverse-proxy and a remote app |
| 329 |
:doc:`Service Token<servertoserver>` *(Server-to-Server)* ✔ ✔ ✔ ✔ ✔ Designed to permit underlying requests *(API-Based Infrastructure)* |
| 330 |
:doc:`Zimbra PreAuth<applications/zimbra>` ✔ ✔ ✔ |
| 331 |
==================================================================== ========== ============================================================================ =========================================== ================================================================================== =============================================== ====================================================================================================================== |
| 332 |
|
| 333 |
LLNG databases |
| 334 |
~~~~~~~~~~~~~~ |
| 335 |
|
| 336 |
.. _start-configuration-database: |
| 337 |
|
| 338 |
Configuration database |
| 339 |
^^^^^^^^^^^^^^^^^^^^^^ |
| 340 |
|
| 341 |
|image46| |
| 342 |
|
| 343 |
LL::NG needs a storage system to store its own configuration (managed by |
| 344 |
the manager). Choose one in the following list: |
| 345 |
|
| 346 |
===================================================== ========= ==================================================================== |
| 347 |
Backend Shareable Comment |
| 348 |
===================================================== ========= ==================================================================== |
| 349 |
:doc:`File (JSON)<fileconfbackend>` Not shareable between servers except |
| 350 |
if used in conjunction with :doc:`REST<restconfbackend>` |
| 351 |
or with a shared file system (NFS,...). |
| 352 |
Selected by default during installation. |
| 353 |
:doc:`YAML<yamlconfbackend>` Same as :doc:`File<fileconfbackend>` but in YAML format |
| 354 |
instead of JSON |
| 355 |
:doc:`SQL (CDBI/RDBI)<sqlconfbackend>` ✔ **Recommended for large-scale systems**. Prefer CDBI. |
| 356 |
:doc:`Cassandra<cassandraconfbackend>` ✔ Via SQL pseudo-driver |
| 357 |
:doc:`LDAP<ldapconfbackend>` ✔ |
| 358 |
:doc:`MongoDB<mongodbconfbackend>` |deprecated| ✔ |
| 359 |
:doc:`SOAP<soapconfbackend>` |deprecated| ✔ Proxy backend to be used in conjunction with another |
| 360 |
configuration backend. \ **Can be used to secure another backend** |
| 361 |
for remote servers. |
| 362 |
:doc:`REST<restconfbackend>` ✔ Proxy backend to be used in conjunction with another configuration |
| 363 |
backend. \ **Can be used to secure another backend** for |
| 364 |
remote servers. |
| 365 |
:doc:`Local<localconfbackend>` Use only lemonldap-ng.ini parameters. |
| 366 |
:doc:`Overlay<overlayconfbackend>` ✔ Pseudo configuration backend that permits one to store part of the |
| 367 |
configuration into local files. \ *(for example to not store secrets |
| 368 |
into central configuration)* |
| 369 |
===================================================== ========= ==================================================================== |
| 370 |
|
| 371 |
|
| 372 |
.. tip:: |
| 373 |
|
| 374 |
You can not start with an empty configuration, so read |
| 375 |
:doc:`how to change configuration backend<changeconfbackend>` to convert |
| 376 |
your existing configuration into another one. |
| 377 |
|
| 378 |
|
| 379 |
.. _start-sessions-database: |
| 380 |
|
| 381 |
Sessions database |
| 382 |
^^^^^^^^^^^^^^^^^ |
| 383 |
|
| 384 |
|image50| |
| 385 |
|
| 386 |
Sessions are stored using |
| 387 |
`Apache::Session <http://search.cpan.org/perldoc?Apache::Session>`__ |
| 388 |
modules family. All |
| 389 |
`Apache::Session <http://search.cpan.org/perldoc?Apache::Session>`__ |
| 390 |
style modules are usable except for some features. |
| 391 |
|
| 392 |
|
| 393 |
.. attention:: |
| 394 |
|
| 395 |
If you plan to use LLNG in a large-scale system, take a |
| 396 |
look at :ref:`Performance Test<performance-test>` to choose the right |
| 397 |
backend. A :doc:`Browseable SQL backend<browseablesessionbackend>` is |
| 398 |
generally a good choice. |
| 399 |
|
| 400 |
================================================================ ========= ================================================ ==================================================== ================== ================================================================================================================================================================================================= |
| 401 |
Backend Shareable Session explorer Session restrictions Session expiration Comment |
| 402 |
================================================================ ========= ================================================ ==================================================== ================== ================================================================================================================================================================================================= |
| 403 |
:doc:`File<filesessionbackend>` ✔ ✔ ✔ Not shareable between servers except if used in conjunction with :doc:`REST session backend<restsessionbackend>` or with a shared file system (NFS,...). Selected by default during installation. |
| 404 |
:doc:`PgJSON<pgjsonsessionbackend>` ✔ ✔ ✔ ✔ **Recommended backend for production installations** |
| 405 |
:doc:`Browseable MySQL<browseablemysqlsessionbackend>` ✔ ✔ ✔ ✔ Recommended for those who prefer MySQL |
| 406 |
:doc:`Browseable LDAP<browseableldapsessionbackend>` ✔ ✔ ✔ ✔ |
| 407 |
:doc:`Redis<redissessionbackend>` ✔ ✔ ✔ ✔ The fastest. Must be secured by network access control. |
| 408 |
:doc:`MongoDB<mongodbsessionbackend>` |deprecated| ✔ ✔ ✔ ✔ Must be secured by network access control. |
| 409 |
:doc:`Cassandra<cassandrasessionbackend>` ✔ ✔ ✔ ✔ Another supported NoSQL DB |
| 410 |
:doc:`SQL<sqlsessionbackend>` ✔ ✔ ✔ ✔ Unoptimized for session explorer and single session features. |
| 411 |
:doc:`REST<restsessionbackend>` ✔ ✔ ✔ ✔ Proxy backend to be used in conjunction with another session backend. |
| 412 |
:doc:`SOAP<soapsessionbackend>` |deprecated| ✔ ✔ ✔ ✔ Proxy backend to be used in conjunction with another session backend. |
| 413 |
================================================================ ========= ================================================ ==================================================== ================== ================================================================================================================================================================================================= |
| 414 |
|
| 415 |
.. tip:: |
| 416 |
|
| 417 |
You can migrate from one session backend to another using the |
| 418 |
:doc:`session conversion script<changesessionbackend>`. |
| 419 |
|
| 420 |
Applications protection |
| 421 |
----------------------- |
| 422 |
|
| 423 |
|image53| |
| 424 |
|
| 425 |
- :doc:`Writing rules and headers<writingrulesand_headers>` |
| 426 |
- :doc:`Variables that can be used in rules and headers<variables>` |
| 427 |
- :doc:`Integrate vendor applications<applications>` |
| 428 |
- :doc:`Integrate self-made applications<selfmadeapplication>` |
| 429 |
- :doc:`Form replay<formreplay>` |
| 430 |
- :doc:`Custom Handlers<customhandlers>` |
| 431 |
- :doc:`WebServices / API<webserviceprotection>` |
| 432 |
- :doc:`WebSocket Applications<websocketapplications>` |
| 433 |
|
| 434 |
Well known compatible applications |
| 435 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 436 |
|
| 437 |
|
| 438 |
.. note:: |
| 439 |
|
| 440 |
Here is a list of well known applications that are compatible with |
| 441 |
LL::NG. A full list is available on |
| 442 |
:doc:`vendor applications page<applications>`. |
| 443 |
|
| 444 |
|adfs| |
| 445 |
|alfresco| |
| 446 |
|awx| |
| 447 |
|bugzilla| |
| 448 |
|dokuwiki| |
| 449 |
|drupal| |
| 450 |
|fusiondirectory| |
| 451 |
|gitlab| |
| 452 |
|glpi| |
| 453 |
|liferay| |
| 454 |
|mediawiki| |
| 455 |
|nextcloud| |
| 456 |
|simplesamlphp| |
| 457 |
|wordpress| |
| 458 |
|xwiki| |
| 459 |
|zimbra| |
| 460 |
|
| 461 |
Advanced features |
| 462 |
----------------- |
| 463 |
|
| 464 |
|image54| |
| 465 |
|
| 466 |
- :doc:`SMTP server setup<smtp>` |
| 467 |
- :doc:`Notifications system<notifications>` |
| 468 |
- :doc:`Store password in session<passwordstore>` |
| 469 |
- :doc:`Cross Domain Authentication (CDA)<cda>` |
| 470 |
- :doc:`Role Based Access Control (RBAC)<rbac>` |
| 471 |
- :doc:`Use custom functions<customfunctions>` |
| 472 |
- :doc:`Use extended functions<extendedfunctions>` |
| 473 |
- :doc:`Reset password by mail (self service)<resetpassword>` |
| 474 |
- :doc:`Create an account (self service)<register>` |
| 475 |
- :doc:`Forward logout to applications<logoutforward>` |
| 476 |
- :doc:`Secure Token Handler<securetoken>` |
| 477 |
- :doc:`AuthBasic Handler<authbasichandler>` |
| 478 |
- :doc:`SSO as a Service<ssoaas>` *(SSOaaS)* |
| 479 |
- :doc:`Handling server webservice calls<servertoserver>` |
| 480 |
- `LemonLDAP::NG kubernetes |
| 481 |
controller <https://github.com/lemonldap-ng-controller/lemonldap-ng-controller>`__ |
| 482 |
- :doc:`Safe jail<safejail>` |
| 483 |
- :doc:`Login history<loginhistory>` |
| 484 |
- :doc:`Fast CGI support<fastcgi>` |
| 485 |
- :doc:`Advanced PSGI usage<psgi>` |
| 486 |
- :doc:`Ignore some manager tests<managertests>` |
| 487 |
- :doc:`See full parameters list<parameterlist>` |
| 488 |
- :doc:`Installation from the tarball<installtarball>` |
| 489 |
- :doc:`Installation on Suse Linux Enterprise Server with packages<installsles>` |
| 490 |
- :doc:`Deploy Traefik configuration<configtraefik>` |
| 491 |
- :doc:`Deploy Caddy configuration<configcaddy>` |
| 492 |
- :doc:`Deploy LemonLDAP::NG on Plack servers family<configplack>` |
| 493 |
*(Twiggy, Starman, Corona,...)* |
| 494 |
- :doc:`Node.js handler<nodehandler>` |
| 495 |
- :doc:`Event management<eventsmanagement>` |
| 496 |
|
| 497 |
Mini howtos |
| 498 |
----------- |
| 499 |
|
| 500 |
|image57| |
| 501 |
|
| 502 |
- :doc:`Command Line Interface (lemonldap-ng-cli) examples<cli_examples>` |
| 503 |
- :doc:`Modify Manager protection<managerprotection>` |
| 504 |
- :doc:`Configuration and sessions in MySQL<mysqlminihowto>` |
| 505 |
- :doc:`Configuration and sessions in LDAP<ldapminihowto>` |
| 506 |
- :doc:`Configuration and sessions access by REST<restminihowto>` |
| 507 |
- :doc:`Integration in Active Directory (LDAP and Kerberos)<activedirectoryminihowto>` |
| 508 |
- :doc:`Create a protocol proxy<federationproxy>` *(SAML to OpenID, CAS |
| 509 |
to SAML ,...)* |
| 510 |
- :doc:`Convert HTTP header into environment variable<header_remote_user_conversion>` |
| 511 |
- :doc:`Connect to Renater Federation<renater>` |
| 512 |
- :doc:`Run LemonLDAP::NG components behind a reverse proxy<behindproxyminihowto>` |
| 513 |
- :doc:`Configure LL::NG to use an outgoing proxy<useoutgoingproxy>` |
| 514 |
|
| 515 |
Exploitation |
| 516 |
------------ |
| 517 |
|
| 518 |
|image59| |
| 519 |
|
| 520 |
- :doc:`Performances<performances>` |
| 521 |
- :doc:`Security<security>` |
| 522 |
- :doc:`SELinux<selinux>` |
| 523 |
- :doc:`Portal state check<checkstate>` *(health check for fail-over)* |
| 524 |
- :doc:`Logs settings<logs>` |
| 525 |
- :doc:`Error messages<error>` |
| 526 |
- :doc:`High Availability<highavailability>` |
| 527 |
|
| 528 |
Bug report |
| 529 |
---------- |
| 530 |
|
| 531 |
See :doc:`How to report a bug</bugreport>`. |
| 532 |
|
| 533 |
Developer corner |
| 534 |
---------------- |
| 535 |
|
| 536 |
To contribute, see : |
| 537 |
|
| 538 |
- :doc:`Contribute to project<contribute>` |
| 539 |
|
| 540 |
To develop an handler, see: |
| 541 |
|
| 542 |
- :doc:`Handler architecture<handlerarch>` |
| 543 |
- :doc:`Custom handlers<customhandlers>` |
| 544 |
|
| 545 |
To develop a plugin, see |
| 546 |
|
| 547 |
- :doc:`plugincustom` |
| 548 |
- :doc:`customconfigplaceholder` |
| 549 |
|
| 550 |
As well as the following manpages: |
| 551 |
|
| 552 |
- Lemonldap::NG::Portal |
| 553 |
- Lemonldap::NG::Portal::Auth |
| 554 |
- Lemonldap::NG::Portal::UserDB |
| 555 |
- Lemonldap::NG::Portal::Main::SecondFactor |
| 556 |
- Lemonldap::NG::Portal::Main::Issuer |
| 557 |
- Lemonldap::NG::Portal::Main::Plugin |
| 558 |
- Lemonldap::NG::Portal::Main::Request *(the request object)* |
| 559 |
|
| 560 |
To add a new language: |
| 561 |
|
| 562 |
- Join us on |
| 563 |
https://app.transifex.com/lemonldapng/lemonldapng/dashboard/ |
| 564 |
- translate the 3 files |
| 565 |
- then we will append them in sources. |
| 566 |
|
| 567 |
If you don't want to publish your translation (``XX`` must be replaced |
| 568 |
by your language code): |
| 569 |
|
| 570 |
- Manager: translate |
| 571 |
``lemonldap-ng-manager/site/htdocs/static/languages/en.json`` in |
| 572 |
``lemonldap-ng-manager/site/htdocs/static/languages/XX.json`` and |
| 573 |
enable it in "lemonldap-ng.ini" file |
| 574 |
- Portal: translate |
| 575 |
``lemonldap-ng-portal/site/htdocs/static/languages/en.json`` in |
| 576 |
``lemonldap-ng-portal/site/htdocs/static/languages/XX.json`` and |
| 577 |
enable it in "lemonldap-ng.ini" file |
| 578 |
- Portal Mails: translate |
| 579 |
``lemonldap-ng-portal/site/templates/common/mail/en.json`` in |
| 580 |
``lemonldap-ng-portal/site/templates/common/mail/XX.json`` |
| 581 |
|
| 582 |
.. [1] |
| 583 |
:doc:`GitHub authentication<authgithub>` is available with LLNG ≥ |
| 584 |
2.0.8 |
| 585 |
|
| 586 |
.. [2] |
| 587 |
:doc:`GPG authentication<authgpg>` is available with LLNG ≥ 2.0.2 |
| 588 |
|
| 589 |
.. [3] |
| 590 |
:doc:`Radius second factor<radius2f>` is available with LLNG ≥ 2.0.6 |
| 591 |
|
| 592 |
.. [4] |
| 593 |
:doc:`Password second factor<password2f>` is available with LLNG ≥ 2.0.16 |
| 594 |
|
| 595 |
.. [5] |
| 596 |
:doc:`Check DevOps file plugin<checkdevops>` is available with LLNG ≥ |
| 597 |
2.0.12 |
| 598 |
|
| 599 |
.. [6] |
| 600 |
:doc:`Check user plugin<checkuser>` is available with LLNG ≥ 2.0.3 |
| 601 |
|
| 602 |
.. [7] |
| 603 |
:doc:`Context switching plugin<contextswitching>` is available with |
| 604 |
LLNG ≥ 2.0.6 |
| 605 |
|
| 606 |
.. [8] |
| 607 |
:doc:`CrowdSec bouncer <crowdsec>` is available with LLNG ≥ 2.0.12 |
| 608 |
|
| 609 |
.. [9] |
| 610 |
:doc:`Decrypt value plugin<decryptvalue>` is available with LLNG ≥ |
| 611 |
2.0.7 |
| 612 |
|
| 613 |
.. [10] |
| 614 |
:doc:`Global Logout plugin<globallogout>` is available with LLNG ≥ |
| 615 |
2.0.7 |
| 616 |
|
| 617 |
.. [11] |
| 618 |
:doc:`Impersonation plugin<impersonation>` is available with LLNG ≥ |
| 619 |
2.0.3 |
| 620 |
|
| 621 |
.. [12] |
| 622 |
:doc:`Find user plugin<finduser>` is available with LLNG ≥ |
| 623 |
2.0.11 |
| 624 |
|
| 625 |
.. [13] |
| 626 |
:doc:`NewLocationWarning<newlocationwarning>` is available |
| 627 |
with LLNG ≥ 2.0.14 |
| 628 |
|
| 629 |
.. [14] |
| 630 |
:doc:`Refresh session API plugin<refreshsessionapi>` is available |
| 631 |
with LLNG ≥ 2.0.7 |
| 632 |
|
| 633 |
.. [15] |
| 634 |
:doc:`Reset certificate by mail plugin<resetcertificate>` is |
| 635 |
available with LLNG ≥ 2.0.7 |
| 636 |
|
| 637 |
.. [16] |
| 638 |
:doc:`Node.js handler<nodehandler>` has not yet reached the same |
| 639 |
level of functionalities |
| 640 |
|
| 641 |
.. [17] |
| 642 |
:doc:`OAuth2 Handler<oauth2handler>` is available with LLNG ≥ 2.0.4 |
| 643 |
|
| 644 |
.. [18] |
| 645 |
When configured as an additional second factor, see :ref:`sfextraregister` |
| 646 |
|
| 647 |
.. [19] |
| 648 |
:doc:`Check HIBP plugin<checkhibp>` is available with LLNG ≥ |
| 649 |
2.0.16 |
| 650 |
|
| 651 |
.. [20] |
| 652 |
:doc:`Remember AuthChoice plugin<rememberauthchoice>` is available with LLNG ≥ |
| 653 |
2.0.15 |
| 654 |
|
| 655 |
.. [21] |
| 656 |
:doc:`Check entropy plugin<checkentropy>` is available with LLNG ≥ |
| 657 |
2.18.0 |
| 658 |
|
| 659 |
.. [22] |
| 660 |
:doc:`initializePasswordReset<initializePasswordReset>` is available with LLNG ≥ |
| 661 |
2.18.0 |
| 662 |
|
| 663 |
.. |image0| image:: /icons/kthememgr.png |
| 664 |
.. |image1| image:: /icons/warehause.png |
| 665 |
.. |image3| image:: /icons/clean.png |
| 666 |
.. |image5| image:: /icons/lists.png |
| 667 |
.. |image6| image:: /icons/colors.png |
| 668 |
.. |image7| image:: /icons/gpg.png |
| 669 |
.. |image26| image:: /icons/personal.png |
| 670 |
.. |image27| image:: /icons/neotux.png |
| 671 |
.. |image28| image:: /icons/personal.png |
| 672 |
.. |image41| image:: /icons/gpg.png |
| 673 |
.. |image46| image:: /icons/utilities.png |
| 674 |
.. |image50| image:: /icons/kmultiple.png |
| 675 |
.. |image53| image:: /icons/access.png |
| 676 |
.. |image54| image:: /icons/neotux.png |
| 677 |
.. |image57| image:: /icons/jabber_protocol.png |
| 678 |
.. |image59| image:: /icons/xeyes.png |
| 679 |
|
| 680 |
.. |beta| image:: /documentation/beta.png |
| 681 |
:width: 35px |
| 682 |
:alt: beta |
| 683 |
|
| 684 |
.. |new| image:: /documentation/new.png |
| 685 |
:alt: new |
| 686 |
|
| 687 |
.. |deprecated| image:: /documentation/deprecated.png |
| 688 |
:alt: deprecated |
| 689 |
|
| 690 |
|
| 691 |
.. |adfs| image:: applications/microsoft-adfs.png |
| 692 |
:target: applications/adfs.html |
| 693 |
.. |alfresco| image:: applications/alfresco_logo.png |
| 694 |
:target: applications/alfresco.html |
| 695 |
.. |awx| image:: applications/logo-awx.png |
| 696 |
:target: applications/awx.html |
| 697 |
.. |bugzilla| image:: applications/bugzilla_logo.png |
| 698 |
:target: applications/bugzilla.html |
| 699 |
.. |dokuwiki| image:: applications/dokuwiki_logo.png |
| 700 |
:target: applications/dokuwiki.html |
| 701 |
.. |drupal| image:: applications/drupal_logo.png |
| 702 |
:target: applications/drupal.html |
| 703 |
.. |fusiondirectory| image:: applications/fusiondirectory-logo.jpg |
| 704 |
:target: applications/fusiondirectory.html |
| 705 |
.. |gitlab| image:: applications/gitlab_logo.png |
| 706 |
:target: applications/gitlab.html |
| 707 |
.. |glpi| image:: applications/glpi_logo.png |
| 708 |
:target: applications/glpi.html |
| 709 |
.. |liferay| image:: applications/liferay_logo.png |
| 710 |
:target: applications/liferay.html |
| 711 |
.. |mediawiki| image:: applications/mediawiki_logo.png |
| 712 |
:target: applications/mediawiki.html |
| 713 |
.. |nextcloud| image:: applications/nextcloud-logo.png |
| 714 |
:target: applications/nextcloud.html |
| 715 |
.. |simplesamlphp| image:: applications/simplesamlphp_logo.png |
| 716 |
:target: applications/simplesamlphp.html |
| 717 |
.. |wordpress| image:: applications/wordpress_logo.png |
| 718 |
:target: applications/wordpress.html |
| 719 |
.. |xwiki| image:: applications/xwiki.png |
| 720 |
:target: applications/xwiki.html |
| 721 |
.. |zimbra| image:: applications/zimbra_logo.png |
| 722 |
:target: applications/zimbra.html |