int id = (new Random((new Date()).getTime())).nextInt();
Random ran = (new Random((new Date()).getTime())); int id = ran.nextInt();
	private Integer findFreeHardTokenProfileId(){	  int id = (new Random((new Date()).getTime())).nextInt();	  boolean foundfree = false;	  while(!foundfree){		try{		  if(id < 0 || id > SecConst.TOKEN_SOFT)			hardtokenprofilehome.findByPrimaryKey(new Integer(id));		    id++;		}catch(FinderException e){		   foundfree = true;		}	  }	  return new Integer(id);	} // findFreeHardTokenProfileId