]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - security/modules/org.argeo.security.services/META-INF/spring/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 xsi:
schemaLocation=
"http://www.springframework.org/schema/osgi
5 http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd
6 http://www.springframework.org/schema/beans
7 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
10 <!-- Cardinality is 0, in order to let a bundle providing the DAO while
11 depending on the system execution service. The dependency will then have
12 been satisfied when the first user tries to log-in. -->
13 <reference id=
"currentUserDao" interface=
"org.argeo.security.CurrentUserDao"
16 <list id=
"authenticationProviders"
17 interface=
"org.springframework.security.providers.AuthenticationProvider"
19 <listener ref=
"authenticationProvidersRegister" bind-method=
"register"
20 unbind-method=
"unregister" />
24 <service ref=
"securityService" interface=
"org.argeo.security.CurrentUserService" />
25 <service ref=
"systemExecutionService" interface=
"org.argeo.security.SystemExecutionService" />
27 <service ref=
"authenticationManager"
28 interface=
"org.springframework.security.AuthenticationManager" />