i should say i have followed:
http://svn.apache.org/viewvc/incubator/shiro/trunk/samples/spring/src/main/webapp/WEB-INF/applicationContext.xml?view=markup
but annotations still not 'kicking in'
I have in my XML config:
<bean id="securityManager"
class="org.apache.shiro.mgt.DefaultSecurityManager">
</bean>
and in my test code:
SimpleAccountRealm simpleAccountRealm = new SimpleAccountRealm();
((DefaultSecurityManager)SecurityUtils.getSecurityManager()).setRealm(simpleAccountRealm);
this simply realm is just populated by hand for now (all in JUnit test for
now - testing Shiro integration)
thanks!
--
View this message in context:
http://n2.nabble.com/RequiresAuthentication-Standalone-Spring-tp3982693p3982878.html
Sent from the Shiro User mailing list archive at Nabble.com.