作用是让server启动时自动从boot.properties文件中读取用户名和密码,并登录
以下是文档原文:Setting the Boot Login for WebLogic Server
The WebLogic Server uses the login information contained in the boot.properties
file to start the server. This file contains a username
and password
that must match a username and password in the configured authentication policy. The boot.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 of system
and a password of weblogic
, then modify WebLogic Server boot.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文件。