1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <beans xmlns=
"http://www.springframework.org/schema/beans"
3 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
5 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
8 class=
"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
9 <property name=
"systemPropertiesModeName" value=
"SYSTEM_PROPERTIES_MODE_OVERRIDE" />
10 <property name=
"locations">
11 <value>osgibundle:security.properties
16 <bean id=
"securityService" class=
"org.argeo.security.core.DefaultSecurityService">
17 <property name=
"securityDao" ref=
"securityDao" />
18 <property name=
"passwordEncoder" ref=
"passwordEncoder" />
19 <property name=
"authenticationManager" ref=
"authenticationManager" />
20 <property name=
"systemAuthenticationKey" value=
"${argeo.security.systemKey}" />
23 <bean id=
"systemExecutionService" class=
"org.argeo.security.core.KeyBasedSystemExecutionService">
24 <property name=
"authenticationManager" ref=
"authenticationManager" />
25 <property name=
"systemAuthenticationKey" value=
"${argeo.security.systemKey}" />
28 <bean id=
"authenticationManager" class=
"org.argeo.security.core.ArgeoAuthenticationManager">
29 <property name=
"providers">
31 <bean class=
"org.springframework.security.adapters.AuthByAdapterProvider">
32 <property name=
"key" value=
"${argeo.security.systemKey}" />
35 class=
"org.springframework.security.providers.anonymous.AnonymousAuthenticationProvider">
36 <property name=
"key" value=
"${argeo.security.systemKey}" />
43 <!-- <bean id="rememberMeAuthenticationProvider" -->
44 <!-- class="org.springframework.security.providers.rememberme.RememberMeAuthenticationProvider"> -->
45 <!-- <property name="key" value="${argeo.security.systemKey}" /> -->