天天看点

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>

红色代码处改为自己的用户名。