getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CERTPROFILE, "Error removing certificateprofile " + certificateprofilename + ".");
getLogSession().log(admin, admin.getCaId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CERTPROFILE, "Error removing certificateprofile " + certificateprofilename + ".");
    public void removeCertificateProfile(Admin admin, String certificateprofilename) {        try {            CertificateProfileDataLocal pdl = certprofilehome.findByCertificateProfileName(certificateprofilename);            pdl.remove();            getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_CERTPROFILE, "Removed certificateprofile " + certificateprofilename + ".");        } catch (Exception e) {            getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_CERTPROFILE, "Error removing certificateprofile " + certificateprofilename + ".");        }    } // removeCertificateProfile