马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622 。
您需要 登录 才可以下载或查看,没有帐号?注册
x
关于门户与Cognos的集成问题,早已有解决方案,而且在平台应用中相当完善,看到好多朋友也在探索,提供一些思路及原码供大家学习:
本节主要提供登录的解决:
思路:
1、门户登录主要通过本系统用户认证
2、将本系统用户配置到Cognos中作为第三方权限认证
3、门户登录的同时,到Cognos中进行自动认证登录
要点:
1、在Cognos中配置第三方认证(待续)
2. 认证包(待续)
3、Cognos的自动登录(待续)
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
<install>/webapps/p2pd/WEB-INF/lib.
4) Add the
MS SQL server jarfiles (msbase.jar, mssqlserver.jar,
and msutil.jar) to your classpath or copy the files to
<install>/webapps/p2pd/WEB-INF/lib.
5) Copy the JDBC configuration file to the <install>/configuration
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
authentication source.
|