The senator from New York tried to make her case that Sens. Barack Obama , her Democratic rival , and John McCain , the presumptive Republican presidential nominee , can 't be trusted to end the war .