The Kennedy speech came shortly after the failed "bay of pigs" operation - on April 27. There might have been some tensions between the various branches of government on that occasion, so it can have more than one interpretation. Here is the full text:
Eisenhower also had a few surprising things to say about the "military-industrial complex" - but that was on his farewell speech.