I used @Secured on a bean defined on applicationContext.xml and it works well.

Nevertheless, I want to transform my xml definition bean to an @Component annotation with a <context:component-scan base-package= > and it will not work.

Is there something to do to work properly with @Component?

Alexandre