Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml security-constraint question

 
zac craven
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to make a kind of inverted security constraint. I want to ALLOW access to a specific page over HTTP. All other pages should be HTTPS.

Is that possible???

(Sorry if this is in wrong forum, I'm fairly new to java.)

The kind of code I am talking abuot is like this:
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by zac craven:

(Sorry if this is in wrong forum, I'm fairly new to java.)


No need to be sorry.
I'm going to move this to our servlets forum because security constraints are covered in the servlet specification. This forum covers the JSP, and JSTL specs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic