on 09-27-2006 7:22 PM
Hello,
I have a requirement to access SAP using SSO via java script. I have a work around of writing a .NET component which does the SSO connection to SAP system and I call the .NET component from my java script.
Though it solves my problem, this is a SMALL problem for me as I have to get this .NET component in all the users machine.
Is there another way to access the SAP system using SSO via java script.
Thanks and regards,
Bala.
Hello Bala,
is your Application running in the Portal? If yes you already have a SSO2 Cookie which will be sent also with Java Script XMLHttpRequest. If not perhaps it's possible to call a URL on the Portal which supports SSO via Kerberos or NTLM and retrieve the Cookie there. Then you can use it for other Backend connections.
Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Bala,
I have done something like this, but with PHP instead of .NET as server side frame.
Principally it is the same, since you will use the .NET RFC library instead of SAPRFC, which I use.
You can check out the latest version of the SAP Scripting Tool at https://www.sdn.sap.com/irj/sdn?rid=/library/uuid/cdbe319e-0d01-0010-92b7-dd4625e7e9de
First install Eclipse 3.1 and then follow the installation instructions of the SAP Scripting Tool. When you get it running (after a restart of Eclipse) open the welcome page and in Samples there is "Create sample projects".
When you click it some sample projects will be created. Check out the phpMaterialCheckRFCSSO project. It is a complete minimalistic SSO application that utilizes the SSO2 cookie and so on.
You only have to change from PHP to .NET - good luck in that.
Message was edited by: Vasil Bachvarov
Hi,
Check this,
https://media.sdn.sap.com/javadocs/NW04/SPS15/um/com/sap/security/api/ticket/TicketVerifier.html
Regards,
Azaz.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.