Running the Cognos 8 SDK custom authentication JDBC provider Sample
--------------------------------------------------------------------
To configure and run the sample provided, please follow these steps:
1) Add the Java SDK to your path.
2) Build the sample using the command build.bat on Windows or
build.sh on Unix.
3) Add the jar file to your Cognos 8 classpath or copy the jar to
4) Add the
MS SQL server jarfiles (msbase.jar, mssqlserver.jar,
and msutil.jar) to your classpath or copy the files to
5) Copy the JDBC configuration file to the
directory. Ensure that the name contains the namespaceID to be
recognized (namespaceID is case sensitive).
Ex:
namespaceID = Sample1
JDBC configurations file = JDBC_Config_Sample1.properties
6) Modify the content of the configuration file to point to your
MSSQL database.
7) In Cognos configuration, configure the Custom Java namespace
using the configuration tool, (the class name and NamespaceID
are case sensitive):
Type:
Custom Java provider
Namespace ID:
Sample1
Java class name:
JDBCSample
8) Apply changes and restart Cognos 8
The new authentication namespace should now appear in Cognos 8 for
logon and security administration tasks within Cognos 8.
NOTE: Should Cognos 8 fail to start up once the new namespace
is configured, please verify your configuration. Cognos 8 will
not start up if it cannot successfully communicate to the