通过 https 安全登录后,Weblogic 应用程序切换回 http [英] Weblogic application switches back to http after secure login via https

查看:57
本文介绍了通过 https 安全登录后,Weblogic 应用程序切换回 http的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在 Weblogic 9.2 MP3 上成功配置 SSL.我能够使用 https 安全地登录到应用程序并继续使用 https 协议处理应用程序.在用户访问提供以下 URL 的应用程序的情况下,这是正确的:https://servername:7002/

I have successfully configured SSL on Weblogic 9.2 MP3. I am able to login securely into the application using https and continue working on the application using https protocol. This is true in the case when user accesses the application giving following URL: https:/servername:7002/

如果用户尝试通过 HTTP 即 http://servername:7001/访问上述 URL,应用程序会自动重定向到 https:/servername:7002/页面.但是当用户成功通过服务器认证后,协议切换到 http.

If the user tries to access the above URL via HTTP i.e. http:/servername:7001/, application automatically redirects to https:/servername:7002/ page. However after user has been successfully authenticated by the server, the protocol switches to http.

是否有我在 weblogic 服务器或应用程序端可能遗漏的配置?

Is there any configuration that i might have missed on weblogic server or application side?

感谢有人能帮助我.

推荐答案

您很可能已将 web.xml 配置为仅允许在登录 URL 上使用 https

You've most likely configured the web.xml to allow https only on the login URL

<security-constraint> 部分像这样

/login

<transport-guarantee>CONFIDENTIAL</transport-guarantee>

更改上面的 url-pattern 以适合您希望保留为 https 的模式

Change the url-pattern above to suit the patterns you wish to keep as https

这篇关于通过 https 安全登录后,Weblogic 应用程序切换回 http的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆