]>
git.argeo.org Git - gpl/argeo-slc.git/blob - repo-osgi.xml
ced7e284050cccc2c3dbfe1532bf1b1110daf803
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:
security=
"http://www.springframework.org/schema/security"
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/security http://www.springframework.org/schema/security/spring-security-2.0.xsd">
12 <reference id=
"authenticationManager"
13 interface=
"org.springframework.security.AuthenticationManager" />
15 <set id=
"defaultRpmRepositories" cardinality=
"0..N"
16 interface=
"org.argeo.slc.rpmfactory.RpmRepository" />
19 <service ref=
"javaRepository" interface=
"javax.jcr.Repository">
21 <beans:entry key=
"argeo.jcr.repository.alias" value=
"java" />
24 <service ref=
"distRepository" interface=
"javax.jcr.Repository">
26 <beans:entry key=
"argeo.jcr.repository.alias" value=
"dist" />
29 <service ref=
"rpmRepository" interface=
"javax.jcr.Repository">
31 <beans:entry key=
"argeo.jcr.repository.alias" value=
"rpm" />
34 <service ref=
"docsRepository" interface=
"javax.jcr.Repository">
36 <beans:entry key=
"argeo.jcr.repository.alias" value=
"docs" />
40 <service ref=
"slcRepoManager" interface=
"org.argeo.slc.repo.SlcRepoManager" />
42 <service ref=
"mavenProxyService" interface=
"org.argeo.slc.repo.MavenProxyService" />
43 <service ref=
"rpmProxyService" interface=
"org.argeo.slc.rpmfactory.RpmProxyService" />
46 <beans:bean class=
"org.argeo.security.core.OsgiModuleLabel">
47 <beans:property name=
"bundleContext" ref=
"bundleContext" />
51 <reference id=
"userAdminService" interface=
"org.argeo.security.UserAdminService" />
53 <beans:bean id=
"ROLE_SLC"
54 class=
"org.argeo.security.core.SimpleRoleRegistration" init-method=
"run">
55 <beans:property name=
"role" value=
"ROLE_SLC" />
56 <beans:property name=
"userAdminService" ref=
"userAdminService" />
60 class=
"org.argeo.security.core.AuthenticatedApplicationContextInitialization">
61 <beans:property name=
"authenticationManager" ref=
"authenticationManager" />
65 <!-- <reference id="mavenRepositorySystem" interface="org.sonatype.aether.RepositorySystem" -->
66 <!-- filter="(aether.repositorySystemType=maven)" /> -->
67 <!-- <reference id="mavenRepositorySystemSession" interface="org.sonatype.aether.RepositorySystemSession" -->
68 <!-- filter="(aether.repositorySystemType=maven)" /> -->