I\'m stuck in this issue for a long time. I want to use @Secure to add Access Control to my controller ArticleController.java like this:
@Secure
ArticleController.java
As suggested by @Luke Taylor in the comments the tag needs to be defined in the dispatcher-servlet.xml(webmvc-config.xml in this case) file. And there is no need to have attribute mode="aspectj".
mode="aspectj"
Thanks.