简体   繁体   English

如何使用登录名/密码连接到Java中的IBM Cognos BI?

[英]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.

相关问题 使用定制身份验证提供程序登录IBM Cognos SDK - IBM Cognos SDK login with custom authentication provider 如何使用Java连接到远程桌面上的MS SQL Server(需要用户登录名和密码)? - How to connect to ms sql server on remote desktop( requires user login and password ) using java? 如何使用Java代码连接IBM Websphere MQ v 7.0 - How to connect IBM websphere MQ v 7.0 using java code 如何将SQL Server与IBM JDK 8连接? - How do I connect SQL Server with IBM JDK 8? 如何使用Jackcess在Java中检查电子邮件地址和密码? - How do I check email address and password in Java using Jackcess? 我如何创建一个允许输入通用密码的登录屏幕,但在 3 个三分之后程序必须关闭(Java) - how do i create a login screen that allows for a common password to be entered but after the 3 threes the program must close (Java ) 如何使用 4.4 版中的 MongoDB Java 驱动程序连接到使用 SSL 和密码验证的副本集? - How do you use the MongoDB Java Driver in version 4.4 to connect to a replica set using SSL and password authentication? 在IBM MQ(Java)中,如何最好使用PCF如何访问给定队列管理器下的所有队列? - In IBM MQ (Java) how do I access all the queues under a given Queue Manager preferably using PCF? 如何使用带有默认java Build Pack的Tomcat服务器在Ibm Bluemix中强制执行Https连接? - How do I enforce Https Connection in Ibm Bluemix using Tomcat Server with Default java Build Pack? 如何使用文件流在Java中创建登录表单? - How do I create a login form in Java using file stream?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM