Skip to Content
0
Former Member
Sep 22, 2005 at 04:16 PM

SAPLOGONTICKET urgent

20 Views

Hello @ all,

I using SSO with SAPLOGONTICKET to connect to my SAP-Backend System.I thought,if you use this logonmethod, a session-cookie is created and after the application dies, the cookie deleted automatically. But if I logout, the logon screen appears instead of the logonscreen. I´m using following code to realize SSO:

//aktuellen Benutzer identifizieren und als Importparameter übergeben.

IWDClientUser clientUser;

String username = "";

clientUser = WDClientUser.getLoggedInClientUser();

IUser webuser = clientUser.getSAPUser();

IUserMapping test = UMFactory.getUserMapping();

Map map = null;

try

{

username = test.getR3UserName(webuser,"SAPLOGONTICKET", map, true);

}

catch (UMException e)

{

wdComponentAPI.getMessageManager().reportSuccess(e.toString());

}

In Jco, User Authentication type is set to TICKET.

Maybe I have a problem in unserstanding SSO and Sessioncookies??