A man accused of contacting a garda confidential line identifying a named soldier in the Irish army as a “legitimate target” and showing a picture of the same soldier on a “paedo” website went on trial for harassment at Cork District Court yesterday.