diff --git a/doc/pages/documentation/current/applications/img/icons.png b/doc/pages/documentation/current/applications/img/icons.png index bdb42dd3a18ffdff9a7b8b8eab0b582d6fe8ee28..6b1d9a554a77f43d493dd605d2a29d11f1c74996 100644 --- a/doc/pages/documentation/current/applications/img/icons.png +++ b/doc/pages/documentation/current/applications/img/icons.png @@ -90,7 +90,7 @@ +
  • Login
  • @@ -204,7 +204,7 @@ You've followed a link to a topic that doesn't exist yet. If permissio -
    +
    diff --git a/doc/pages/documentation/current/applications/img/loader.gif b/doc/pages/documentation/current/applications/img/loader.gif index 5aa05d1e3e8d510315942b090a908d53cd08235c..793ec79e35e66f74503e860f93e1cfcab0c8d833 100644 --- a/doc/pages/documentation/current/applications/img/loader.gif +++ b/doc/pages/documentation/current/applications/img/loader.gif @@ -90,7 +90,7 @@ +
  • @@ -204,7 +204,7 @@ You've followed a link to a topic that doesn't exist yet. If permissio -
    +
    diff --git a/doc/pages/documentation/current/authrest.html b/doc/pages/documentation/current/authrest.html new file mode 100644 index 0000000000000000000000000000000000000000..5b220cf4cd074ff272bbed84d783d0f1db3c91e4 --- /dev/null +++ b/doc/pages/documentation/current/authrest.html @@ -0,0 +1,146 @@ + + + + + documentation:2.0:authrest + + + + + + + + + + + + + + + + + + + + +
    + +
    +

    Table of Contents

    +
    + + +
    +
    + + +

    REST

    +
    +
    + + + + + + + + +
    Authentication Users Password
    + +
    + +

    Presentation

    +
    + +

    +This backend can be used to delegate authentication to some webservices. +

    + +
    + +

    Configuration

    +
    + +

    +In Manager, go in General Parameters > Authentication modules and choose REST for authentication, users and/or password modules. +

    + +

    +Then you just have to set REST URL to provide wanted services: +

    +
    + + + + + + + + + + + + + + + + + +
    Module Parameter
    Authentication Authentication URL
    User database User data URL
    Password Password confirmation URL
    Password Password change URL
    + +
    + +

    REST Dialog

    +
    + +

    +REST web services just have to respond with a “result” key in a JSON file. Auth/UserDB can add a “info” array to will be copied is session data (without reading “Exported variables”). +

    +
    + + + + + + + + + + + + + + + + + +
    Parameter Query Response
    Authentication URL JSON file: {“user”:$user,“password”:$password} JSON file: {“result”:true/false,“info”:{…}}
    User data URL JSON file: {“user”:$user} JSON file: {“result”:true/false,“info”:{“uid”:“dwho”,…}}
    Password confirmation URL JSON file: {“user”:$user,“password”:$password} JSON file: {“result”:true/false}
    Password change URL JSON file: {“user”:$user,“password”:$password} JSON file: {“result”:true/false}
    +
    To have only one call, you can set only REST authentication, set datas in “info” key response and set Null as User Database. +
    +
    +
    + + diff --git a/doc/pages/documentation/current/bootswatch/3.3.4/flatly/bootstrap.min.css b/doc/pages/documentation/current/bootswatch/3.3.4/flatly/bootstrap.min.css index 7916a44bf6f365359fdb3e25d3183f47c6d683f8..53bc26b17994a60ef6a05b7ebcc0f84934838a6b 100644 --- a/doc/pages/documentation/current/bootswatch/3.3.4/flatly/bootstrap.min.css +++ b/doc/pages/documentation/current/bootswatch/3.3.4/flatly/bootstrap.min.css @@ -90,7 +90,7 @@ +
  • @@ -204,7 +204,7 @@ You've followed a link to a topic that doesn't exist yet. If permissio -
    +
    diff --git a/doc/pages/documentation/current/confignginx.html b/doc/pages/documentation/current/confignginx.html index 571680d321d34f303694be4ac3d640d18deef4b0..690bec70ed8a1edc0888973999972aea492e5827 100644 --- a/doc/pages/documentation/current/confignginx.html +++ b/doc/pages/documentation/current/confignginx.html @@ -4,7 +4,7 @@ documentation:2.0:confignginx - + @@ -74,11 +74,11 @@

    -To use Nginx, you must install LemonLDAP::NG FastCGI server, which is not installed by default lemonldap-ng meta package. +To use Nginx, you must install LemonLDAP::NG FastCGI server, which is not installed by default lemonldap-ng metapackage.

    - +

    Debian/Ubuntu

    apt install lemonldap-ng-fastcgi-server
    @@ -90,7 +90,7 @@ Enable and start the service : systemctl start llng-fastcgi-server
    - +

    Red Hat/CentOS

    yum install lemonldap-ng-fastcgi-server
    @@ -102,7 +102,7 @@ Enable and start the service : systemctl start llng-fastcgi-server
    - +

    Files

    @@ -115,7 +115,7 @@ You have to include them in Nginx main configuration.

    - +

    Debian/Ubuntu

    @@ -136,7 +136,7 @@ ln -s /etc/nginx/sites-available/portal-nginx.conf /etc/nginx/sites-enabled/ ln -s /etc/nginx/sites-available/test-nginx.conf /etc/nginx/sites-enabled/
    - +

    Red Hat/CentOS

    @@ -149,6 +149,6 @@ ln -s /etc/lemonldap-ng/portal-nginx.conf /etc/nginx/conf.d/ ln -s /etc/lemonldap-ng/test-nginx.conf /etc/nginx/conf.d/
    -
    + diff --git a/doc/pages/documentation/current/devopshandler.html b/doc/pages/documentation/current/devopshandler.html index caf7bbda98329728b7d6707748c3333cfeb20b93..d9b36ab04f20444d47d4e9cd2b7788d04f39e6ca 100644 --- a/doc/pages/documentation/current/devopshandler.html +++ b/doc/pages/documentation/current/devopshandler.html @@ -76,9 +76,10 @@ There is nothing to configure to use it except that:
  • you can set the loopback URL needed by the DevOps handler to get /rules.json. Default to http://127.0.0.1:<server-port>
  • - +
    Note that DevOps handler will refuse to compile rules.json if Safe Jail isn't enabled. +
    - +

    Configuration example

    @@ -126,6 +127,6 @@ Here is a simple Nginx configuration file. It looks like a standard LLNG nginx c
    - + diff --git a/doc/pages/documentation/current/performances.html b/doc/pages/documentation/current/performances.html index 76d2da721ac2515cd8e6473b9adab38a7a34502d..1c8df55964ab19a2b1457e194d0cace43c3cb166 100644 --- a/doc/pages/documentation/current/performances.html +++ b/doc/pages/documentation/current/performances.html @@ -4,7 +4,7 @@ documentation:2.0:performances - + @@ -59,8 +59,6 @@
  • Portal performances
    @@ -204,7 +204,7 @@ You've followed a link to a topic that doesn't exist yet. If permissio -
    +
    diff --git a/po-doc/fr/pages/documentation/current/applications/img/loader.gif b/po-doc/fr/pages/documentation/current/applications/img/loader.gif index 5aa05d1e3e8d510315942b090a908d53cd08235c..793ec79e35e66f74503e860f93e1cfcab0c8d833 100644 --- a/po-doc/fr/pages/documentation/current/applications/img/loader.gif +++ b/po-doc/fr/pages/documentation/current/applications/img/loader.gif @@ -90,7 +90,7 @@ +
  • Login
  • @@ -204,7 +204,7 @@ You've followed a link to a topic that doesn't exist yet. If permissio -
    +
    diff --git a/po-doc/fr/pages/documentation/current/authrest.html b/po-doc/fr/pages/documentation/current/authrest.html new file mode 100644 index 0000000000000000000000000000000000000000..6eedbf9152e0606019e74851e68790acee77d7ae --- /dev/null +++ b/po-doc/fr/pages/documentation/current/authrest.html @@ -0,0 +1,156 @@ + + + + + + documentation:2.0:authrest + + + + + + + + + + + + + + + + + + + + +
    + +
    +

    Table of Contents

    +
    + + +
    +
    + + +

    REST

    +
    +
    + + + + + + + + +
    Authentification Utilisateurs Mot-de-passe
    + +
    + +

    Présentation

    +
    + +

    + +This backend can be used to delegate authentication to some webservices. + +

    + +
    + +

    Configuration

    +
    + +

    + +In Manager, go in General Parameters > Authentication modules and choose REST for authentication, users and/or password modules. + +

    + +

    + +Then you just have to set REST URL to provide wanted services: + +

    +
    + + + + + + + + + + + + + + + + + +
    Module Parameter
    Authentification Authentication URL
    User database User data URL
    Mot-de-passe Password confirmation URL
    Mot-de-passe Password change URL
    + +
    + +

    REST Dialog

    +
    + +

    + +REST web services just have to respond with a “result” key in a JSON file. Auth/UserDB can add a “info” array to will be copied is session data (without reading “Exported variables”). + +

    +
    + + + + + + + + + + + + + + + + + +
    Parameter Query Response
    Authentication URL JSON file: {“user”:$user,“password”:$password} JSON file: {“result”:true/false,“info”:{…}}
    User data URL JSON file: {“user”:$user} JSON file: {“result”:true/false,“info”:{“uid”:“dwho”,…}}
    Password confirmation URL JSON file: {“user”:$user,“password”:$password} JSON file: {“result”:true/false}
    Password change URL JSON file: {“user”:$user,“password”:$password} JSON file: {“result”:true/false}
    +
    To have only one call, you can set only REST authentication, set datas in “info” key response and set Null as User Database. + +
    +
    +
    + + diff --git a/po-doc/fr/pages/documentation/current/bootswatch/3.3.4/flatly/bootstrap.min.css b/po-doc/fr/pages/documentation/current/bootswatch/3.3.4/flatly/bootstrap.min.css index 7916a44bf6f365359fdb3e25d3183f47c6d683f8..53bc26b17994a60ef6a05b7ebcc0f84934838a6b 100644 --- a/po-doc/fr/pages/documentation/current/bootswatch/3.3.4/flatly/bootstrap.min.css +++ b/po-doc/fr/pages/documentation/current/bootswatch/3.3.4/flatly/bootstrap.min.css @@ -90,7 +90,7 @@ +
  • @@ -204,7 +204,7 @@ You've followed a link to a topic that doesn't exist yet. If permissio -
    +
    diff --git a/po-doc/fr/pages/documentation/current/confignginx.html b/po-doc/fr/pages/documentation/current/confignginx.html index 7691f8ec9e407506208f19343cc7aada9855b913..067b55b7ee358644de43f4908635954c84492cf8 100644 --- a/po-doc/fr/pages/documentation/current/confignginx.html +++ b/po-doc/fr/pages/documentation/current/confignginx.html @@ -11,7 +11,7 @@ //else --> - + @@ -76,11 +76,11 @@

    -To use Nginx, you must install LemonLDAP::NG FastCGI server, which is not installed by default lemonldap-ng meta package. +To use Nginx, you must install LemonLDAP::NG FastCGI server, which is not installed by default lemonldap-ng metapackage.

    -
    +

    Debian/Ubuntu

    @@ -94,7 +94,7 @@ Enable and start the service :
    systemctl enable llng-fastcgi-server
     systemctl start llng-fastcgi-server
    -
    +

    Red Hat/CentOS

    @@ -108,7 +108,7 @@ Enable and start the service :
    systemctl enable llng-fastcgi-server
     systemctl start llng-fastcgi-server
    -
    +

    Fichiers

    @@ -121,7 +121,7 @@ Depuis une installation par les sources, les fichiers de configuration de Nginx Il faut les inclure dans la configuration de Nginx, par exemple :

    -
    +

    Debian/Ubuntu

    @@ -142,7 +142,7 @@ ln -s /etc/nginx/sites-available/manager-nginx.conf /etc/nginx/sites-enabled/ ln -s /etc/nginx/sites-available/portal-nginx.conf /etc/nginx/sites-enabled/ ln -s /etc/nginx/sites-available/test-nginx.conf /etc/nginx/sites-enabled/ -
    +

    Red Hat/CentOS

    @@ -155,7 +155,7 @@ ln -s /etc/lemonldap-ng/manager-nginx.conf /etc/nginx/conf.d/ ln -s /etc/lemonldap-ng/portal-nginx.conf /etc/nginx/conf.d/ ln -s /etc/lemonldap-ng/test-nginx.conf /etc/nginx/conf.d/ -
    + diff --git a/po-doc/fr/pages/documentation/current/devopshandler.html b/po-doc/fr/pages/documentation/current/devopshandler.html index c2ce7a3f17ae0cc80b8131b1c2003ad76ccb472b..3c4174d1f1a4b1f627af2c675539fcb8773afc24 100644 --- a/po-doc/fr/pages/documentation/current/devopshandler.html +++ b/po-doc/fr/pages/documentation/current/devopshandler.html @@ -83,8 +83,10 @@ There is nothing to configure to use it except that:
  • you can set the loopback URL needed by the DevOps handler to get /rules.json. Default to http://127.0.0.1:<server-port>
  • +
    Note that DevOps handler will refuse to compile rules.json if Safe Jail isn't enabled. -
    + +

    Configuration example

    @@ -134,7 +136,7 @@ Here is a simple Nginx configuration file. It looks like a standard LLNG nginx c } -
    + diff --git a/po-doc/fr/pages/documentation/current/performances.html b/po-doc/fr/pages/documentation/current/performances.html index 275b10b5d7a00d4ed5166c2cd1e039fa0217c9aa..ad35c42aceb293dbec2e509e9f12f2fac2923af8 100644 --- a/po-doc/fr/pages/documentation/current/performances.html +++ b/po-doc/fr/pages/documentation/current/performances.html @@ -11,7 +11,7 @@ //else --> - + @@ -60,8 +60,6 @@
  • Performances du portail
    - +