code: private void updateQuickStartSecurityRegistryConfiguration() {
  
          // A registry ONLY makes sense with a user AND a password
          if (!isStringValueUndefined(config.userName()) && !isStringValueUndefined(config.userPassword())
              && (config.UserRegistry() == null || config.UserRegistry().length == 0)
              && (config.ManagementRole() == null || config.ManagementRole().length == 0)) {
              quickStartRegistry.update(config.userName(), Password.create(config.userPassword()));
  
              // Update the service registration with the new configuration
              Dictionary<String, Object> newConfigProps = buildUserRegistryConfigProps();
              urConfigReg.setProperties(newConfigProps);
  
          } else {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "Lost required configuration information, removing the configuration (if its registered).");
              }
              unregisterQuickStartSecurityRegistryConfiguration();
          }
      }
docs: Set a QuickStartSecurityRegistry configuration into the OSGi
  registry if NO other registry one does not
  exist. Remove the registered one (if it is registered) the moment another
  registry comes into the picture.
  
  * Update the quick start security UserRegistryConfiguration
  service with the new properties.