argeo.osgi.start=\
org.springframework.osgi.extender,\
-org.argeo.security.dao.jackrabbit,\
+org.argeo.node.repofactory.jackrabbit,\
org.argeo.node.repo.jackrabbit,\
-org.argeo.slc.client.rcp,\
+org.argeo.security.dao.os,\
+org.argeo.slc.node.jackrabbit,\
+org.argeo.slc.agent,\
org.argeo.slc.agent.jcr,\
org.argeo.slc.demo.ant,\
org.argeo.slc.demo.basic,\
argeo.node.repo.home=data/noderepo
argeo.node.repo.dburl=jdbc:h2:data/h2/noderepo_db
+
+#argeo.node.repo.uri=http://localrepo:7070/org.argeo.jcr.webapp/remoting/node
#log4j.logger.org.hibernate=DEBUG
#log4j.logger.org.apache.activemq=DEBUG
+log4j.logger.org.springframework.web.servlet.PageNotFound=ERROR
+log4j.logger.org.apache.directory.server.core.schema.SchemaService=ERROR
+log4j.logger.org.springframework.security.SpringSecurityMessageSource=ERROR
+
log4j.logger.org.apache.directory.server.core.partition=ERROR
log4j.logger.org.apache.directory.server.core.schema.bootstrap.BootstrapAttributeTypeRegistry=ERROR
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<beans:beans xmlns="http://www.springframework.org/schema/osgi"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
- xsi:schemaLocation="http://www.springframework.org/schema/osgi
- http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd
- http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
-
- <beans:description>Starts required bundles</beans:description>
-
- <!-- BUNDLES TO START -->
- <!-- Node repository -->
- <bundle id="node.repo.jackrabbit" symbolic-name="org.argeo.node.repo.jackrabbit"
- action="start" />
- <bundle id="node.repofactory.jackrabbit" symbolic-name="org.argeo.node.repofactory.jackrabbit"
- action="start" />
- <bundle id="security.dao.jackrabbit" symbolic-name="org.argeo.security.dao.jackrabbit"
- action="start" />
-
- <!-- SLC Runtime -->
- <bundle id="slc.node.jackrabbit" symbolic-name="org.argeo.slc.node.jackrabbit"
- action="start" />
- <bundle id="slc.agent" symbolic-name="org.argeo.slc.agent"
- action="start" />
- <bundle id="slc.agent.jcr" symbolic-name="org.argeo.slc.agent.jcr"
- action="start" />
-
- <!-- UI Components -->
- <bundle id="slc.client.ui" symbolic-name="org.argeo.slc.client.ui"
- action="start" />
-</beans:beans>
\ No newline at end of file
<reference id="repository" interface="javax.jcr.Repository"\r
filter="(argeo.jcr.repository.alias=slc)" />\r
\r
- <reference id="modulesManager"\r
- interface="org.argeo.slc.execution.ExecutionModulesManager" />\r
<reference id="authenticationManager"\r
interface="org.springframework.security.AuthenticationManager" />\r
\r
+ <reference id="modulesManager"\r
+ interface="org.argeo.slc.execution.ExecutionModulesManager" />\r
+\r
<!-- SERVICES -->\r
<!-- Deprecated -->\r
<service ref="resultListener"\r
Bundle-Vendor: Argeo
Import-Package: javax.jcr;version="[2.0.0,3.0.0)",
org.argeo.jackrabbit,
- org.argeo.jcr,
- org.argeo.security,
+ org.argeo.security.core,
org.argeo.security.jackrabbit,
org.argeo.slc.jcr,
org.argeo.slc.repo,
org.postgresql;version="[8.3.0,9.0.0)",
- org.springframework.beans.factory.config;version="2.5.6.SEC01"
+ org.springframework.beans.factory.config;version="2.5.6.SEC01",
+ org.springframework.security;version="2.0.6.RELEASE"
http://www.springframework.org/schema/util/spring-util-2.5.xsd">\r
\r
<!-- REFERENCES -->\r
- <reference id="systemExecutionService" interface="org.argeo.security.SystemExecutionService" />\r
<reference id="nodeRepository" interface="javax.jcr.Repository"\r
- filter="(argeo.jcr.repository.alias=${argeo.node.repo.alias})" />\r
+ filter="(argeo.jcr.repository.alias=node)" />\r
+\r
+ <reference id="authenticationManager"\r
+ interface="org.springframework.security.AuthenticationManager" />\r
\r
<!-- SERVICES -->\r
<service ref="jcrRepository" interface="javax.jcr.Repository">\r
</bean>
<bean id="jcrRepository" class="org.argeo.jackrabbit.JackrabbitContainer"
- init-method="init" destroy-method="dispose">
- <property name="repository" ref="nodeRepository" />
- <property name="namespaces">
- <map>
- <entry key="slc" value="http://www.argeo.org/ns/slc" />
- </map>
- </property>
+ init-method="init" destroy-method="destroy">
<property name="cndFiles">
<list>
- <value>classpath:/org/argeo/slc/jcr/slc.cnd</value>
- <value>classpath:/org/argeo/slc/repo/repo.cnd</value>
+ <value>/org/argeo/slc/jcr/slc.cnd</value>
+ <value>/org/argeo/slc/repo/repo.cnd</value>
</list>
</property>
- <property name="systemExecutor" ref="systemExecutionService" />
+ <property name="repository" ref="nodeRepository" />
+ <property name="bundleContext" ref="bundleContext" />
+ </bean>
+
+ <bean
+ class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
+ <description><![CDATA[Executes initialization with a system authentication]]></description>
+ <property name="authenticationManager" ref="authenticationManager" />
</bean>
</beans>
\ No newline at end of file