code: private void persistRealmChanges() {
      configManager.persistProperties(realm.getProperties(), new File(applicationContentDir, PersistablePropertiesRealm.REALM_FILE_NAME), null);
    }
docs: Persists the user accounts to a properties file that is only available to this site only.