So that's going to be the difference. The annotation only works when AOP is applied, and Guice can only apply AOP to objects that it instantiates. So if you have Guice instantiate Intf, the annotation should work.
-Jared On Nov 22, 2012 7:38 AM, "bflueras" <[email protected]> wrote: > The Intf class in instantiated in the services "doStuff()". > Guice makes the bindings (instances) for Service class, and I have > shiro-guice (1.2.1) properly set up in my maven module. > > > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/RequiresAuthentication-annotation-for-anonymous-classes-does-not-work-tp7577970p7577974.html > Sent from the Shiro User mailing list archive at Nabble.com. >
