Focal Point
[CLOSED] Oracle connector proxy user

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3067073196

June 20, 2019, 08:28 AM
Gil
[CLOSED] Oracle connector proxy user
Does anyone know if there's a way to pass in proxy user to the Oracle connection string when using the oracle connector?
Thanks,
Gil

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8105M
June 20, 2019, 09:24 AM
BabakNYC
Are you really using WebFOCUS 7.6?

I found this solution in IB Tech Support for Oracle proxy connection. I don't have access to Oracle so I couldn't test it but it looks like it's possible.

  
To configure an Oracle adapter connection using an authenticated user based on
the &FOCSECUSER ID via an Oracle proxy user, create an Oracle adapter
connection using Explicit security for the Oracle proxy user. Then add the
following to the edasprof.prf file or other profile files:
  -SET &DBMS_USERID = GETTOK(&FOCSECUSER,70,2,'\',64,'A64');
  -IF &DBMS_USERID EQ '' GOTO NOPROV;
  -SET &CONCT_STRING  =  'ENGINE SQLORA SET CONNECTION_ATTRIBUTES ORAXE
   XE/ORA1USER' |  '[' || &DBMS_USERID || ']' || ',CD25FFDBB91B6790';
  -GOTO DONE;
  -NOPROV
  -SET &CONCT_STRING  =  'ENGINE SQLORA SET CONNECTION_ATTRIBUTES ORAXE
  XE/ORA1USER' |  '[' || &FOCSECUSER || ']' || ',CD25FFDBB91B6790';
  -DONE
  -*TYPE &CONCT_STRING
  &CONCT_STRING

Use the same adapter connection name that was created for the Oracle proxy user
previously, so it overwrites the previously created connection. For example,
"ORAXE" replace the password hash CD25FFDBB91B6790 with the hash used in the
previously created adapter connection.

In this example, ORA1USER is the Oracle proxy user and any prefix to
&FOCSECUSER will be stripped before it is sent to Oracle.



WebFOCUS 8206, Unix, Windows
June 20, 2019, 09:39 AM
Gil
We're on WebFOCUS 8105M . I just updated my profile. Interesting... I don't have access to the profiles so I'll pass this along to our admin to test.


WebFOCUS 8105M
June 20, 2019, 10:07 AM
BabakNYC
So basically it's letting you concatenate UID with [proxyid] for the connection.

Let us know the outcome here so we know too.


WebFOCUS 8206, Unix, Windows
June 21, 2019, 08:25 AM
jgelona
We've always used a proxy id for WebFOCUS, even back in the FOCUS for HPUX days.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.