When running REHVM dicovery, customer noticed that thousands of login/logout requests are generated.
This is due to the fact that each single REST request sent is causing user/password authentication (thus login/logout), and never tries to generate a token that could be reused all the way though the discovery process.
We've worked with customer to modify script code to get such an token based authentication in place (see attached scripts, looks for comments into code for details), so that a whole discovery would generate only 1 login/logout.
Customer verified it, and it working like a charm.
Could you implement such a change in the future release of the REHVM package, so that token based authentication is proposed out of the box ?
Thanks in advance