Cognos Analytics

 View Only

How to use cognos sdk, Spring Security and LDAP to implement SSO

  • 1.  How to use cognos sdk, Spring Security and LDAP to implement SSO

    Posted Thu April 15, 2021 11:34 AM
    Currently we are using the Cognos SDK sample - installation_location/sdk/java/Security/Logon.java to logon to cognos upon every request (not SSO I mean).
    We have requirement to implement SSO using LDAP and Spring Security i.e. If the user logs into Portal, to view cognos report, it should not ask the login credential again (when both portal and Cognos sharing the AD). I could create the LdapContext or through Spring Security able to logon to LDAP. But not sure how to use the Cognos SDK to pass the LdapContext/Security Principal/User_info to implement the SSO. I referred the the installation_location/sdk/AuthenticationProvider but unable to put implement this functionality. Could you please throw some lights or sample code on how to pass the LdapContext/Security Principal/User_info to cognos, it would be great help. Thank you.


    ------------------------------
    Arun Varma
    ------------------------------

    #CognosAnalyticswithWatson