Mr. Graham and his colleagues in resisting the White House , Senators John W. Warner of Virginia and John McCain of Arizona , had insisted that the provision was necessary to prevent so-called secret trials .