Repository navigation
Expand file tree
/
Copy pathActas.cpp
More file actions
71 lines (71 loc) · 2.48 KB
/
Copy pathActas.cpp
File metadata and controls
71 lines (71 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
@ TABLE OBEE11G_PROXY_ACTAS
@ (
@ PROXY_USER_ID VARCHAR2(30 BYTE) NOT NULL ,
@ PROXY_TARGET_ID VARCHAR2(30 BYTE) NOT NULL ,
@ PROXY_LEVEL VARCHAR2(10 BYTE) NOT NULL ,
@ CONSTRAINT OBEE11G_PROXY_ACTAS_PK PRIMARY KEY ( PROXY_USER_ID ,
@ PROXY_TARGET_ID )
@ ENABLE
@ );
@ .
@ Create session variable PROXY and link this to PROXY_BLOCK initialization
@ block and use below sql in edit source
@ .
@ SELECT PROXY_TARGET_ID
@ FROM OBEE11G_PROXY_ACTAS
@ WHERE UPPER(PROXY_USER_ID) = UPPER(':USER')
@ AND UPPER(PROXY_TARGET_ID) = UPPER('VALUEOF(NQ_SESSION.RUNAS)')
@ .
@ Create session variables PROXYLEVEL and link this to PROXYLEVEL_BLOCK
@ and use sql
@ .
@ .
@ SELECT PROXY_LEVEL
@ FROM OBEE11G_PROXY_ACTAS
@ WHERE UPPER(PROXY_TARGET_ID) = UPPER('VALUEOF(NQ_SESSION.RUNAS)')
@ AND UPPER(PROXY_USER_ID) = UPPER('VALUEOF(NQ_SESSION.RUNASORIGUSER)')
@ .
@ .
@ Create LogonParamSQLTemplate.xml @
@ BI_DIR\Oracle_BI1\bifoundation\web\msgdb\customMessages\
@ .
@ .
@ <?xml version="1.0" encoding="utf-8" ?>
@ <WebMessageTables xmlns:sawm="com.siebel.analytics.web.messageSystem">
@ <WebMessageTable system="SecurityTemplates" table="Messages">
@ <WebMessage name="LogonParamSQLTemplate">
@ <XML>
@ <logonParam name="RUNAS">
@ <!-- for EXECUTE PHYSICAL CONNECTION POOL, SQL_Paint.SQL_Paint = -->
@ <!-- SAS Repository physical_dbname.conn_pool_name -->
@ <getValues>EXECUTE PHYSICAL CONNECTION POOL
@ "DataSourceName"."ConnectionPoolName"
@ select PROXY_TARGET_ID from OBEE11G_PROXY_ACTAS where
@ PROXY_USER_ID='@{USERID}'
@ </getValues>
@ <verifyValue> EXECUTE PHYSICAL CONNECTION POOL
@ "DataSourceName"."ConnectionPoolName"
@ select PROXY_TARGET_ID from OBEE11G_PROXY_ACTAS where
@ PROXY_USER_ID='@{USERID}' and PROXY_TARGET_ID='@{VALUE}'
@ </verifyValue>
@ <getDelegateUsers>EXECUTE PHYSICAL CONNECTION POOL
@ "DataSourceName"."ConnectionPoolName"
@ select PROXY_USER_ID, PROXY_LEVEL from OBEE11G_PROXY_ACTAS
@ where PROXY_TARGET_ID='@{USERID}'
@ </getDelegateUsers>
@ </logonParam>
@ </XML>
@ </WebMessage>
@ </WebMessageTable>
@ </WebMessageTables>
@ .
@ .
@ //Update instanceconfig.xml file placed in
@ instances\instances\config\OraclePresentationServicesComponenet\........
@ .
@ other things r same.
@ .
@ //To restrict subject area visiblity use user name in rpd Presentation layer
@ No access option
@ .
@ .