]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.security.ui/META-INF/spring/keyring.xml
Refactoring: move all code needing the workbench from eclipse.ui to eclipse.ui.workbe...
[lgpl/argeo-commons.git] / org.argeo.security.ui / META-INF / spring / keyring.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:util="http://www.springframework.org/schema/util"
4 xmlns:p="http://www.springframework.org/schema/p"
5 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
6 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
7
8 <bean
9 class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
10 <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
11 <property name="locations">
12 <value>osgibundle:securityui.properties</value>
13 </property>
14 </bean>
15
16 <bean id="nodeSession" class="org.argeo.jcr.spring.ThreadBoundSession">
17 <property name="repository" ref="nodeRepository" />
18 </bean>
19
20 <bean id="keyring" class="org.argeo.security.jcr.JcrKeyring">
21 <property name="session" ref="nodeSession" />
22 <property name="defaultCallbackHandler" ref="defaultCallbackHandler" />
23 <property name="secreteKeyLength" value="${argeo.keyring.secreteKeyLength}" />
24 </bean>
25
26 </beans>