Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with "security-constraint" tag.  RSS feed

 
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.
 
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.
 
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
 
rubbery bacon. crispy tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!