Hi Joao
I assume you are creating you new Authentication Mechanism as an InfoMap ? Please confirm. For an InfoMap, there is not much such that we can configure in the mechanism.
The approach I have taken for externalising in such case "per environment" or even global variables" is to define all variables in an external myinfomap-definition.js file, and import it at runtime as follow:
"importMappingRule("myinfomap-definition");"
It will contain whatever I need to refer to in the InfoMap JS file such as:
var var1="123456";
var var2="67890";
...
You will need of course to import that myinfomap-definition.js file into your appliance.
Hope this helps.
------------------------------
Sylvain Gilbert
------------------------------
Original Message:
Sent: Thu April 29, 2021 05:15 PM
From: Joao Goncalves
Subject: Creating a new mechanism
I need to create a new mechanism. But I would like to add custom properties to the mechanism.
If we add a mechanism of type "Email Message", it comes with a few properties, like "Email Attribute Identifier", "Email Sender Value", and so on.
Now I want to create a new mechanism to send soap requests, and need to configure some properties to the mechanism.
How do I do it?
------------------------------
Joao Goncalves
Pyxis, Lda.
Sintra
+351 91 721 4994
------------------------------