ant -f build-test.xml one-test -Dtest=security5
If you place the break point in BeanContainer->getAnnotation for method
FirstBean->echo and the annotation "RolesAllowed", you will see that it
returns a RolesAllowed("Echo") when it should have been
RolesAllowed("InternalRole"). The FirstBean is getting called with a
"Echo" role. So there is some caching done by getAdvisor() of bean container.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193596#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...