Weblogic application switches back to http after secure login via https

こ雲淡風輕ζ 提交于 2019-12-24 01:39:47

问题


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/

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.

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

Appreciate if someone could help me.


回答1:


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

Something in the <security-constraint> section like this

<url-pattern>/login</url-pattern> with

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

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



来源:https://stackoverflow.com/questions/3832785/weblogic-application-switches-back-to-http-after-secure-login-via-https

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!