@Override
    public ModeledConnection createObject(ModeledAuthenticatedUser user, Connection object)
            throws GuacamoleException {

        // Create connection
        ModeledConnection connection = super.createObject(user, object);
        connection.setConfiguration(object.getConfiguration());

        // Insert new parameters, if any
        Collection<ConnectionParameterModel> parameterModels = getParameterModels(connection);
        if (!parameterModels.isEmpty())
            parameterMapper.insert(parameterModels);

        return connection;

    }
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