http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.xsd">\r
\r
<!-- REFERENCES -->\r
- <reference id="authenticationManager"\r
- interface="org.springframework.security.authentication.AuthenticationManager" />\r
+ <reference id="userAdmin" interface="org.osgi.service.useradmin.UserAdmin" />\r
+ <reference id="userTransaction" interface="javax.transaction.UserTransaction" />\r
\r
<set id="defaultRpmRepositories" cardinality="0..N"\r
interface="org.argeo.slc.rpmfactory.RpmRepository" />\r
\r
<service ref="slcRepoManager" interface="org.argeo.slc.repo.SlcRepoManager" />\r
\r
- <!-- <service ref="mavenProxyService" interface="org.argeo.slc.repo.MavenProxyService" \r
- /> -->\r
+ <service ref="mavenProxyService" interface="org.argeo.slc.repo.MavenProxyService" />\r
<service ref="rpmProxyService" interface="org.argeo.slc.rpmfactory.RpmProxyService" />\r
\r
<!-- LABEL -->\r
</beans:bean>\r
\r
<!-- ROLES -->\r
- <reference id="userAdminService" interface="org.argeo.security.UserAdminService" />\r
-\r
<beans:bean id="ROLE_SLC"\r
class="org.argeo.security.core.SimpleRoleRegistration" init-method="run">\r
- <beans:property name="role" value="ROLE_SLC" />\r
- <beans:property name="userAdminService" ref="userAdminService" />\r
+ <beans:property name="role" value="org.argeo.slc.user" />\r
+ <beans:property name="userAdmin" ref="userAdmin" />\r
+ <beans:property name="userTransaction" ref="userTransaction" />\r
</beans:bean>\r
\r
<beans:bean\r
class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">\r
- <beans:property name="authenticationManager" ref="authenticationManager" />\r
</beans:bean>\r
</beans:beans>\r
\r