Skip to Content
author's profile photo Former Member
Former Member

Passing key from Application to BO

Hi Experts,

I am trying to figure out the process to implement single sign on from a custom based Java application by passing userid and Trusted Key used on the third party application to BO (infoview). What steps do I need to perform to implement this? I have enabled Trusted Authentication and downloaded the key. Your response will be highly appreciated.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 08, 2015 at 07:49 PM

    To enable Trusted Authentication, you must configure both the server and the client.

    To configure the server to use Trusted Authentication

    1. Log on to the Central Management Console with administrative rights.

    2. Go to the Authentication management area of the CMC.

    3. Click the Enterprise tab.

    4. Enable Trusted Authentication.

    5. Create a shared secret for your users. Note: The shared secret is used by the client and the CMS to create a Trusted Authentication password. This password is used to establish trust.

    6.Enter a timeout value for your Trusted Authentication requests.

    To configure the client to use Trusted Authentication

    On the client machine, create a text file named TrustedPrincipal.conf.

    The following conditions apply for the file:

    The file must contain SharedSecret=secretPassword, where secretPassword is the Trusted Authentication shared secret that is configured on the server.

    The file must be stored in one of the following locations:

    C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86

    The directory specified in the bobj.trustedauth.home Java system property, which can be set at runtime:

    System.setProperty("bobj.trustedauth.home", "C:\\myNewDir")

    2. Use the session manager to create a trusted principal and log on to the CMS:

    ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();

    ITrustedPrincipal trustedPrincipal = sessionMgr.createTrustedPrincipal("userName", "cmsName");

    IEnterpriseSession enterpriseSession = sessionMgr.logon(trustedPrincipal);

    Once you have a session, generate a serialized session or logontoken and bypass the Infoview logon using the ivsLokenToken parameter, something like below

    http:// : /InfoViewApp/logon/ start.do?ivsLogonToken=;logon token>


    Thanks,

    Prithvi

    Add a comment
    10|10000 characters needed characters exceeded

    • You can find the list of jars from the below document. It is the developers guide for BusinessObjects SDKs.

      http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_bip_java_dg_en.zip

      Refer to the section 'JAR files needed for deployment of SAP BusinessObjects software'

      You would require the 'SAP BusinessObjects Business Intelligence platform Java SDK ' jars

      You would need to send the copy of jars to your application team.

      As your application is on different physical machine, copy the TrsutedPrincipal.conf file from your BO server and place it at any location on your application server machine.

      Then your java team needs to set the below system property in thier code

      System.setProperty("bobj.trustedauth.home", "C:\\myNewDir")


      Above we have considered that the TrustedPrincipal.conf file is place under C:\\myNewDir folder on the application server machine.



      Try to use the below code and try to login first to confirm the configurations are correct


      ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();

      ITrustedPrincipal trustedPrincipal = sessionMgr.createTrustedPrincipal("userName", "cmsName");

      IEnterpriseSession enterpriseSession = sessionMgr.logon(trustedPrincipal);

      Share the developer guide link with your java application team. If you want to utilize the SDK features, they need to get familiar with the sdks.

      Thanks,

      Prithvi

      jars.png (31.9 kB)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.