}
    public boolean storeCertificate(Admin admin, Collection publisherids, Certificate incert, String username, String password, String cafp, int status, int type, ExtendedInformation extendedinformation){      Iterator iter = publisherids.iterator();      boolean returnval = true;      while(iter.hasNext()){        Integer id = (Integer) iter.next();        try{          PublisherDataLocal pdl = publisherhome.findByPrimaryKey(id);          try{          returnval &= pdl.getPublisher().storeCertificate(admin,incert,username, password, cafp,status,type, extendedinformation);          getLogSession().log(admin, (X509Certificate) incert, LogEntry.MODULE_CA, new java.util.Date(), username,                        (X509Certificate) incert, LogEntry.EVENT_INFO_STORECERTIFICATE,                        "Added object: " + ((X509Certificate) incert).getSubjectDN().toString() + " successfully to publisher " + pdl.getName() +".");          }catch(PublisherException pe){        	getLogSession().log(admin, (X509Certificate) incert, LogEntry.MODULE_CA, new java.util.Date(), username, (X509Certificate) incert,        			LogEntry.EVENT_ERROR_STORECERTIFICATE, "Error when publishing certificate to " + pdl.getName() + " : " + pe.getMessage());          }        }catch(FinderException fe){        	getLogSession().log(admin, (X509Certificate) incert, LogEntry.MODULE_CA, new java.util.Date(), null, (X509Certificate) incert,        			LogEntry.EVENT_ERROR_STORECERTIFICATE, "Publisher with id " + id + " doesn't exist.");        }      }      return returnval;    }