You may trust him, but, being signed into law, such provisions requires you to trust each and every successor of his until a contrary provision becomes law.
The Act is called "National Defense Authorization Act for Fiscal Year 2012". Is this something that is passed every year? Could the indefinite detention clauses be removed in the 2013 "version" ?