Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with "security-constraint" tag.

 
Tejas Gokhale
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using form based login authentication with JBOSS in built login module configured.
In the security-constraint when I mention the <user-data-constraint> tag page not found error start appearing.
When I remove <user-data-constraint> from the security constraint it works fine.
Kindly help about what should be done.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What value are you placing in the user-data-constraint as your transport-guarantee? If I remember correctly, you shouldn't use that tag at all unless you are using https, although you can specify NONE in http if you really want to.
 
MI Mohammed
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tejas,
I havan't used JBoss before. But while preparing for
my exam, i had a similar problem with Tomcat. But the
issue is that some web containers do not support Https
by default. So you have to read the documentation on how
to configure the container to support https, because the aim
of the tag is to ensure data intergrity.

Hope it helps.


SCJA SCJP SCWCD
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic