2010-09-30 34 views
2

我已成功在Weblogic 9.2 MP3上配置SSL。我可以使用https安全地登录到应用程序,并使用https协议继续使用该应用程序。当用户访问提供以下URL的应用程序时,情况确实如此:https:/ servername:7002/Weblogic应用程序通过https安全登录后切换回http http

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

是否有任何配置,我可能错过了在weblogic服务器或应用程序端?

欣赏有人能帮助我。

+0

您是否解决了这个问题? – Guus 2013-06-27 11:01:58

回答

1

你最有可能配置在web.xml允许HTTPS只在登录URL

东西在这样

<url-pattern>/login</url-pattern><security-constraint>部分与

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

更改URL-以上图案以适合您希望保留的图案https

+0

谢谢。这工作。 – Avinash 2013-06-29 17:18:59