Trying to log in but can\'t. My tomcat-users.xml, modified as I saw it here.
You also need to restart Tomcat after making changes to tomcat-users.xml or server.xml, context.xml or web.xml for the changes to be effective.
In my case, the problem was I did not restart Tomcat after making changes.
Also on Tomcat 7 I had assigned manager-script, manager-gui roles to the same user. So Tomcat gave 403 error to enforce CRSF protection.
Wrong:
Correct: