Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to log into Business Objects using Active Directory or LDAP
    primarykey
    data
    text
    <p><strong>Edit:</strong> Appended "or LDAP" to question title to indicate that I would be fine to have a solution which made it possible for me to authenticate with LDAP credentials.</p> <p><strong>My Question:</strong> How do I authenticate a <a href="http://help.sap.com/javadocs/boe/xi/ws/en/com/businessobjects/dsws/session/Session.html" rel="nofollow">BusinessObjects session</a> using credentials with Active Directory?</p> <p><strong>Example:</strong> I have (I think) an example from SAP on how to do this in <code>.NET</code> but I can't seem to find a similar solution for <code>Java</code>. (See <a href="http://devlibrary.businessobjects.com/businessobjectsxir2sp2/en/en/WS_SDK/wssdk_consumer/doc/wssdk_dg.pdf" rel="nofollow">this pdf</a> and search for "Modify the .NET Web Application to enable Kerberos").</p> <p><strong>Currently:</strong> I have a solution to authenticate using an Enterprise Account:</p> <pre><code>/** * Logs into BusinessObjects. Sets the reportEngine and biPlatform */ public void loginToBusinessObjects() throws AxisFault, MalformedURLException, Exception { LogHelper.println("Server connection: " + boServer); URL boConURL = new URL(boServer);//set connection URL connection = new com.businessobjects.dsws.Connection(boConURL); boSession = new Session(connection); //setup new session EnterpriseCredential credential = EnterpriseCredential.Factory.newInstance(); credential.setLogin(boUsername); credential.setPassword(boPassword); LogHelper.println(boUsername + ": ##password##"); boSession.login(credential); //login to server ... } </code></pre> <p>The code above works great.</p> <p><strong>Now:</strong> I want to be able allow users to give their Active Directory credentials and authenticate using those. I can't seem to find a way to do this however. Documentation on the code above can be found in <a href="http://devlibrary.businessobjects.com/businessobjectsxir2sp2/en/en/WS_SDK/wssdk_consumer/doc/wssdk_dg.pdf" rel="nofollow">that same pdf</a> searching for "Logging in to a server."</p> <p><strong>Note</strong>: I could be going about this all wrong. My organization uses the same credentials for Active Directory and LDAP Authentication. If there's a way to do this using LDAP that may be sufficient. Thanks.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload