public static final void saveInstanceIdentifier(String confPath,String instanceIdentifier) throws Exception {
  Path file=Paths.get(confPath,INSTANCE_IDENTIFIER_FILE);
  log.trace("Saving instance identifier to {}",file);
  AtomicSave.execute(file.toString(),"inst",instanceIdentifier.getBytes(StandardCharsets.UTF_8));
}

public static final void saveInstanceIdentifier ( String confPath , String instanceIdentifier ) throws Exception { Path file = Paths . get ( confPath , INSTANCE_IDENTIFIER_FILE ) ; log . trace ( "Saving instance identifier to {}" , file ) ; AtomicSave . execute ( file . toString ( ) , "inst" , instanceIdentifier . getBytes ( StandardCharsets . UTF_8 ) ) ; }
saves the instance identifier of this security server to file .
