]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.security.equinox/META-INF/spring/loginModules.xml
New project conventions
[lgpl/argeo-commons.git] / org.argeo.security.equinox / META-INF / spring / loginModules.xml
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" xmlns:p="http://www.springframework.org/schema/p"
4 xsi:schemaLocation="http://www.springframework.org/schema/beans
5 http://www.springframework.org/schema/beans/spring-beans.xsd">
6
7 <bean
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</value>
12 </property>
13 </bean>
14
15 <bean id="springLoginModule" class="org.argeo.security.equinox.SpringLoginModule"
16 scope="prototype">
17 <property name="authenticationManager" ref="authenticationManager" />
18 <property name="availableLocales" value="${argeo.i18n.availableLocales}"/>
19 </bean>
20
21 <bean id="springLoginModuleRemote" class="org.argeo.security.equinox.SpringLoginModule"
22 scope="prototype">
23 <property name="remote" value="true" />
24 <property name="authenticationManager" ref="authenticationManager" />
25 </bean>
26
27 <bean id="anonymousSpringLoginModule" class="org.argeo.security.equinox.SpringLoginModule"
28 scope="prototype">
29 <property name="anonymous" value="true" />
30 <property name="anonymousRole" value="${argeo.security.anonymousRole}" />
31 <property name="key" value="${argeo.security.systemKey}" />
32 <property name="authenticationManager" ref="authenticationManager" />
33 </bean>
34
35 <bean id="osSpringLoginModule" class="org.argeo.security.equinox.OsSpringLoginModule"
36 scope="prototype">
37 <property name="authenticationManager" ref="authenticationManager" />
38 </bean>
39 </beans>