getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CERTPROFILE, " Error editing certificateprofile " + certificateprofilename + ".");
getLogSession().log(admin, admin.getCaId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CERTPROFILE, " Error editing certificateprofile " + certificateprofilename + ".");
    public void changeCertificateProfile(Admin admin, String certificateprofilename, CertificateProfile certificateprofile) {        try {            CertificateProfileDataLocal pdl = certprofilehome.findByCertificateProfileName(certificateprofilename);            pdl.setCertificateProfile(certificateprofile);            getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_CERTPROFILE, "Certificateprofile " + certificateprofilename + " edited.");        } catch (FinderException e) {            getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CERTPROFILE, " Error editing certificateprofile " + certificateprofilename + ".");        }    }// changeCertificateProfile