Win a copy of Pragmatic AI this week in the Artificial Intelligence 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!