lemonldap-ng/doc/sources/admin/decryptvalue.rst

35 lines
1.0 KiB
ReStructuredText
Raw Permalink Normal View History

2020-05-20 23:50:36 +02:00
Decrypt value plugin
====================
2020-05-14 23:29:41 +02:00
This plugin allows us to decrypt ciphered values. LL::NG can be
configured to send encrypted values to protected applications by using
:doc:`extended functions<extendedfunctions>`.
Configuration
-------------
Just enable it in the Manager (section “plugins”) by setting a rule.
DecryptValue plugin can be allowed or denied for specific users.
- **Parameters**:
- **Use rule**: Select which users may use this plugin
- **Decrypt functions**: Set functions used for decrypting ciphered
values. Each function is tested until one succeeds. Let it blank
to use internal ``decrypt`` extended function.
2020-05-14 23:29:41 +02:00
.. attention::
The ciphered value is the first parameter passed to custom functions.
The ``Encryption key`` is passed to custom funtions as second parameter
2022-07-07 11:53:51 +02:00
(see :ref:`Security settings<security-configure-security-settings>`).
2020-05-14 23:29:41 +02:00
Custom functions must be defined into
``My::Plugin`` and set:
2020-05-18 09:56:39 +02:00
2020-05-14 23:29:41 +02:00
::
2020-05-18 09:56:39 +02:00
2020-05-14 23:29:41 +02:00
My::Plugin::function1 My::Plugin::function2