docs: private static void updateCustomHashtable(Hashtable<String, Object> credData, String realmName, String uniqueId, String securityName, List<?> groupList) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              Tr.entry(tc, "updateCustomHashtable", new Object[] { credData, realmName, uniqueId, securityName, groupList });
          }
          String cacheKey = getCacheKey(uniqueId, realmName);
          credData.put(AttributeNameConstants.WSCREDENTIAL_CACHE_KEY, cacheKey);
          credData.put(AttributeNameConstants.WSCREDENTIAL_REALM, realmName);
          credData.put(AttributeNameConstants.WSCREDENTIAL_SECURITYNAME, securityName);
          if (uniqueId != null) {
              credData.put(AttributeNameConstants.WSCREDENTIAL_UNIQUEID, uniqueId);
          }
          // If uniqueId is not set then the login will fail later and the work will not execute
          if (groupList != null && !groupList.isEmpty()) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "Adding groups found in registry", groupList);
              }
              credData.put(AttributeNameConstants.WSCREDENTIAL_GROUPS, groupList);
          } else {
              credData.put(AttributeNameConstants.WSCREDENTIAL_GROUPS, new ArrayList<String>());
          }
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              Tr.exit(tc, "updateCustomHashtable");
          }
      }