Barack Obama actually said...
I do think that conditioning some of our military on the idea that you need to build a security apparatus that gains the confidence of all parties concerned as opposed to simply being an arm of one faction.
Context
Interview with the New York Times on Senator Obama's Campaign Plane
09/19/2008