作用是让server启动时自动从boot.properties文件中读取用户名和密码,并登录
以下是文档原文:Setting theBoot Login for WebLogic Server
The WebLogic Server uses the login information contained in theboot.properties
file to start the server. This file contains ausername
andpassword
that must match a username and password in the configured authentication policy. Theboot.properties
file is located in the WebLogic Server domain directory on the machine on which the Security Service Module is installed, for example:
BEA_HOME/user_projects/domains/
mydomain
If you used a username ofsystem
and a password ofweblogic
, then modify WebLogic Serverboot.properties
in the domain as follows:
user = system
password = weblogic
The next time you start the WebLogic Server, the username and password you specified are encrypted.
上面的方式,适用于admin server,
若是managed server则要进入
BEA_HOME/user_projects/domains/
mydomain
并创建boot.properties文件。