Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Re: HTTPS Connection

 
Joe Cheung
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

What should I do (any config files or program files that I have to change) in order to develop a web application using https in WSAD and WAS?

Thank you very much!!!

Regards,
Joe
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34375
345
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe,
There aren't any config/program files you need to change. The EAR is exactly the same. The HTTPS setting is set in the admin console. Search for HTTPS in the WAS infocenter for the specifics. Also, note that you need to enable your web server for SSL too if you are using one.

I'm not sure if it is possible to enable HTTPS in WSAD.

I'm moving this to our IBM forum as it discusses WAS as well. Someone there might know more about HTTPS in WSAD as well.
 
Albert Maurucier
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This can be done in the web.xml, look at "security-constraint" element

<web-app>
...
<security-constraint>
...
<user-data-constraint>
<description>your description</description>
<transport-guarantee>INTEGRAL</transport-guarantee> (or CONFIDENTIAL)
</user-data-constraint>
...
</security-constraint>
...
</web-app>

Regards
Albert
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic