本文介绍了在Websphere Portal 8&amp ;;中以编程方式显式注销用户。重定向到默认登录页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对WS门户网站有点新手有一个要求,其中在特定场景中我们希望用户注销&将他重定向到默认门户网站登录页面。
我试图使会话无效清除Cookie&像 response.sendRedirect(/ wps / myportal /)一样执行response.sendRedirect; ,
但是徒劳无功。
请指导。

I am a bit new to WS portal & have a requirement wherein on a specific scenario we want the user to logout & redirect him to the default portal login page.I have tried to invalidate the session clear the cookies & do a response.sendRedirect as in response.sendRedirect("/wps/myportal/"); ,but in vain.Please guide.

推荐答案

您可以使用 wp_configservice

redirect.logout=true
redirect.logout.ssl=false
redirect.logout.url=protocol://host_name/logout_page

配置完成后,单击标准注销将重定向到指定页面。

After configuring it, clicking on standard logout will redirect you to the specified page.

这篇关于在Websphere Portal 8&amp ;;中以编程方式显式注销用户。重定向到默认登录页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-08 21:26