Skip to Content
0
Former Member
Apr 24, 2012 at 02:24 AM

BO 4.0 Windows AD SSO Authentication in Java...how?

180 Views

I know the admin guide...specifically 8.4 for configuring Win AD auth for Tomcat and SAP BO 4.0.

http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_bip_admin_en.pdf

But how do I actually LOG IN using java?

I have code like this that works in 3.1 configured in Tomcat web.xml for Win AD SSO.

CredExtractor credExtractor credExtractor = new CredExtractor(request);

GSSCredential creds = credExtractor.GetCredential();

GSSManager manager = credExtractor.GetManager();

ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();

request.getSession().setAttribute(ENTERPISE_SESSION, sessionMgr.logon(creds, manager, host, "secWinAD"));

request.getSession().setAttribute("user", request.getParameter("user"));

This stores the enterpriseSession in the session.

This is a variation of the code in the old InfoViewApp.

So should this work as is in 4.0? It's not btw.

Thanks in advance.