]> git.argeo.org Git - lgpl/argeo-commons.git/blob - security/plugins/org.argeo.security.equinox/META-INF/spring/loginModules.xml
Introduce RAP anonymous
[lgpl/argeo-commons.git] / security / plugins / 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 </bean>
19
20 <bean id="springLoginModuleRemote" class="org.argeo.security.equinox.SpringLoginModule"
21 scope="prototype">
22 <property name="remote" value="true" />
23 <property name="authenticationManager" ref="authenticationManager" />
24 </bean>
25
26 <bean id="anonymousSpringLoginModule" class="org.argeo.security.equinox.SpringLoginModule"
27 scope="prototype">
28 <property name="anonymous" value="true" />
29 <property name="anonymousRole" value="${argeo.security.anonymousRole}" />
30 <property name="key" value="${argeo.security.systemKey}" />
31 <property name="authenticationManager" ref="authenticationManager" />
32 </bean>
33
34 <bean id="osSpringLoginModule" class="org.argeo.security.equinox.OsSpringLoginModule"
35 scope="prototype">
36 <property name="authenticationManager" ref="authenticationManager" />
37 </bean>
38 </beans>