COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: balucog on 19 Jan 2012 11:41:18 AM

Title: Custom Java Authentication Provider
Post by: balucog on 19 Jan 2012 11:41:18 AM
Hi all,

I appreciate any kind of help on this topic from any body.I have to implement security in cognos through Custom Java Provider name Space.

I followed following steps.

Created a name space called PReports under Security>Authentication in Cognos Configuration with type as Custom Java Provider.
I gave a namespaceID same as name space name.
For Java class name I used the name as JDBCPReports.

Then I copied the given jar ( CAM_AAA_JDBCPReports.jar) file to <Cognos Install Location>\webapps\p2pd\web-inf\lib folder.
I copied another proeprties file ( JDBC_Config_PReports.properties) into <Cognos Install Location>\Configuration location.
I modified the properties file and entered the DB host name, DB name and port number.

Saved config and started the service. ( Still the anonymous access is enabled on Cognos name space )

I opened the portal and launched cognso administration console.
When I click on Security, I am seeing Cognos and the newly created PReports name spaces there.
But the link on PReports name space is not enables. Which means I am not able to click on that. Instead of appearing as a link, that namespace is apperaing as a simple text.

When I click on logon and tried to login as a user in that namespace, the portal is not doing anything, but simply giving message as invalid userid and password.

None of the people that I know were worked on security using Custom Authentication. It si very critical form to fix it asap.

Any help is appreciated.

Thanks,
Balan


Title: Re: Custom Java Authentication Provider
Post by: vrishal on 27 Apr 2012 07:46:49 PM
Balu,
    Where did you get the CAM_AAA_JDBCPReports.jar file? Did you write your own code to validate a username and password against your authentication environment?

If you are using the sample code from IBM, you will have to modify it to work with your authentication environment.
Title: Re: Custom Java Authentication Provider
Post by: Romeo on 31 Mar 2015 05:15:47 AM
Hello,

You might find this post usefull:

https://www.ibm.com/developerworks/community/blogs/ibm-bi-capabilities/entry/setting_up_ibm_cognos_bi_security_using_java_based_custom_authentication_provider?lang=en

Cheers!