]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.security.dao.cli/META-INF/spring/security-cli-osgi.xml
New project conventions
[lgpl/argeo-commons.git] / org.argeo.security.dao.cli / 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">
11
12 <!-- REFERENCE -->
13 <reference id="nodeRepository" interface="javax.jcr.Repository"
14 filter="(argeo.jcr.repository.alias=node)" />
15
16 <!-- SERVICES -->
17 <service ref="authenticationManager"
18 interface="org.springframework.security.AuthenticationManager" />
19
20 <!-- User management -->
21 <service ref="userDetailsManager"
22 interface="org.springframework.security.userdetails.UserDetailsService"
23 context-class-loader="service-provider" />
24 <service ref="userDetailsManager"
25 interface="org.springframework.security.userdetails.UserDetailsManager"
26 context-class-loader="service-provider" />
27 <service ref="userDetailsManager" interface="org.argeo.security.UserAdminService"
28 context-class-loader="service-provider" />
29
30 <!-- Callback handler and keyring -->
31 <service interface="javax.security.auth.callback.CallbackHandler"
32 ref="defaultCallbackHandler" />
33 <service interface="org.argeo.security.crypto.CryptoKeyring"
34 ref="keyring" />
35
36 </beans:beans>