]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - security/modules/org.argeo.security.dao.jackrabbit/META-INF/spring/jcrsecuritydao-osgi.xml
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <beans:beans xmlns=
"http://www.springframework.org/schema/osgi"
3 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance" xmlns:
beans=
"http://www.springframework.org/schema/beans"
4 xmlns:
util=
"http://www.springframework.org/schema/util"
5 xsi:
schemaLocation=
"http://www.springframework.org/schema/osgi
6 http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd
7 http://www.springframework.org/schema/beans
8 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
9 http://www.springframework.org/schema/util
10 http://www.springframework.org/schema/util/spring-util-2.5.xsd">
13 <reference id=
"repositoryFactory" interface=
"javax.jcr.RepositoryFactory"
15 <listener ref=
"jcrAuthenticationProvider" bind-method=
"register"
16 unbind-method=
"unregister" />
18 <reference id=
"nodeRepository" interface=
"javax.jcr.Repository"
19 filter=
"(argeo.jcr.repository.alias=${argeo.node.repo.alias})" cardinality=
"0..1">
20 <listener ref=
"osJcrAuthenticationProvider" bind-method=
"register"
21 unbind-method=
"unregister" />
24 <reference id=
"systemExecutionServiceRef" interface=
"org.argeo.security.SystemExecutionService"
26 <listener ref=
"osJcrAuthenticationProvider" bind-method=
"register"
27 unbind-method=
"unregister" />
31 <service ref=
"systemExecutionService" interface=
"org.argeo.security.SystemExecutionService" />
33 <service ref=
"authenticationManager"
34 interface=
"org.springframework.security.AuthenticationManager" />