]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms.ui.workbench/META-INF/spring/keyring.xml
Fix keyring configuration
[lgpl/argeo-commons.git] / org.argeo.cms.ui.workbench / 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 <bean id="nodeSession" class="org.argeo.jcr.spring.ThreadBoundSession"
8 destroy-method="dispose">
9 <property name="repository" ref="nodeRepository" />
10 </bean>
11
12 <bean id="keyring" class="org.argeo.cms.security.JcrKeyring">
13 <property name="session" ref="nodeSession" />
14 <property name="defaultCallbackHandler" ref="defaultCallbackHandler" />
15 <property name="secreteKeyLength" value="${argeo.keyring.secreteKeyLength}" />
16 </bean>
17
18 </beans>