Sunday, November 24, 2013

Enabling Auto Login by Using the Boot Identity File

Version: WebLogic 10.3.5
Description: WebLogic contains out of the box scripts to start up your WebLogic server instances (E.g. startWebLogic.sh and startManagedWebLogic.sh). Whenever you run these scripts, you are prompted to enter the weblogic administrator credentials. A boot identity file contains user credentials for starting and stopping an instance of WebLogic Server. An Administration Server can refer to this file for user credentials instead of prompting you to provide them. The administration server is used as an example here.


1. Create a boot.properties file in "MW_HOME/user_projects/domains/DOMAIN_NAME/servers/AdminServer/security" directory.

cd /home/oracle/Oracle/Middleware/user_projects/domains/oim_domain/servers/AdminServer/security
touch boot.properties

2. In the boot.properties file, specify the WebLogic administrator username and password. An example is given below.

username=weblogic
password=Password1

3. Start the administration server. The boot.properties file will get encrypted and you will no longer be prompted for a username and password when starting the weblogic administration server.

#Sun Nov 24 20:34:12 EST 2013
password={AES}ONJoJP5qLs4aSLDFDmyvuPN2hu198U5mIRL3Bf2t9yQ\=
username={AES}YKdKhgLL2UiM7e7VHUVonX/2EbVstOfXU0S1+rTzCTo\=

No comments:

Post a Comment