database users authentication obiee 11 g

72
PREPARED BY RAVI KUMAR LANKE Page 1 DATABASE USER AUTHENTICATION OBIEE 11G

Upload: ravi-kumar-lanke

Post on 08-May-2015

1.775 views

Category:

Education


7 download

DESCRIPTION

Database users authentication obiee 11 g

TRANSCRIPT

Page 1: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 1

DATABASE USER AUTHENTICATION OBIEE 11G

Page 2: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 2

Here I am going to demonstrate where on set of users present in the LDAP server

as well as another set of users and passwords present in an External Oracle

Database Table (here “SECURITYTABLE”) can login into

thehttp://localhost:9704/analytics, the Oracle Analytics

Create the oracle database table for external authentication as shown

below:

Page 3: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 3

Page 4: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 4

Page 5: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 5

Page 6: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 6

Open the “Oracle BI Administration Tool” and “Open Offline”

Page 7: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 7

Page 8: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 8

Page 9: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 9

Page 10: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 10

Page 11: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 11

Page 12: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 12

Page 13: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 13

Right click the “ORCL” connection in the “Physical” layer pane and select

“New Object” -> “Connection Pool…”

Enter “SECURITY” for the “Name:” field.

Select “ODBC 3.5″ for the “Call interface:”

Select “ORCL” for the “Data source name:”

Enter sh, sh for the “User name:” and “Password:” fields respectively.

Then click the “OK” button.

Enter “sh” in the “Confirm Password” window and click the “OK” button.

Page 14: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 14

Page 15: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 15

Page 16: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 16

Right Click the “SECURITY” connection pool in the “Physical” layer pane

and select “Import Metadata”

Page 17: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 17

Page 18: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 18

Page 19: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 19

Right Click on the “SECURITYTABLE” and select “View Data…”.

On the “Select Connection Pool you want to use for database ORCL”

window, select “SECURITY” then click on “Select” button

Page 20: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 20

Page 21: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 21

On the Administration Tool Menu select “Manage” -> “Variables…”

Page 22: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 22

Page 23: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 23

Page 24: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 24

On the “Session Variable Initialization Block” window click the “Edit Data

Source…” button.

In the “Session Variable Initialization Block Data Source” window select

“Database” for the “Data Source Type:” field

Select the “Default initialization string” button and enter the below SQL:

SELECT GRP, SALESREP, USERNAME, 2 FROM SECURITYTABLE WHERE USERNAME =

':USER' AND PWD = ':PASSWORD'

Click the “Browse…” button and in the “Select Connection Pool” window

select “SECURITY” the click the “Select” button as show below:

Page 25: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 25

Then click “OK” button to close the “Session Variable Initialization Block

Data Source” window.

Page 26: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 26

In the “Variable Target” section click on the “Edit Data Target…”

In the “Session Variable Initialization Block Variable Target” window click

on “New…” button.

In the “Session Variable” window enter “GROUP” for “Name:” field and

click on the “OK” button

Click “Yes” on the Warning pop-up window.

Page 27: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 27

Page 28: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 28

Page 29: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 29

Similarly create all 4 Session Variables: GROUP, DISPLAYNAME, USER and

LOGLEVEL as show below.

Click on the “OK” button to close the window.

Page 30: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 30

Page 31: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 31

Page 32: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 32

Finally on the “Session Variable Initialization Block” window enter

“Security” for the “Name:” field.

Make sure “Required for authentication” check box is NOT Selected.

Verify entries as in below screenshot and Click “OK” button

Page 33: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 33

Page 34: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 34

On the “Variable Manager” select “Action” -> “Close”.

On the “Administration Tool” window menu select “Save”.

Select “Yes” to the “Do you wish to check global consistency?” and make

sure no Warnings or Errors are shown.

Page 35: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 35

Page 36: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 36

Page 37: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 37

Now go to the URL: http://locahost:9704/analytics and login with the

admin user “weblogic” .

Goto “Administration” on the top menu and under “Security” section

select “Manage Catalog Groups”

Click the “+” icon with “Create a new catalog group” tooltip.

Page 38: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 38

Page 39: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 39

Page 40: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 40

Page 41: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 41

Page 42: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 42

Page 43: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 43

Page 44: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 44

Now goto the URL: http://localhost:7001/em to deploy the latest

SampleAppLite.rpd that we modified above.

Goto the “Farm_bifoundation_domain” -> “Business Intelligence” ->

“coreapplication” on the left pane.

On the right pane select “Deployment” -> “Repository” tabs.

The click on the “Lock and Edit Configuration” link above the

“Deployment” tab.

Click the “Close” button once the pop-up window appears.

Select the “Browse…” button and goto the location of the

SampleAppLite.rpd file and click on “Open”.

Enter the “Repository Password” and “Confirm Password” entries as

“Admin123″.

Then click the “Apply” button on the top right.

Then click on the “Activate Changes” link.

Click “Close” button one “Activate Changes – Completed Successfully”

show up.

Then click on the “Restart to apply recent changes” link.

After the “Overview” screen show up click on the blue “Restart” button.

Click the “Yes” button when “Are you sure you want to restart all BI

components?” shows up

Click on the “Close” button one the “Restarted Successfully” shows up.

Page 45: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 45

Page 46: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 46

Page 47: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 47

Page 48: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 48

Page 49: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 49

Page 50: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 50

Page 51: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 51

Page 52: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 52

Page 53: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 53

Page 54: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 54

Page 55: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 55

Page 56: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 56

Page 57: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 57

Page 58: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 58

Now we are ready to test the LDAP and External Table authentication.

Goto the URL: http://localhost:9704/analytics and login as adminstrator

user “weblogic”

Select “New” -> “Analysis” -> “Sample Sales” in the “Home” section.

Page 59: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 59

Page 60: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 60

Page 61: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 61

Page 62: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 62

Select two columns from the “Subject Areas” section as show below: i.e “Per

Name Year” and “Revenue” columns.

Page 63: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 63

Click on the “Save Analysis” icon and browse to “Shared Folders” -> “11g

Shared” (if not there you can create one”

Enter “Revenue Sales” for the “Name” Field and click the “OK” button.

Page 64: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 64

Now goto the “Catalog” tab and select “More” -> “Permissions” for the

“Revenue Sales” .

Page 65: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 65

On the “Permission” window select the “BI Consumer Role” and click the

” X ” icon to delete that permission.

Click on the ” + ” icon to add a new permission.

On the “Add Application Roles, Catalog Groups and Users” window select

“Catalog Groups” for the “List” field and click the “Search” button.

Select the “SalesRep” on the left side and click the blue ” > ” icon to move

it to “Selected Members” on the right side as show below:

Click the “OK” button.

Page 66: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 66

Page 67: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 67

Page 68: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 68

Now “Sign Out” as the “weblogic” user and login giving “User ID” and

“Password” as “USER1” and “USER1” respectively.

Click the “Catalog” tab browse to “Shared Folders” -> “11GSHARED”

folder.

On the Right click “Open” on the “Revenue Sales”.

Page 69: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 69

Page 70: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 70

Page 71: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 71

Page 72: Database users authentication obiee 11 g

PREPARED BY RAVI KUMAR LANKE Page 72