if (StringUtils.isNotEmpty(copyoftokensn) || StringUtils.isNotEmpty(copyoftokensnwithoutprefix)) { log.info("copyoftokensn: "+copyoftokensn+" and/or copyoftokensnwithoutprefix: "+copyoftokensnwithoutprefix+" is not used."); }
    private String processString(String text, UserAdminData userdata, DNFieldExtractor dnfields,                                 String[] pincodes, String[] pukcodes,                                  String hardtokensn, String hardtokensnwithoutprefix,                                 String copyoftokensn, String copyoftokensnwithoutprefix,                                 String startdate, String enddate){    	  text = USERNAME.matcher(text).replaceAll(userdata.getUsername());	        text = CN.matcher(text).replaceAll(dnfields.getField(DNFieldExtractor.CN, 0));	  text = OU.matcher(text).replaceAll(dnfields.getField(DNFieldExtractor.OU, 0));	  text = O.matcher(text).replaceAll(dnfields.getField(DNFieldExtractor.O, 0));	  text = C.matcher(text).replaceAll(dnfields.getField(DNFieldExtractor.C, 0));	  text = LOCATION.matcher(text).replaceAll(dnfields.getField(DNFieldExtractor.L, 0));	  text = TITLE.matcher(text).replaceAll(dnfields.getField(DNFieldExtractor.T, 0));      text = INITIALS.matcher(text).replaceAll(dnfields.getField(DNFieldExtractor.INITIALS, 0));             text = SN.matcher(text).replaceAll(dnfields.getField(DNFieldExtractor.SN, 0));      text = SURNAME.matcher(text).replaceAll(dnfields.getField(DNFieldExtractor.SURNAME, 0));      text = GIVENNAME.matcher(text).replaceAll(dnfields.getField(DNFieldExtractor.GIVENNAME, 0));	  text = STARTDATE.matcher(text).replaceAll(startdate);				  text = ENDDATE.matcher(text).replaceAll(enddate);        	  text = HARDTOKENSN.matcher(text).replaceAll(hardtokensn);	  text = HARDTOKENSNWITHOUTPREFIX.matcher(text).replaceAll(hardtokensnwithoutprefix);      for(int i=0; i<pincodes.length;i++){      	text = PINS[i].matcher(text).replaceAll(pincodes[i]);      }	  for(int i=0; i<pukcodes.length;i++){		text = PUKS[i].matcher(text).replaceAll(pukcodes[i]);	  }      //text = CUSTOMTEXTROW1.matcher(text).replaceAll(?);            //text = CUSTOMTEXTROW2.matcher(text).replaceAll(?);      //text = CUSTOMTEXTROW3.matcher(text).replaceAll(?);      //text = CUSTOMTEXTROW4.matcher(text).replaceAll(?);      //text = CUSTOMTEXTROW5.matcher(text).replaceAll(?);      //text = COPYOFSN.matcher(text).replaceAll(copyoftokensn);      //text = COPYOFSNWITHOUTPREFIX.matcher(text).replaceAll(copyoftokensnwithoutprefix);      	      return text;	    }