Skip to Content
0
Former Member
May 09, 2008 at 09:46 PM

IAuthentication forceLogoffUser(req,res,url) method not redirecting to URL

149 Views

Hi,

I´m using the IAuthentication forceLogoffUser(req,res,url) method to implement a logoff from SAP Portal but the page that is redirected after the execution is not the one that I´m sending in the Method.

Also just the IFrame where I´m running the JSP into the Portal is been redirected to the wrong Page not the entire Page.

Here my code:

%@ page language="java" %>

<%@ page import="com.sap.security.api.UMFactory" %>

<%@ page import="com.sap.security.api.IAuthentication" %>

<%

UMFactory.getAuthenticator().forceLogoffUser(request, response,"http://vsededb.vitro.com:50000/RH_LoginKronos/login.jsp");

%>

Thanx in Advanced!

Kind Regards,

Gerardo J