【问题标题】:Websphere commerce authenticate property in struts redirecting to LogonFormWebsphere commerce 在重定向到 LogonForm 的 struts 中验证属性
【发布时间】:2016-05-25 14:41:44
【问题描述】:

在 WebSphere Commerce 中,当我尝试调用将 authenticate 属性设置为 1 的命令时,当用户未登录时,它会重定向到 LogonForm URL。

例如,我在没有登录的情况下在新浏览器中调用以下 URL

https://localhost/webapp/wcs/stores/servlet/TrackOrderStatus?catalogId=10201&langId=44&storeId=10151

并且它具有在 action-mappings 部分中定义的 struts 条目,并且 authenticate 属性设置为 1。

我相信这实际上会检查用户是否登录,如果没有,它会给我们下面的 LogonForm URL

https://localhost/webapp/wcs/stores/servlet/LogonForm?catalogId=10201&langId=44&storeId=10151

我想知道这种重定向是如何在 IBM 商务级别发生的。这是因为我想将 LogonForm 重定向 URL 更改为某个第三方 URL(例如:ThirdPartyAuthController?catalogId=10201&langId=44&storeId=10151)。由于这是内部发生的,我不确定如何实现。

感谢您的帮助!!

【问题讨论】:

  • 它使用 servlet 响应来发送重定向。不清楚你在问什么。澄清问题,添加细节,没有它,问题就离题了。
  • 我需要知道它是如何重定向的,因为我想将重定向 LogonForm URL 更改为某个第三方身份验证 URL(例如:ThirdPartyAuthController?langId=44&catalogId=10201&storeId=10151) URL。由于这是内部发生的,我不确定如何更改。
  • 我想我在下面的文章中找到了答案ibm.com/developerworks/websphere/library/techarticles/…

标签: struts2 websphere websphere-7


【解决方案1】:
猜你喜欢
  • 1970-01-01
  • 2016-04-16
  • 1970-01-01
  • 2012-02-25
  • 1970-01-01
  • 2014-01-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多