docs: public void setSSLPropertiesOnThread(Properties props) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              String debug = "Clearing thread properties.";
              if (props != null) {
                  debug = props.getProperty(Constants.SSLPROP_ALIAS);
                  if (null == debug) {
                      debug = props.toString();
                  }
              }
              Tr.entry(tc, "setSSLPropertiesOnThread", new Object[] { debug });
          }
  
          SecurityManager sm = System.getSecurityManager();
          if (sm != null) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "Performing Java 2 Security Permission Check ...");
                  Tr.debug(tc, "Expecting : " + SET_SSLCONFIG.toString());
              }
              sm.checkPermission(SET_SSLCONFIG);
          }
  
          if (props != null) {
              String alias = props.getProperty(Constants.SSLPROP_ALIAS);
  
              if (alias != null) {
                  SSLConfig config = SSLConfigManager.getInstance().getSSLConfig(alias);
  
                  // add the properties to the Map so they can be used if not already there.
                  if (config == null) {
                      config = new SSLConfig(props);
  
                      try {
                          SSLConfigManager.getInstance().addSSLConfigToMap(alias, config);
                      } catch (Exception e) {
                          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                              Tr.exit(tc, "The following exception occurred in setSSLPropertiesOnThread().", new Object[] { e });
                          FFDCFilter.processException(e, getClass().getName(), "setSSLPropertiesOnThread", this);
                      }
                  }
              }
          }
  
          ThreadManager.getInstance().setPropertiesOnThread(props);
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.exit(tc, "setSSLPropertiesOnThread");
      }