Hi guys,
In my app I have a form login for authentication in the header of all my app pages. I must show de form when the user are not logged in and your data when it's logged. Googling a litle bit I found the authorization tag library, and I have tried this:
But unfortunately this not worked for me. I've tried use the ifAnyGranted attribute but without success.Code:... <sec:authorize ifNotGranted="ROLE_USER"> <!-- show the form stuff --> </sec:authorize> <sec:authorize ifAllGranted="ROLE_USER"> <!-- show the user stuff --> </sec:authorize> ...
Any of you guys have some advice to me?!? I´m stucked on this problem and I want to use the power of this taglibs over the overhead of making custom code to handle this.
tks in advice.


