Search code examples
webspherewebsphere-portal

After login, how to send user back to the same portal page that they were on before loging in?


im using websphere portal 6.1.5 and portlet factory 7

How can i send user to a custom page intead of portal home page if user accecces a certain page before loging in?

i want to return the user to the same page that they were on before they clicked login link and went to login page. any solution?


Solution

  • No WebSphere by default redirects the user to the first page that he has access to right after login. In order to make portal redirect the user to a custom page you would have to implement a LoginFilter; which can be attached to the wps.war.

    Take a look at:

    Info Center: Configuring authentication filters

    Creating loginfilter for WebSphere Portal

    TechNote: New security APIs in WebSphere Portal

    I hope this helps.