cancel
Showing results for 
Search instead for 
Did you mean: 

SSO Between WebSphere Portal and SAP WAS for JCO

Former Member
0 Kudos

I am trying to connect to SAP from Websphere Portlet using JCO. From Teched I understood that I can use LTPA token to enable SSO between IBM and SAP App servers. How can I use the LTPA token to enable SSO using JCO? My user repository is Active Directory and is same for both SAP and WebSphere Portal.

Thanks

Lakshmi

Accepted Solutions (0)

Answers (1)

Answers (1)

MichaelSambeth
Advisor
Advisor
0 Kudos

Hi!

regarding authentication options in SAP JCO, please take a look at

https://media.sdn.sap.com/javadocs/NW04/SP12/sapjco/index.html

and especially

https://media.sdn.sap.com/javadocs/NW04/SP12/sapjco/com/sap/mw/jco/JCO.html#addClientPool(java.lang...., int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)

you cannot use LtpaToken in SAP JCo. Only the methods described in the JavaDoc are supported.

However, if you run both portals you may have both SSO tokens in your user HTTP user session (SAP Logon Ticket as well as LtpaToken). So any Java application could fetch the SAP Logon Ticket from the session cookie and use it within the JCo Client.

Regards

Michael

Former Member
0 Kudos

Hi,

an other way is to make an webservice from your RFC in the SAP Backend (there is an wizard in SE37 for this). Then consume and authenticatie with SAML on this webservice.

Best regards,

Patrick

http://www.mindsquare.de