• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Security Config Question

 
Michael Vargenstien
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

Does anybody know whether the configuration parameters for security-constraint, users-data-constraint, login-config, etc.. are case sensitive?

For example,



Ok, so I'll try to tackle it...XML is case sensitive...right. So, I'm thinking maybe this may also be the case for the DD...but, headers are not case sensitive (an exception) to the rule.

For example,
request.getHeader("Not-cAsE");

In short, is the value for <http-method>PUT</http-method> equivalent to <http-method>put</http-method>

any other areas this is also the case?

Thanks!!
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In elements whose value is an enumerated type, the value is case sensitive. In the XML Schema, GET POST PUT... are enumerated values, therefore there are case-sensitive. <http-method>get</http-method> will not be recognized.
 
Michael Vargenstien
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply.

How did you figure that out?

Are you looking at the DTD for the web.xml?

Forgive the retard factor...where can I find the DTD/XSLT|XSL that is sun friendly and (retardation continues) how can I tell its an enumeration in the describing document?



From a java perspective, I follow the Enumeration solution you described. That makes total sense.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic