Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Error while using (user-data-constraint) tag(web Security) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Error while using (user-data-constraint) tag(web Security)" Watch "Error while using (user-data-constraint) tag(web Security)" New topic

Error while using (user-data-constraint) tag(web Security)

Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643

Above is web.xml file which performs FORM based authentication on index.html
when i run url for above web application it shows page not found error.
url is http://localhost:8080/FinalTest/index.html
But if i remove <user-data-constraint> tag it works fine and display
login.html page for name and password which i have used in <form-login-page> tag in above xml file.
i dont understand why.
i am using Tomcat5.0
please help me
Senthil Kumar
Ranch Hand

Joined: Mar 13, 2006
Posts: 264
Same thing i got when i tried this thing long back.i think we should
have the SSL enabled to check this .

when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643
ok then how to enabled SSL.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Error while using (user-data-constraint) tag(web Security)
It's not a secret anymore!