Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8145887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:48:20+00:00 2026-06-06T13:48:20+00:00

Edit: Appended or LDAP to question title to indicate that I would be fine

  • 0

Edit: 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.

My Question: How do I authenticate a BusinessObjects session using credentials with Active Directory?

Example: I have (I think) an example from SAP on how to do this in .NET but I can’t seem to find a similar solution for Java. (See this pdf and search for “Modify the .NET Web Application to enable Kerberos”).

Currently: I have a solution to authenticate using an Enterprise Account:

/**
* 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
  ...
}

The code above works great.

Now: 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 that same pdf searching for “Logging in to a server.”

Note: 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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:48:23+00:00Added an answer on June 6, 2026 at 1:48 pm

    The answer assumes you have set up the Active Directory and/or LDAP authentication for users and the user(s) have an alias to that authentication method. This should be verifiable by logins into InfoView.

    You should be able to do it by using credential.setAuthType(authType).
    Where authType is

    • “secEnterprise” default value
    • “secLDAP”
    • “secWinAD”

    Seems and makes sense that by default the AuthType is set to secEnterprise.

    Note: I’m still on R3 which has a slightly different authentication mechanism and I have not specifically tried this solution.


    Important Edit: The documentation (which is awful for BusinessObjects and anyone reading this probably already knows that) says that for active directory you use “secAD”. However, in my testing I was able to successfully authenticate using “secWinAD” which does not appear anywhere in their documentation at all :-/ (that I could find).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

EDIT: See my answer below--> I am wanting to have a view that when
Edit (updated question) I have a simple C program: // it is not important
I would like to edit a plist from Xcode which I will use to
I have an input field that is appended to the HTML in a div.
We have large files with zlib-compressed binary data that we would like to memory
Is it possible to append something to a div that was already appended? I
I have a rwrite rule which is like this: RewriteRule ^30/edit-print-ready-vinyl-banners.html edit_print_ready_form.php?id=30 Now I
I would like to be able to have a version number appended to a
EDIT 07/14 As Bill Burgess mentionned in a comment of his answer, this question
EDIT: I was an idiot. I simply had an image that was vertically long,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.