Can Spring JavaConfig handle load-time-weaeving yet?
I was experimenting with seeing if my app's XML-configuration could be replaced with Spring JavaConfig. I really like the ideas in this project.
However, I ran into issues where I have load-time-weaving tied in with annotation-based security settings. This is fragment of my XML that shows load-time-weaving activated, as well as SecurityAnnotations turned on and some Acegi Security stuff plugged in.
Is there a current solution with m3 that would work? Or do I need to wait until this type of support is added on?
<bean id="attributes" class="org.acegisecurity.annotation.SecurityAnnotationAttributes"/>
<bean id="objectDefinitionSource" class="org.acegisecurity.intercept.method.MethodDefinitionAttributes">
<property name="attributes"><ref bean="attributes"/></property>
<bean id="accessDecisionManager" class="org.acegisecurity.vote.AffirmativeBased">
<bean id="securityInterceptor" class="org.acegisecurity.intercept.method.aspectj.AspectJSecurityInterceptor">
<property name="authenticationManager"><ref bean="authenticationManager"/></property>
<property name="accessDecisionManager"><ref bean="accessDecisionManager"/></property>
<property name="objectDefinitionSource"><ref bean="objectDefinitionSource"/></property>
<bean id="securityAspect" class="com.harris.cims.aop.SecurityAspect" factory-method="aspectOf">
<property name="securityInterceptor"><ref bean="securityInterceptor"/></property>
BTW, thanks for all the effort so far! This is a great project for Spring.