cancel
Showing results for 
Search instead for 
Did you mean: 

IAuthentication forceLogoffUser(req,res,url) method not accesible

Former Member
0 Kudos

Hi,

I´m trying to build a JSP for Login the user Off SAP portal but I got errors son I used a Javabean to test the declarations, object, method and stuff like that but when I use the IAuthentication Interface and see his methods it is not showing the forceLogoffUser(req,res,url) method even though it is shown in the API Java Docs.

Here is what I´m doing in NWdeveloperStudio:

import com.sap.security.api.IAuthentication;

IAuthentication ia = UMFactory.getAuthenticator();

ia.<Here is where the Method forceLogoffUser is not displayed as an selectable option)

Has anyone used this Method to LogOff users succesfully?

thanx in advanced!

Kind Regards,

Gerardo J

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

The method public void forceLogoffUser(HttpServletRequest req, HttpServletResponse resp, String url) has always been in the interface com.sap.security.api.IAuthentication

What about if you just type it manually rather than selecting it from the drop-down list? Seems like your NWDS has some issues listing the methods in the JSP.

Kind regards,

Tsvetomir

Former Member
0 Kudos

Thanx! the problem was solved like that!

Just typed it :O)

Kind Regards!

Gerardo J

Former Member
0 Kudos

Hi Tsvetomir,

Thanx again for answering, I passed this but I got stucked again cause the URL that I´m sending in the URL Parámeter is not working, it is sending me to the Portal Login page and not the one I want, also Just the IFrame where the iView calls the JSP is the one been redirected and not the entire Browser, as this is a new question I opened a new thread, maybe you know what is going on on this one too.

Realle apreciate it!

Kind Regards,

Gerardo J

Answers (0)