In a sweeping and unusual move, the Justice Department secretly obtained two months’ worth of telephone records of journalists working for the Associated Press as part of a year-long investigation into the disclosure of classified information about a failed al-Qaeda plot last year. The AP’s president said Monday that federal authorities obtained cellular, office and home telephone records of individual reporters and an editor; AP general office numbers in Washington, New York and Hartford, Conn.; and the main number for AP reporters covering Congress. He called the Justice Department’s actions a “massive and unprecedented intrusion” into newsgathering activities.