Hey all This is probably one of the stupidest posts of the week on here but I'm struggling to find the link online that tells me how to use a Realm to restrict access to a certain folder: /secure/.
I've set up the realm as stated (http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html), using a Data Source Realm which already works, and now I'm trying to set up my system so that only people with a certain user_role can access the secure folder. I've set up the login page in a /login/ folder using a j_security_check form but now I can't find the link of how to use the login pages to log into the secure area, or the code to make the /secure/ folder secure. I've looked everywhere but can't for the life of me find it! Can anyone point me in the right area? Mark Whitby