mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-1656: Check if user KSM config is null before constructing a client.
This commit is contained in:
@@ -163,7 +163,7 @@ public class KsmSecretService implements VaultSecretService {
|
||||
|
||||
// If the user config happens to be the same as admin-defined one,
|
||||
// don't bother trying again
|
||||
if (!Objects.equal(userKsmConfig, ksmConfig))
|
||||
if (userKsmConfig != null && !Objects.equal(userKsmConfig, ksmConfig))
|
||||
return getClient(userKsmConfig).getSecret(name);
|
||||
|
||||
return CompletableFuture.completedFuture(null);
|
||||
|
Reference in New Issue
Block a user