I have configured some roles in my web.xml file like below;
And I have also adjustes my server's user configuration xml(
Tomcat )
tomcat-users.xml extract
However when I tried to call an URL like below;
http://localhost:8080/ApacheProject/securezone/apage.html
First I get a basic login screen and I wrote my password but the server does not accept my password and after some try It gives a HTTP Status 401 - This request requires HTTP authentication ().
page to me.
What am I doing wrong here? Everything seems okay to me!!