]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - META-INF/spring/security-cli-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=
"nodeRepository" interface=
"javax.jcr.Repository"
14 filter=
"(argeo.jcr.repository.alias=node)" />
17 <service ref=
"authenticationManager"
18 interface=
"org.springframework.security.authentication.AuthenticationManager" />
20 <!-- User management -->
21 <service ref=
"userDetailsManager"
22 interface=
"org.springframework.security.core.userdetails.UserDetailsService"
23 context-class-loader=
"service-provider" />
24 <service ref=
"userDetailsManager"
25 interface=
"org.springframework.security.provisioning.UserDetailsManager"
26 context-class-loader=
"service-provider" />
27 <service ref=
"userDetailsManager" interface=
"org.argeo.security.UserAdminService"
28 context-class-loader=
"service-provider" />
30 <!-- Callback handler and keyring -->
31 <service interface=
"javax.security.auth.callback.CallbackHandler"
32 ref=
"defaultCallbackHandler" />
33 <service interface=
"org.argeo.security.crypto.CryptoKeyring"