]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Improve authenticated application context initialization
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 28 Apr 2011 04:58:24 +0000 (04:58 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 28 Apr 2011 04:58:24 +0000 (04:58 +0000)
ASSIGNED - bug 17: Generalize agent management and registration beyond JMS
https://bugzilla.argeo.org/show_bug.cgi?id=17

git-svn-id: https://svn.argeo.org/slc/trunk@4482 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

modules/agent/org.argeo.slc.agent.jcr/META-INF/spring/jcr.xml

index 9826c454364a9297b439b98e989b66a3ffd34a2f..c07f293e68a4552523a9ad1d3dfcced0d5b8429e 100644 (file)
        <bean id="executionModulesListener" class="org.argeo.slc.jcr.execution.JcrExecutionModulesListener"\r
                init-method="init" destroy-method="dispose">\r
                <property name="agent" ref="agent" />\r
-               <property name="session">\r
-                       <bean factory-bean="repository" factory-method="login" />\r
+               <property name="session" ref="session2">\r
                </property>\r
        </bean>\r
 \r
+       <bean id="session2" factory-bean="repository" factory-method="login" />\r
+\r
        <bean id="session" class="org.argeo.security.jcr.SecureThreadBoundSession">\r
                <property name="repository" ref="repository" />\r
        </bean>\r
 \r
-       <bean class="org.argeo.security.core.SystemExecutionBeanPostProcessor">\r
+       <bean\r
+               class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">\r
                <property name="authenticationManager" ref="authenticationManager" />\r
        </bean>\r
 </beans>
\ No newline at end of file