[英]How do I connect to IBM Cognos BI in java using Login/Password?
I have a custom LDAP server setup that is connected with TM1 Cognos BI. 我有一个与TM1 Cognos BI连接的自定义LDAP服务器设置。 I can login using joe/pass fine on cognos bi website. 我可以在cognos bi网站上使用joe / pass fine登录。 How do i create a connection with cognos bi using java? 如何使用Java与cognos bi建立连接? Thank you! 谢谢!
The best way to learn how to use the Cognos SDK is to study the samples. 学习如何使用Cognos SDK的最好方法是研究样本。 If you have Cognos 11.0/11.1, the sdk is pre-installed. 如果您具有Cognos 11.0 / 11.1,则预安装了sdk。 For previous versions, you have to install separately. 对于以前的版本,您必须单独安装。 For Cognos 11+, you should study 对于Cognos 11+,您应该学习
installation_location/sdk/java/Security/Logon.java installation_location / sdk / java / Security / Logon.java
You'll see that you need to create a credentials document in xml that has your username/password info, and pass that to the SDK. 您将看到需要在xml中创建一个包含用户名/密码信息的凭证文档,并将其传递给SDK。
You can consult the SDK documentation for reference, but the best thing are the samples. 您可以参考SDK文档以获取参考,但是最好的是示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.