Irish authorities were aware of three separate death threats against President John F. Kennedy when he visited Ireland in 1963 , five months before his assassination in Dallas , according to government papers released in Dublin on Friday .