first of all some details: I configured security as below in web.xml
in tomcat-user.xml as below:
file are location as below:
contents of form.html:
Now my problem is that the request going to "http://localhost:8080/Beer-v1/web/form.html" is not getting constrained.
when I submit the request from /web/form.html to "http://localhost:8080/Beer-v1/SelectBeer.do" it checks for the authentication and asks for id/password info.
If i disable the security constraints the app works fine.
I waited for ~one day to get a response before posting the same question to other site.
I'm aware that time is precious so as soon as I got a response and I verified it I updated my thread here as well.