Caching in Plugin
MID Server discovery does the checkout and check-in of the password multiple times for a single server. To bypass this issue the user can enable the caching functionality.
How it Works
- Passwords are saved in the DelineaCredCache.properties file in an encrypted format.
- When the password is checked-in, the entry from the cache file is deleted.
- If the password is not able to be cached, it will still work without caching.
-
Enable the caching by setting the following parameter in the config.xml file of Mid Server:
use_cred_cache = true
The plugin will cache the fully qualified domain name (FQDN) after successfully retrieving it based on the IP address. This information will be stored in the DelineaCredCache.properties file. The plugin will be able to directly retrieve the FQDN from the cache file whenever it needs to validate the credentials using the same IP. Note that if the plugin fails to fetch the FQDN, the caching of the FQDN will not be successful.