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
|
2022-06-18 17:56:05 +02:00
|
|
|
to use internal ``decrypt`` extended function.
|
2020-05-14 23:29:41 +02:00
|
|
|
|
|
|
|
|
2022-06-18 17:56:05 +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
|
|
|
|
(see :ref:`Security settings<security-configure-security-settings>)`.
|
2020-05-14 23:29:41 +02:00
|
|
|
|
|
|
|
Custom functions must be defined into
|
2022-06-18 17:56:05 +02:00
|
|
|
``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
|