on 08-02-2006 9:15 AM
Hi all,
I need to retrieve SAP Logon Ticket in order to pass it to the backend system. This topic was discusses in but it doesnt work because after
final String callerPrincipalName = myContext.getCallerPrincipal().getName();
final IUserFactory userFactory = UMFactory.getUserFactory();
IUser sapUser = userFactory.getUserByUniqueName( callerPrincipalName );
IUserMapping umapping = UMFactory.getUserMapping();
IUserMappingData mappingData = umapping.getUserMappingData(null, sapUser);
Properties jcoProperties = new Properties();
jcoProperties.put("jco.client.client", "001");
jcoProperties.put("jco.client.ashost", "hostname");
jcoProperties.put("jco.client.sysnr", "00");
mappingData.enrich(jcoProperties);
NoLogonDataAvailableException was thrown each time.
SAP Ticket is issued by J2EE Engine (checked by debugging)and user is logged in (checked in Security Provider -> Login Sessions)
Thanks for you help.
Best regards, Siarhei Bykau
Hi,S.Saravanan.
Yes, my server is configured for SSO. I have 2 web services and one call another through deployable proxy.I've set to use SAP Logon Ticket in Destinations for my proxy. And all works perfect. But I need to retrieve ticket in the scope of the first service. I know exactly that server created ticket for this user (by debugging SAPLogonTicketHelper class).
Thanks,
Siarhei Bykau
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you configured SSO on relevent server?. Please check it.
Kind Regards,
S.Saravanan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.