Platform: Shiro 1.1.0, Spring 3.0.5
I\'m trying to secure the MVC Controller methods using Shiro annotation. However something is wrong with annotations. Regular cal
If you're avoiding Spring XML and using primarily Java and annotation configuration, the easiest way to fix this is to add
@Scope(proxyMode = ScopedProxyMode.TARGET_CLASS)
to all your @Controller classes. You need cglib on the classpath.
@Controller