on 07-28-2006 2:36 AM
Hi,
Can you anybody gives some links to Runtime SSO creation?.
Kind Regards,
S.Saravavan.
Hi,
Why and where do you need to create a ticket?
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Through Dynpro i have to known current user and password. Already i enebled SSO in server. So i want to get username name and password, based on that i have to create RunTime Jco. Accroding to my knowledge after logon user then SSO store information regarding user into Cookie.
Kind Regards,
S.Saravanan.
Hi,
So, in case your application is running under SAP J2EE WAS you can access SSO ticket using following code:
IUser user = WDClientUser.getCurrentUser().getSAPUser();
String sso = (String)user.getTransientAttribute(IPrincipal.DEFAULT_NAMESPACE, "MYSAPSSO2_STRING");
By default SSO is created by user login.
Best regards, Maksim Rashchynski.
Hi,
Then how can i know user password?. Is there any way to get SAP user and password. Because runtime only i know userid and password. Possible ways.
1. Create SSO tickes- It will takes all things.
2. Store user information(id,password, etc.) in data base.
3. Create RFC JCO Destination on Visual Admin for different client. Based on the client number(750,999,100) we get JCO Destination.
Other than above ways anything is there?
Kind Regards,
S.Saravanan.
Hi,
SSO is configured between WAS and backend system. My question is without SSO how to handle multiple clients JCO?. I imported lot of models into my project using single JCO creation for client 750. Now client is increased(750,100,999,etc). So how can I handle new client(example 100) with same JCO(Previously created).
Kind Regards,
S.Saravanan.
Well, the only option here is to create JCo connection, because you can not combine generic SSO ticket on runtime and client from design time (Web Dynpro Content Administrator).
Check https://media.sdn.sap.com/javadocs/NW04/SPS15/jc/com/sap/mw/jco/JCO.html
For SSO specify the user to be $MYSAPSSO2$ and pass the base64 encoded ticket as as the passwd parameter (using my code above).
Hi,
I agreed you for creation of JCo connection at Run Time. If i create JCO at Runtime i should know the following parameters: sapclient,username,password,lanuage,appservername and sysno. So how can i get above parameters at runtime?. Except password i got all information from IUser.
Kind Regards,
S.Saravanan.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.