Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

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
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
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
global solutions you can do in your home or backyard
https://coderanch.com/t/708587/global-solutions-home-backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!