@Override
    public void updateObject(ModeledAuthenticatedUser user, ModeledConnection object)
            throws GuacamoleException {

        // Update connection
        super.updateObject(user, object);

        // Replace existing parameters with new parameters, if any
        Collection<ConnectionParameterModel> parameterModels = getParameterModels(object);
        parameterMapper.delete(object.getIdentifier());
        if (!parameterModels.isEmpty())
            parameterMapper.insert(parameterModels);
        
    }
Given an arbitrary Guacamole connection, produces a collection of
parameter model objects containing the name/value pairs of that
connection's parameters.

@param connection
    The connection whose configuration should be used to produce the
    collection of parameter models.

@return
    A collection of parameter models containing the name/value pairs
    of the given connection's parameters.
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/connection/ConnectionService.java