The president is scheduled to give the commencement address at the US military academy in June.