WebLogic - Enabling Auto Login by Using the Boot Identity File

18 篇文章 0 订阅


This OBE tutorial describes and shows you how to enable auto login using the boot identity file.

Approximately 1/2 hour

Topics

This OBE tutorial covers the following topics:

Place the cursor over this icon to load and view all the screenshots for this tutorial. (Caution: Because this action loads all screenshots simultaneously, response time may be slow depending on your Internet connection.)

Note: Alternatively, you can place the cursor over each individual icon in the following steps to load and view only the screenshot associated with that step.

The screenshots will not reflect the specific environment you use. They are provided to give you an idea of where to locate specific functionality in Oracle WebLogic Server.

Overview

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. Because the credentials are encrypted, using a boot identity file is more secure than storing unencrypted credentials in a startup or shutdown script. If there is no boot identity file when you start a server, the server instance prompts you to enter a username and password. The boot identity file can be different for each server instance in the domain.


Back to Topic List

Scenario

The Dizzyworld system architects want to make the environment more secure by using auto login to the WebLogic server instance. To implement this, the boot identity file is used.

Back to Topic List

Verifying the Prerequisites

Before you start the tasks, make sure that your system environment meets the following requirements:

Software Requirements

The system should have Oracle WebLogic Server 10.3 installed.

Setup Requirements

You should have completed the following OBEs:

Back to Topic List

Stopping and Starting a Managed Server


To start and stop a Managed Server, perform the following steps:

1.

In the Oracle WebLogic Server Console, under the Domain Structure section, click Server. Then click dizzy1.


 

2.

Notice that the "Settings for dizzy1" section appears. Click the Control tab and click the Start/Stop tab.


 

3.

Select the dizzy1 check box and select Shutdown > Force Shutdown Now.


 

4.

In the Server Life Cycle Assistant section, click Yes.


 

5.

Notice the message A request has been sent to immediately shut down the selected servers. Click the Refresh icon to view the updated status.



 

6.

Browse to /u01/app/oracle/product/Middleware/user_projects/domains/dizzyworld/bin and enter the following command to start dizzy1:

$ ./startManagedWebLogic.sh dizzy1 http://127.0.0.1:7001


 

7.

Notice that you are prompted here for the username and password. Enter admin and welcome1, respectively. dizzy1 is started.



 

8.

You've now seen the normal start for a managed server. Press and hold Ctrl + C to stop the running server.


 

Back to Topic List

Configuring the boot.properties File

To configure the boot.properties file, perform the following steps:

1.

Browse to /u01/app/oracle/product/Middleware/user_projects/domains/dizzyworld/servers/dizzy1/security and edit the boot.properties file.

$ vi boot.properties


 

Note: You need to create the security folder and the boot.properties file incase the parent folder is empty.

 

2.

Modify the file with the following values and save it.

username=admin
password=
welcome1


 

3.

Browse to /u01/app/oracle/product/Middleware/user_projects/domains/dizzyworld/bin and enter the following command to start dizzy1:

$ ./startManagedWebLogic.sh dizzy1 http://127.0.0.1:7001


 

4.

Note that the boot.properties file is identified and you are not prompted for a username and password. The server is in the running mode. Navigate back to the /u01/app/oracle/product/Middleware/user_projects/domains/dizzyworld/servers/dizzy1/security location and view the boot.properties file. You notice that the content of this file is now encrypted.

$ cat boot.properties


Back to Topic List

 

In this lesson, you learned how to:

Verify the prerequisites
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值