Fix FS cache issues when multiple users use the same Configuration object

Description

In a TLS setup the configuration object used to build a FS object is modified by the HopsSSLSocketFactory.
Applications (such as Hive) use the same configuration object for multiple users.
This creates issues as current client creations might end up configuring clients with the wrong cryptomaterial, causing Authentication Exceptions or IO exceptions when the certificates are cleaned up.

The Keystore location is also used as part of the key for retrieving FS objects from the FS cache. In the case of a single shared configuration objects this can result in clients fetching wrongly configured FS from the cache, or cache misses.

Status

Assignee

Fabio Buso

Reporter

Fabio Buso

Labels

None

Fix versions

Priority

Highest
Configure