adminsession.unRevokeCert(administrator, serno, issuerdn, username); }catch( AuthorizationDeniedException e){ success =false; }
RevokedCertInfo revinfo = certificatesession.isRevoked(administrator, issuerdn, serno);  if ( revinfo != null && revinfo.getReason() == RevokedCertInfo.REVOKATION_REASON_CERTIFICATEHOLD ){   UserView userView = findUser(username);  CertificateProfile certificateProfile = certificatesession.getCertificateProfile(administrator, userView.getCertificateProfileId()); Collection publisherList = certificateProfile.getPublisherList();   certificatesession.setRevokeStatus(administrator, issuerdn, serno, publisherList, RevokedCertInfo.NOT_REVOKED);  if ( !certificatesession.checkIfAllRevoked(administrator, userView.getUsername()) ) { UserDataVO vo = adminsession.findUser(administrator, userView.getUsername());  if (vo.getStatus() != UserDataConstants.STATUS_GENERATED) { adminsession.setUserStatus(administrator, userView.getUsername(), UserDataConstants.STATUS_GENERATED); } }  }  }catch( AuthorizationDeniedException e){ success = false; }
    public boolean unrevokeCert(BigInteger serno, String issuerdn, String username) throws Exception {      log.debug(">unrevokeCert()");      boolean success = true;      try{          adminsession.unRevokeCert(administrator, serno, issuerdn, username);        }catch( AuthorizationDeniedException e){          success =false;        }      log.debug("<unrevokeCert(): " + success);      return success;    }