public KeeperRecord getRecord(String uid) throws GuacamoleException {
        validateCache();
        cacheLock.readLock().lock();
        try {
            return cachedRecordsByUid.get(uid);
        }
        finally {
            cacheLock.readLock().unlock();
        }
    }
Returns the record having the given UID. If no such record exists, null
is returned.

@param uid
    The UID of the record to return.

@return
    The record having the given UID, or null if there is no such record.

@throws GuacamoleException
    If an error occurs that prevents the record from being retrieved.
extensions/guacamole-vault/modules/guacamole-vault-ksm/src/main/java/org/apache/guacamole/vault/ksm/secret/KsmClient.java