// by new page id
Page targetPg = project.getPageById("2");
System.out.println(targetPg.getInfoText());
// b) with user name and password
CmsClient client1 = new CmsClient(new PasswordAuthentication("lejafr", "pw"), new URL("http://reddot.hlcl.com/cms/hlclRemoteRql.asp"));
Project project1 = client1.getProjectByName("hip.hlcl.com");
CmsClient client2 = new CmsClient(new PasswordAuthentication("lejafradm", "pw"), new URL("http://kswfrd02/cms/hlclRemoteRql.asp"));
Project project2 = client2.getProjectByName("hlag_wm2008");
Page source1Pg = project1.getPageById("127290");
System.out.println(source1Pg.getInfoText());