code: synchronized private void writeConfigFile(final JaspiConfig jaspiConfig) {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "writeConfigFile", new Object[] { jaspiConfig });
          if (configFile == null) {
              // TODO handle persistence
              //String msg = MessageFormatHelper.getFormattedMessage(msgBundle, AdminConstants.MSG_JASPI_PERSISTENT_FILE, new Object[] { PersistenceManager.JASPI_CONFIG });
              //throw new RuntimeException(msg);
          }
          PrivilegedExceptionAction<Object> marshalFile = new PrivilegedExceptionAction<Object>() {
  
              @Override
              public Object run() throws Exception {
                  JAXBContext jc = JAXBContext.newInstance(JaspiConfig.class);
                  Marshaller writer = jc.createMarshaller();
                  writer.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
                  writer.marshal(jaspiConfig, configFile);
                  return null;
              }
          };
          try {
              AccessController.doPrivileged(marshalFile);
          } catch (PrivilegedActionException e) {
              FFDCFilter.processException(e, this.getClass().getName() + ".writeConfigFile", "290", this);
              throw new RuntimeException("Unable to write " + configFile, e);
          }
          if (tc.isEntryEnabled())
              Tr.exit(tc, "writeConfigFile");
      }
docs: Store the in-memory Java representation of the JASPI persistent providers into the given configuration file.
  
  @param jaspiConfig
  @throws RuntimeException if an exception occurs in method AccessController.doPrivileged.