getLogSession().log(admin, caid, LogEntry.MODULE_HARDTOKEN, new java.util.Date(),null, null, LogEntry.EVENT_ERROR_HARDTOKENISSUERDATA,"Error removing hard token issuer " + alias + ".",e);
getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_HARDTOKEN, new java.util.Date(),null, null, LogEntry.EVENT_ERROR_HARDTOKENISSUERDATA,"Error removing hard token issuer " + alias + ".",e);
    public void removeHardTokenIssuer(Admin admin, String alias){      debug(">removeHardTokenIssuer(alias: " + alias + ")");      int caid = ILogSessionLocal.INTERNALCAID;      try{        HardTokenIssuerDataLocal htih = hardtokenissuerhome.findByAlias(alias);        caid = htih.getCertIssuerDN().hashCode();        htih.remove();        getLogSession().log(admin, caid, LogEntry.MODULE_HARDTOKEN, new java.util.Date(),null, null, LogEntry.EVENT_INFO_HARDTOKENISSUERDATA,"Hard token issuer " + alias + " removed.");      }catch(Exception e){         getLogSession().log(admin, caid, LogEntry.MODULE_HARDTOKEN, new java.util.Date(),null, null, LogEntry.EVENT_ERROR_HARDTOKENISSUERDATA,"Error removing hard token issuer " + alias + ".",e);      }      debug("<removeHardTokenIssuer()");    } // removeHardTokenIssuer