on 11-04-2005 8:46 PM
Hello,
I am interested in finding a single sign on method for use with SAP JCO. Has anyone had experience with this, specifically with SAP Logon Tickets?
Thanks,
Tom Franklin
Deere & Company
Hi Tom
You need to get the logon ticket in the form of cookies.
Then use "$MYSAPSSO2$" as the user name and the cookies as password to initiate the login.
So it would be like this:
[code]
// Create a client connection to a dedicated R/3 system
JCO.Client jcoClient = JCO.createClient(
client_number, //name
"$MYSAPSSO2$", //userid
theloginticket, //password
"EN", //language
HOST_NAME,
SYSTEM_NUMBER);
[/code]
Regards
Xueqing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mike:
Check out the following link (which includes sample code):
- Rick Bullotta
ASM Manufacturing
SAP Labs, LLC
Hi Mike
I guess the way to get the logon ticket in the form of cookies depends on which type of applications you are using.
The project I worked on was a BSP application. Once I setup the SSO settings in the backend system, the SSO cookie was automatically passed in the HTTP header.
Are you using portal or something else?
I can give you the steps to setup the backend systems if you need. For portal apps, I am not sure if these steps are still applicable. ( I have't done anything portal related yet).
Regards
Xueqing
Hi Mike
Sorry for the late response. I was tied up with other stuff.
That's what I have done to use SSO.
For cFolders, once I setup SSO with SAP WebAS, the cookie was automatically created for the BSP. An applet was implemented to grab the cookis and pass it to a servlet, which was running on a J2EE Engine(Tomcat, WebLogic, etc).
The Servlet reused the cookie to make a connection to SAP backend system.
I don't know which client you are going to use to start your application, from SAPGUI or something else?
I think the key is to how to grab the cookie.
Let me know if you want to know the steps to configure SSO with SAP system.
Regards
Xueqing
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.