getLogSession().log(admin, caid, LogEntry.MODULE_HARDTOKEN, new java.util.Date(),null, null, LogEntry.EVENT_INFO_HARDTOKENISSUERDATA,"Hard token issuer " +  alias + " edited.");
getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_HARDTOKEN, new java.util.Date(),null, null, LogEntry.EVENT_INFO_HARDTOKENISSUERDATA,"Hard token issuer " +  alias + " edited.");
    public boolean changeHardTokenIssuer(Admin admin, String alias, HardTokenIssuer issuerdata){       debug(">changeHardTokenIssuer(alias: " + alias + ")");       boolean returnvalue = false;       int caid = ILogSessionLocal.INTERNALCAID;       try{         HardTokenIssuerDataLocal htih = hardtokenissuerhome.findByAlias(alias);         htih.setHardTokenIssuer(issuerdata);         caid = htih.getCertIssuerDN().hashCode();         returnvalue = true;       }catch(FinderException e){}             if(returnvalue)         getLogSession().log(admin, caid, LogEntry.MODULE_HARDTOKEN, new java.util.Date(),null, null, LogEntry.EVENT_INFO_HARDTOKENISSUERDATA,"Hard token issuer " +  alias + " edited.");       else         getLogSession().log(admin, ILogSessionLocal.INTERNALCAID, LogEntry.MODULE_HARDTOKEN, new java.util.Date(),null, null, LogEntry.EVENT_ERROR_HARDTOKENISSUERDATA,"Error editing hard token issuer " + alias + ".");       debug("<changeHardTokenIssuer()");       return returnvalue;    } // changeHardTokenIssuer