void localPut(String key, String value, boolean isEncrypted) {
        properties.put(key, value);
        encrypted.put(key, isEncrypted);
        // We now know the database is correct - so we can remove the entry from security.conf
        JiveGlobals.clearXMLPropertyEncryptionEntry(key);

        // Generate event.
        Map<String, Object> params = new HashMap<>();
        params.put("value", value);
        PropertyEventDispatcher.dispatchEvent(key, PropertyEventDispatcher.EventType.property_set, params);
    }
Saves a property, optionally encrypting it

@param key
           The name of the property
@param value
           The value of the property
@param isEncrypted
           {@code true} to encrypt the property, {@code true} to leave in plain text
@return The previous value associated with {@code key}, or {@code null} if there was no mapping for
        {@code key}.
xmppserver/src/main/java/org/jivesoftware/util/JiveProperties.java