• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it possible to protect only certain services within a web container with HTTPS?  RSS feed

 
Lipman Li
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
let other service, web application be accessed with plain HTTP?

so far I know the only solution is to separate them into 2 WEB applications,
one is accessed with HTTPS, another is accessed with HTTP.

is there any way to make it happen in one application?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can edit your application's web.xml to add a security-constraint element for enforcing the use of HTTPS for only certain parts of your web application using a URL pattern (for example, "use HTTPS for every request to 'secure/*'").
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!