Sunteți pe pagina 1din 10

OBIEE 11g: Authentication first with LDAP then with External Database ... https://rav.tech.blog/2016/12/27/obiee-11g-authentication-first-with-ldap-...

HereIamgoingtodemonstratewhereonsetofuserspresentintheLDAPserveraswellasanotherset
ofusersandpasswordspresentinanExternalOracleDatabaseTable(hereSECURITYTABLE)can
loginintothehttp://localhost:9704/analytics(http://localhost:9704/analytics),theOracleAnalytics.

1.Createansqlfiletocreatetheoracledatabasetableforexternalauthenticationasshownbelow:
2.Youcancopythebelowtextandsaveitintoafilename:sectab.sqlCREATETABLE
SECURITYTABLE
(IDNUMBER,
GRPVARCHAR2(20),
PWDVARCHAR2(20),
SALESREPVARCHAR2(20),
USERNAMEVARCHAR2(20)
);InsertintoSECURITYTABLE
(ID,GRP,PWD,SALESREP,USERNAME)values(1,SalesAdmin,az,ALANZIFF,AZIFF);
InsertintoSECURITYTABLE
(ID,GRP,PWD,SALESREP,USERNAME)values(2,SalesAdmin,at,ANDREW
TAYLOR,ATAYLOR);
InsertintoSECURITYTABLE
(ID,GRP,PWD,SALESREP,USERNAME)values(3,SalesRep,aj,ANNJOHNSON,AJOHNSON);
InsertintoSECURITYTABLE
(ID,GRP,PWD,SALESREP,USERNAME)values(4,SalesRep,bj,ANNE
WILLIAMS,AWILLIAMS);
InsertintoSECURITYTABLE
(ID,GRP,PWD,SALESREP,USERNAME)values(5,SalesRep,bn,BETTYNEWER,BNEWER);
InsertintoSECURITYTABLE
(ID,GRP,PWD,SALESREP,USERNAME)values(6,SalesRep,cd,CHRISDREW,CDREW);
InsertintoSECURITYTABLE
(ID,GRP,PWD,SALESREP,USERNAME)values(7,SalesRep,cm,CHRISMUIR,CMUIR);
InsertintoSECURITYTABLE
(ID,GRP,PWD,SALESREP,USERNAME)values(8,SalesRep,da,DALEAREND,DAREND);
InsertintoSECURITYTABLE
(ID,GRP,PWD,SALESREP,USERNAME)values(9,SalesRep,df,DALE
FAIRWEATHER,DFAIRWEATHER);

1 of 10 8/29/2017 2:35 PM
OBIEE 11g: Authentication first with LDAP then with External Database ... https://rav.tech.blog/2016/12/27/obiee-11g-authentication-first-with-ldap-...

InsertintoSECURITYTABLE
(ID,GRP,PWD,SALESREP,USERNAME)values(10,SalesRep,ds,DICKSCHMIDT,DSCHMIDT);

3.Executethesectab.sqlfileincommandprompttocreateandpopulatetheSECURITYTABLEasshow

below:
(https://obiee2go.files.wordpress.com/2012/07/cfgacdah.png)
4.OpentheOracleBIAdministrationToolandOpenOinethefilee.g:
C:OracleFMWinstancesinstance1bifoundationOracleBIServerComponentcoreapplication_obis1reposit
orySampleAppLite.rpd
(https://obiee2go.files.wordpress.com/2012/07/eafjhajh.png)
5.RightclicktheORCLconnectioninthePhysicallayerpaneandselectNewObject>
ConnectionPool
6.EnterSECURITYfortheName:field.
7.SelectODBC3.5fortheCallinterface:
8.SelectORCLfortheDatasourcename:
9.EnterBISAMPLE,BISAMPLEfortheUsername:andPassword:fieldsrespectively.
10.ThenclicktheOKbutton.
11.EnterBISAMPLEintheConfirmPasswordwindowandclicktheOKbutton.
(https://obiee2go.files.wordpress.com/2012/07/jaidgacd.png)
12.RightClicktheSECURITYconnectionpoolinthePhysicallayerpaneandselectImport
Metadata

2 of 10 8/29/2017 2:35 PM
OBIEE 11g: Authentication first with LDAP then with External Database ... https://rav.tech.blog/2016/12/27/obiee-11g-authentication-first-with-ldap-...

(https://obiee2go.files.wordpress.com/2012/07/bhaidi.png)
13.SelecttheORCLentryandentertheBISAMPLEforboththeUserName:andPassword:fields,
thenclicktheNextbutton.
(https://obiee2go.files.wordpress.com/2012/07/feggfgdi.png)
14.ClickNextbuttonwithbelowcheckboxesselectasshowinscreenshot.

(https://obiee2go.files.wordpress.com/2012/07/cchdhjja.png)
15.SelecttheSECURITYTABLEandclickonthesingle>buttontoupdatetheRepositoryView:as
shownbelow,thenclickFinishbutton.

(https://obiee2go.files.wordpress.com/2012/07/gbiecjhc.png)
16.NowyoushouldbeabletoseeSECURITYTABLEinthePhysicallayerpaneasshownbelow:

3 of 10 8/29/2017 2:35 PM
OBIEE 11g: Authentication first with LDAP then with External Database ... https://rav.tech.blog/2016/12/27/obiee-11g-authentication-first-with-ldap-...

(https://obiee2go.files.wordpress.com/2012/07/dgbhgedf.png)
17.RightClickontheSECURITYTABLEandselectViewData.
18.OntheSelectConnectionPoolyouwanttousefordatabaseORCLwindow,selectSECURITY
thenclickonSelectbutton.
(https://obiee2go.files.wordpress.com/2012/07/fgfibbic.png)
19.Youshouldnowabletoviewthedatatableshowbelow:

4 of 10 8/29/2017 2:35 PM
OBIEE 11g: Authentication first with LDAP then with External Database ... https://rav.tech.blog/2016/12/27/obiee-11g-authentication-first-with-ldap-...

20.ClickontheClosebutton.
(https://obiee2go.files.wordpress.com/2012/07/checfhbj.png)
21.OntheAdministrationToolMenuselectManage>Variables
22.IntheVariableManagerwindow,rightclickontherightpaneandselectNewInitialization
Block
(https://obiee2go.files.wordpress.com/2012/07/bcdccjhh.png)
23.OntheSessionVariableInitializationBlockwindowclicktheEditDataSourcebutton.
24.IntheSessionVariableInitializationBlockDataSourcewindowselectDatabasefortheData
SourceType:field
25.SelecttheDefaultinitializationstringbuttonandenterthebelowSQL:

SELECTGRP,SALESREP,USERNAME,2FROMSECURITYTABLEWHEREUSERNAME=':USER'AN

26.ClicktheBrowsebuttonandintheSelectConnectionPoolwindowselectSECURITYthe
clicktheSelectbuttonasshowbelow:

(https://obiee2go.files.wordpress.com/2012/07/ijgicefe.png)
27.ThenclickOKbuttontoclosetheSessionVariableInitializationBlockDataSourcewindow.
28.IntheVariableTargetsectionclickontheEditDataTarget
29.IntheSessionVariableInitializationBlockVariableTargetwindowclickonNewbutton.
30.IntheSessionVariablewindowenterGROUPforName:fieldandclickontheOKbutton
31.ClickYesontheWarningpopupwindow.

5 of 10 8/29/2017 2:35 PM
OBIEE 11g: Authentication first with LDAP then with External Database ... https://rav.tech.blog/2016/12/27/obiee-11g-authentication-first-with-ldap-...

(https://obiee2go.files.wordpress.com/2012/07/jdgjci.png)
32.Similarlycreateall4SessionVariables:GROUP,DISPLAYNAME,USERandLOGLEVELasshow
below.
33.ClickontheOKbuttontoclosethewindow. (https://obiee2go.files.wordpress.com/2012/07
/iigjhjac.png)
34.FinallyontheSessionVariableInitializationBlockwindowenterSecurityfortheName:field.
35.MakesureRequiredforauthenticationcheckboxisNOTSelected.
36.VerifyentriesasinbelowscreenshotandClickOKbutton. (https://obiee2go.files.wordpress.com
/2012/07/hidaiadg.png)
37.OntheVariableManagerselectAction>Close.
38.OntheAdministrationToolwindowmenuselectSave.
39.SelectYestotheDoyouwishtocheckglobalconsistency?andmakesurenoWarningsorErrors
areshown.
40.NowgototheURL:http://locahost:7001/em(http://locahost:7001/em)andloginwiththeadminuser
weblogic.
41.GotoAdministrationonthetopmenuandunderSecuritysectionselectManageCatalog
Groups
42.Clickthe+iconwithCreateanewcataloggrouptooltip.

(https://obiee2go.files.wordpress.com/2012/07/jjhcahfj.png)
43.OntheAddGroupwindowenterSalesAdminfortheCatalogGroupName*andclickonthe
OKbutton.
44.Createanothercataloggroupwiththesameprocedureabove:SalesRep.

6 of 10 8/29/2017 2:35 PM
OBIEE 11g: Authentication first with LDAP then with External Database ... https://rav.tech.blog/2016/12/27/obiee-11g-authentication-first-with-ldap-...

(https://obiee2go.files.wordpress.com/2012/07/hfcecdid.png)
45.NowgototheURL:http://localhost:7001/em(http://localhost:7001/em)todeploythelatest
SampleAppLite.rpdthatwemodifiedabove.
46.GototheFarm_bifoundation_domain>BusinessIntelligence>coreapplicationontheleft
pane.
47.OntherightpaneselectDeployment>Repositorytabs.
48.TheclickontheLockandEditConfigurationlinkabovetheDeploymenttab.
49.ClicktheClosebuttononcethepopupwindowappears.
50.SelecttheBrowsebuttonandgotothelocationoftheSampleAppLite.rpdfileandclickon
Open.
51.EntertheRepositoryPasswordandConfirmPasswordentriesasAdmin123.
52.ThenclicktheApplybuttononthetopright.
53.ThenclickontheActivateChangeslink.
54.ClickClosebuttononeActivateChangesCompletedSuccessfullyshowup.
55.ThenclickontheRestarttoapplyrecentchangeslink.
56.AftertheOverviewscreenshowupclickontheblueRestartbutton.
57.ClicktheYesbuttonwhenAreyousureyouwanttorestartallBIcomponents?showsup
58.ClickontheClosebuttononetheRestartedSuccessfullyshowsup.
59.NowwearereadytotesttheLDAPandExternalTableauthentication.
60.GototheURL:http://localhost:9704/analytics(http://localhost:9704/analytics)andloginas
adminstratoruserweblogic
61.SelectNew>Analysis>SampleSalesintheHomesection.

7 of 10 8/29/2017 2:35 PM
OBIEE 11g: Authentication first with LDAP then with External Database ... https://rav.tech.blog/2016/12/27/obiee-11g-authentication-first-with-ldap-...

62.SelecttwocolumnsfromtheSubjectAreassectionasshowbelow:i.ePerNameYearand
Revenuecolumns.
(https://obiee2go.files.wordpress.com/2012/07/agcbicij.png)
63.ClickontheSaveAnalysisiconandbrowsetoSharedFolders>11gShared(ifnotthereyou
cancreateone
64.EnterRevenueSalesfortheNameFieldandclicktheOKbutton.
65.NowgototheCatalogtabandselectMore>PermissionsfortheRevenueSales.
66.OnthePermissionwindowselecttheBIConsumerRoleandclicktheXicontodeletethat
permission.
67.Clickonthe+icontoaddanewpermission.
68.OntheAddApplicationRoles,CatalogGroupsandUserswindowselectCatalogGroupsforthe
ListfieldandclicktheSearchbutton.
69.SelecttheSalesRepontheleftsideandclicktheblue>icontomoveittoSelectedMemberson
therightsideasshowbelow:
70.ClicktheOKbutton.
(https://obiee2go.files.wordpress.com/2012/07/edijcgif.png)
71.VerifythebelowentriesareasshownbelowandclickOKbuttononthePermissionwindow.

(https://obiee2go.files.wordpress.com/2012/07/bcdidjed.png)
72.NowSignOutastheweblogicuserandlogingivingUserIDandPasswordasAJOHNSON
andajrespectively.
73.ClicktheCatalogtabbrowsetoSharedFolders>11gSharedfolder.
74.OntheRightclickOpenontheRevenueSales.

8 of 10 8/29/2017 2:35 PM
OBIEE 11g: Authentication first with LDAP then with External Database ... https://rav.tech.blog/2016/12/27/obiee-11g-authentication-first-with-ldap-...

(https://obiee2go.files.wordpress.com/2012/07/cfhibhci.png)
75.YouabletoseethissinceAJOHNSONuserisundertheSalesRepGroup.
76.NowtryauserundertheSalesAdminGroupandseeifyoucanopenthesameRevenueSales
77.NowSignOutasAJOHNSONandloginasATAYLORandpasswordasat.
78.ClicktheCatalogtabbrowsetoSharedFolders>11gSharedfolder.
79.HeresinceyournotintheBIAdministratorRoleorSalesRepgroup,theRevenueSalesreport
itselfisinvisibletoyou.

Note:
InordertooverridetheLDAPauthenticationanduseonlyExternalDatabaseTableauthentication,check
thebelowcheckboxinoneoftheprevioussteps.

(https://obiee2go.files.wordpress.com/2012/07/jbcagehc.png)

Summary:
Youwouldhaveobservedwewereabletologinwithboththeadministratoruserweblogicwhomisa
partoftheLDAPsystemandAJOHNSONwhomexistsintheexternalSECURITYTABLEoracle
databasetable.
Playingaroundwiththeauthenticationsectionontheweblogicsconsoleyoucanconfigureavarietyof
authenticationcombinations.

Uncategorized(https://rav.tech.blog/category/uncategorized/)

9 of 10 8/29/2017 2:35 PM
OBIEE 11g: Authentication first with LDAP then with External Database ... https://rav.tech.blog/2016/12/27/obiee-11g-authentication-first-with-ldap-...

valathuru
December27,2016

CreateafreewebsiteorblogatWordPress.com.

10 of 10 8/29/2017 2:35 PM

S-ar putea să vă placă și