Thursday, March 5, 2009

OBIEE Custom Authenticators

Within OBIEE you can build your own custom authenticators. In the directory {OracleBI}\server\SDK\CustomAuthenticatorSamples\ you can find a sample. But if you are just like me not up to speed C++ it takes some effort to get it working.

Step 1: get a C++ compiler. (I used the Microsoft Express edition)

Step 2: Locate the SampleDynFileAuth.vcproj file open in a text editor and remove all references to InheritedPropertySheets.

Step 3: Open the solution, check for errors.

Step 4: Compile the DLL

Step 5: Create a passord .txt file with the following structure:

name passwordhash "Groups" "atributes" "atributes"jim mij "Admin" "full name=Jim Smith" "title=Manager"
jim2 mij "Admin|qa" "full name=Jim Smith" "title=Manager"

(passwordhash is the password in reverse)

Step 6: Create a Custom Authenticator in your offline RPD:

image

Step 7: Add the User and Group variable to a init block

image

Step 8: reboot the bi-server and start testing!

Till Next Time

4 comments:

Anonymous said...

Does this actually work? I tried this but I get the following error Message:

[nQSError: 13011] Query for Initialization Block 'Authenticate' has failed.

[nQSError: 13019] There is error 'This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.' during loading custom authentication module 'C:\OracleBI\server\SDK\CustomAuthenticatorSamples\SampleFileAuthenticator\SampleDynFileAuth.dll'.

Please let me know if you have come across this

John Minkjan said...

@Anonymous,

It worked fine with me, did you remove the stuff at step 2?

regards

John

Anonymous said...

It worked in 10g. How to make this work with OBIEE 11g on WLS?

John Minkjan said...

@Anonymous,

I hav no idea, 11g has a completly different authentication architecture. And why would you the FMW engine has great authentication possibilities.

regards