cancel
Showing results for 
Search instead for 
Did you mean: 

Using Portal SSO Ticket for Authentication

dwayne_winters
Explorer
0 Kudos

We have single sign-on configured between our SAP Portal and Business Objects (4.1SP2). OpenDocument iviews work fine with SSO. My issue is that I am trying to write a custom JSP that will be launched from the portal, then will connect to business objects using the SSO ticket (MYSAPSSO2). I have been searching for hours and cannot find any working examples or clear references.

I am able to get the MYSAPSSO2 ticket from the cookie, then I pass that information (based on an example I found) using the following syntax:

  IEnterpriseSession enterpriseSession = sessionMgr.logon("SYS~400/$MYSAPSSO2$", sapSSOTicket, "SAPCMSHOST:6400", "secSAPR3");

This results in "Failed while trying to log on user $MYSAPSSO2$. RFC error: " Number:000 (USER_OR_PASSWORD_INCORRECT)" (FWM 00013)"

Does anyone know the correct syntax or approach?

Thanks in advance...

Accepted Solutions (1)

Accepted Solutions (1)

dwayne_winters
Explorer
0 Kudos

SAP answered my question. Here it is in case anyone is looking:

CrystalEnterprise.getSessionMgr().logon("MYSAPSSO2-TOKEN VALUE", "", "cmsname:6400", "secSAPR3");

Answers (0)