code: public AuthConfigProvider setProvider(ProviderService providerService) {
          AuthConfigProvider authConfigProvider = null;
          if (providerService != null) {
              authConfigProvider = providerService.getAuthConfigProvider(this);
              registerConfigProvider(authConfigProvider, null, null, null);
          } else {
              removeRegistration(defaultRegistrationID.toString());
          }
          return authConfigProvider;
      }
docs: Called when a Liberty user defined feature provider is set or unset
  
  @param providerService the provider if set, null if unset