I'm using some simple code just to see if the tags would work, unfortunately the "you're logged in" shows up regardless of any situation (not logged in, logged in, hold the right credentials, etc.)
This is the code I've added to web.xml copied from the reference manual.
Interestingly enough, when I do add this line, eclipse throws up a red X next to the file name to indicate something's wrong. I assume it's because the authz.tld doesn't physically exist there. The acegi-security jar is in the WEB-INF/lib folder, and the rest of the authentication seems to work fine. I'm using Tomcat 5.5. Did I miss something?
<authz:authorize ifAllGranted="ROLE_USER"> you're logged in...<br /> </authz:authorize>
<taglib> <taglib-uri>http://acegisecurity.sf.net/authz</taglib-uri> <taglib-location>/WEB-INF/authz.tld</taglib-location> </taglib>