openfire 用戶名+密碼 配置

安裝了openfire後要求配置,一般用戶名都是admin,密碼是安裝時用戶所設定的密碼。因爲種種緣由會出現沒法登錄的現象。現有兩種方法能夠解決。
1. 進入openfire的安裝目錄下--->進入conf文件夾--->打開openfire.xml文件--->將<setup>true</setup>中的true改成false  這樣不用用戶名和密碼也能夠登錄
2. 將openfire.xml文件中
  <admin>
    <authorizedUsernames>jimuser</authorizedUsernames>
  </admin>
   <adminConsole> 
    <!-- Disable either port by setting the value to -1 -->  
    <port>9090</port>  
    <securePort>9091</securePort> 
  </adminConsole>

紅色代碼處改成本身的用戶名。

若是配置好數據庫以後,能夠用MYSQL對openfire進行用戶名和密碼的從新設置。參考如下網址:http://blog.taragana.com/index.php/archive/how-to-recover-openfire-admin-password/
相關文章
相關標籤/搜索