Sun Java System Instant Messaging 7.2 管理指南

Procedure配置所支援 XMPP/HTTP 閘道網域的金鑰 ID 清單

  1. 開啟 httpbind.conf

    如需尋找此檔案的詳細資訊,請參閱 httpbind.conf 檔案位置

  2. httpbind.config 參數設為您要閘道使用的 ID 清單。

    對於每個網域,您需要為此參數指定不同的 ID。例如:


    httpbind.config=gwdomain-id
    

    其中,gwdomain-id 是您要為網域使用的識別碼。

    例如:


    httpbind.config=siroe.com
  3. 對於每個您指定的 gwdomain-id,將以下參數新增至 httpbind.conf 檔案:


    gwdomain-id.domain=domain-name
    gwdomain-id.hosts=gateway-host
    gwdomain-id.componentjid=component-jid
    gwdomain-id.password=password
    

    其中:

    • gwdomain-id 是為上一個步驟中的 httpbind.config 內的閘道所指定的 ID。

    • domain-name 是識別的閘道在其中執行的網域。

    • gateway-host 是完全合格網域名稱 (FQDN) 以及支援此網域的閘道主機連接埠號碼清單,以逗號或空格分隔。

    • component-jid 是閘道的元件 JID。

    • password 是識別的閘道的密碼。

    例如,如果將 gwdomain-id 設為 siroe


    siroe.domain=siroe.com
    siroe.hosts=gateway.siroe.com:5222
    siroe.componentjid=http.gateway.siroe.com
    siroe.password=gatewaypassword

    如需這些關鍵參數的詳細資訊,請參閱httpbind.config 的閘道網域 ID 鍵值參數

  4. 儲存並關閉 httpbind.conf

  5. 使用 Web 或應用程式伺服器提供的工具重新啟動閘道。