Hey all... First time Mentawai user, and first time poster. I'm having an issue when trying to tweak the authentication/authorization example applications.
I have the following:
header.jsp, index.jsp and footer.jsp
index.jsp uses a jsp include at the top and bottom to include the header and footer. There will be functionality that sits in the header and the footer that may require authorization, so I need to check the users rights/access for each of those files. So, I'm trying to add the check in the header.jsp, which is where I have all the taglibs, etc. being imported. So, if I add the following in the header:
<mtw:requiresAuthentication redir="true" />
<mtw:requiresAuthorization groups="users" />
The result is that the header.jsp is not "included", but the index.jsp and footer.jsp still load, albeit with no header information, thus screwing the whole thing up. Am I missing something, or is what I want to do not possile?