docs: private void setAndValidateProperties(String systemDomain, String defaultAppDomain) {
          if (isConfigurationDefinedInFile()) {
              if ((systemDomain == null) || systemDomain.isEmpty()) {
                  Tr.error(tc, "SECURITY_SERVICE_ERROR_MISSING_ATTRIBUTE", CFG_KEY_SYSTEM_DOMAIN);
                  throw new IllegalArgumentException(Tr.formatMessage(tc, "SECURITY_SERVICE_ERROR_MISSING_ATTRIBUTE", CFG_KEY_SYSTEM_DOMAIN));
              }
              this.cfgSystemDomain = systemDomain;
              if ((defaultAppDomain == null) || defaultAppDomain.isEmpty()) {
                  this.cfgDefaultAppDomain = systemDomain;
              } else {
                  this.cfgDefaultAppDomain = defaultAppDomain;
              }
          }
      }