cancel
Showing results for 
Search instead for 
Did you mean: 

Single sign off

Former Member
0 Kudos

Hello @,

I have a Web Dynpro application which is enabled for single-sign on authentication. I would like to sign- off and return to the login page on click of my exit button. Can anybody guide me on that? Kindly note this application is NOT integrated in Portal.

Best regards,

Dharmi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I had the same problem. I used to following code:


import javax.servlet.http.HttpServletRequest;
(...)
HttpServletRequest req =((com.sap.tc.webdynpro.services.sal.adapter.core.IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
String logOffURL = req.getRequestURL().toString();
WDClientUser.forceLogoffClientUser(logOffURL);

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Richard,

Thank you for the clue of WDClientUser. The code which you gave me did not work but I found the thread which solved my problem:

Thanks much,

Dharmi

p.s. full points for the clue