-
- <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.argeo.security.core.ArgeoAuthenticationManager">
- <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.anonymous.AnonymousAuthenticationProvider">
- <property name="key" value="${argeo.security.systemKey}" />
- </bean>
- </list>
- </property>
- </bean>
-
-
- <!-- <bean id="rememberMeAuthenticationProvider" -->
- <!-- class="org.springframework.security.providers.rememberme.RememberMeAuthenticationProvider"> -->
- <!-- <property name="key" value="${argeo.security.systemKey}" /> -->
- <!-- </bean> -->
-