def METHOD_NAME(self, opendj_bindir, hostname, port, username, password_method, backend_name, name, value):
    my_command = [
        opendj_bindir + '/dsconfig',
        'set-backend-prop',
        '-h', hostname,
        '--port', str(port),
        '--bindDN', username,
        '--backend-name', backend_name,
        '--set', name + ":" + value,
        '-n', '-X'
    ] + password_method
    rc, stdout, stderr = self._module.run_command(my_command)
    if rc == 0:
        return True
    else:
        self._module.fail_json(msg="Error message: " + stderr)