<bean id="securityService" class="org.argeo.security.core.DefaultSecurityService">
<property name="securityDao" ref="securityDao" />
+ <property name="passwordEncoder" ref="passwordEncoder" />
<property name="authenticationManager" ref="authenticationManager" />
<property name="systemAuthenticationKey" value="${argeo.security.systemKey}" />
</bean>
+
+ <bean id="systemExecutionService" class="org.argeo.security.core.KeyBasedSystemExecutionService">
+ <property name="authenticationManager" ref="authenticationManager" />
+ <property name="systemAuthenticationKey" value="${argeo.security.systemKey}" />
+ </bean>
+
+ <bean id="authenticationManager" class="org.springframework.security.providers.ProviderManager">
+ <property name="providers">
+ <list>
+ <bean class="org.springframework.security.adapters.AuthByAdapterProvider">
+ <property name="key" value="${argeo.security.systemKey}" />
+ </bean>
+ <bean
+ class="org.springframework.security.providers.rememberme.RememberMeAuthenticationProvider">
+ <property name="key" value="${argeo.security.systemKey}" />
+ </bean>
+ <ref bean="authenticationProvider" />
+ </list>
+ </property>
+ </bean>
</beans>
\ No newline at end of file