code: protected void adjustServerPrefix() {
  
          CmsSSLMode mode = (CmsSSLMode)m_encryption.getValue();
          if (simpleReturn(mode)) {
              return;
          }
          String toBeReplaced = "http:";
          String newString = "https:";
  
          if (mode.equals(CmsSSLMode.NO) | mode.equals(CmsSSLMode.SECURE_SERVER)) {
              toBeReplaced = "https:";
              newString = "http:";
          }
  
          if (((CmsSite)m_server.getValue()).getUrl().contains(toBeReplaced)) {
  
              String newURL = ((CmsSite)m_server.getValue()).getUrl().replaceAll(toBeReplaced, newString);
              CmsSite newSite = new CmsSite("dummy", newURL);
              if (!m_serverContainer.containsId(newSite)) {
                  m_serverContainer.addItem(newSite);
              }
              m_server.select(newSite);
          }
  
      }
docs: Adjustes the server prefixes according to SSL setting.<p>