Documente Academic
Documente Profesional
Documente Cultură
Page 1
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 2
Page 3
Page 4
Page 5
Page 6
Page 7
Page 8
Page 9
Page 10
Page 11
Page 12
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 13
Page 14
Page 15
Right Click the SECURITY connection pool in the Physical layer pane and select Import Metadata
Page 16
Page 17
Page 18
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 19
Page 20
Page 21
Page 22
Page 23
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 24
Then click OK button to close the Session Variable Initialization Block Data Source window.
Page 25
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 26
Page 27
Page 28
Similarly create all 4 Session Variables: GROUP, DISPLAYNAME, USER and LOGLEVEL as show below. Click on the OK button to close the window.
Page 29
Page 30
Page 31
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 32
Page 33
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 34
Page 35
Page 36
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 37
Page 38
Page 39
Page 40
Page 41
Page 42
Page 43
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 entr ies 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 44
Page 45
Page 46
Page 47
Page 48
Page 49
Page 50
Page 51
Page 52
Page 53
Page 54
Page 55
Page 56
Page 57
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 58
Page 59
Page 60
Page 61
Select two columns from the Subject Areas section as show below: i.e Per Name Year and Revenue columns.
Page 62
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 63
Now goto the Catalog tab and select More -> Permissions for the Revenue Sales .
Page 64
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 65
Page 66
Page 67
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 68
Page 69
Page 70
Page 71
Page 72