Manifest-Version: 1.0\r
-Require-Bundle: org.argeo.slc.support.osgi,\r
- org.argeo.slc.specs,\r
- org.argeo.slc.core,\r
- org.argeo.slc.support.ant\r
Bundle-Version: 0.11.4.SNAPSHOT\r
Bundle-Name: SLC Demo Ant\r
Bundle-Description: Demonstrate Ant support\r
net.sf.cglib.reflect,\r
org.aopalliance.aop,\r
org.apache.commons.logging,\r
+ org.argeo.slc.ant,\r
+ org.argeo.slc.core.execution,\r
+ org.argeo.slc.core.execution.tasks,\r
+ org.argeo.slc.execution,\r
+ org.argeo.slc.osgi,\r
+ org.argeo.slc.osgi.execution,\r
+ org.argeo.slc.structure,\r
org.springframework.aop,\r
org.springframework.aop.framework,\r
org.springframework.aop.scope,\r
http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd\r
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">\r
\r
- <bean id="hello" parent="slcTemplate.simpleFlow">\r
+ <bean id="main" parent="slcTemplate.simpleFlow">\r
<property name="executables">\r
<list>\r
<bean class="org.argeo.slc.ant.AntRun">\r
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<import resource="classpath:org/argeo/slc/core/execution/spring.xml" />
-
- <import
- resource="classpath:/org/argeo/slc/core/test/spring/applicationContext.xml" />
-
</beans>
\ No newline at end of file
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
\r
<beans:import resource="classpath:org/argeo/slc/osgi/execution/spring.xml" />\r
-\r
- <reference id="attachmentUploader" interface="org.argeo.slc.core.attachment.AttachmentUploader" />\r
-\r
- <list id="resultListeners" interface="org.argeo.slc.core.test.tree.TreeTestResultListener" />\r
</beans:beans>
\ No newline at end of file
Bundle-Name: SLC Demo Basic\r
Bundle-Description: Test of basic features\r
Spring-Context: conf/*,conf/testCases/*\r
-Require-Bundle: \r
- org.argeo.slc.specs,\r
- org.argeo.slc.core,\r
- org.argeo.slc.support.osgi\r
Import-Package: \r
+ org.argeo.slc.core.test,\r
+ org.argeo.slc.core.attachment,\r
+ org.argeo.slc.core.execution,\r
+ org.argeo.slc.core.execution.tasks,\r
+ org.argeo.slc.core.test.context,\r
+ org.argeo.slc.core.test.tree,\r
+ org.argeo.slc.core.structure.tree,\r
+ org.argeo.slc.test,\r
+ org.argeo.slc.execution,\r
+ org.argeo.slc.osgi,\r
+ org.argeo.slc.osgi.execution,\r
+ org.argeo.slc.structure,\r
net.sf.cglib.core,\r
net.sf.cglib.proxy,\r
net.sf.cglib.reflect,\r
<import resource="classpath:org/argeo/slc/core/execution/spring.xml" />
- <import
- resource="classpath:/org/argeo/slc/core/test/spring/applicationContext.xml" />
+ <import resource="classpath:/org/argeo/slc/core/test/spring.xml" />
</beans>
\ No newline at end of file
log4j.logger.org.springframework=WARN
log4j.logger.org.springframework.jms=WARN
-log4j.logger.org.springframework.security=INFO
+log4j.logger.org.springframework.security=WARN
log4j.logger.org.apache.activemq=WARN
log4j.logger.org.apache.activemq.transport=WARN
Bundle-Name: SLC Demo Minimal Module\r
Bundle-Description: Minimal functioning execution module\r
Spring-Context: slc/*\r
-Require-Bundle: \r
- org.argeo.slc.specs,\r
- org.argeo.slc.core,\r
- org.argeo.slc.support.osgi\r
Import-Package: \r
net.sf.cglib.core,\r
net.sf.cglib.proxy,\r
net.sf.cglib.reflect,\r
org.aopalliance.aop,\r
org.apache.commons.logging,\r
+ org.argeo.slc.core.execution,\r
+ org.argeo.slc.core.execution.tasks,\r
+ org.argeo.slc.execution,\r
+ org.argeo.slc.osgi,\r
+ org.argeo.slc.osgi.execution,\r
+ org.argeo.slc.structure,\r
org.springframework.aop,\r
org.springframework.aop.framework,\r
org.springframework.aop.scope,\r
org.springframework.web.filter,\r
org.springframework.web.servlet,\r
org.springframework.web.servlet.handler,\r
- org.springframework.web.servlet.mvc\r
+ org.springframework.web.servlet.mvc,\r
+ org.springframework.security.context\r
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.4.xsd">
- <http>
- <intercept-url pattern="/**" access="ROLE_USER" />
+ <http realm="User Interface" >
+ <intercept-url pattern="/**" access="ROLE_USER,ROLE_ANONYMOUS" />
<http-basic />
<anonymous />
</http>
RefSpecAttribute rsa = (RefSpecAttribute) attr;
if (rsa.getChoices() == null) {
List<RefValueChoice> choices = buildRefValueChoices(rsa);
- if (log.isDebugEnabled())
+ if (log.isTraceEnabled())
log.debug("Found " + choices.size() + " choices for "
+ rsa + " in spec " + name);
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
+ default-lazy-init="true">
+
+ <bean id="slcDefault.test.resultLogger"
+ class="org.argeo.slc.core.test.tree.TreeTestResultLogger">
+ </bean>
+
+ <bean name="slcDefault.test.testRun"
+ class="org.argeo.slc.core.test.SimpleTestRun"
+ scope="prototype">
+ </bean>
+
+ <bean name="slcDefault.test.uuid" class="java.util.UUID"
+ factory-method="randomUUID" scope="prototype">
+ </bean>
+
+ <bean id="slcDefault.test.basicTreeTestResult"
+ class="org.argeo.slc.core.test.tree.TreeTestResult"
+ abstract="true" destroy-method="close">
+ <property name="uuid">
+ <bean factory-bean="slcDefault.test.uuid"
+ factory-method="toString">
+ </bean>
+ </property>
+ <property name="listeners">
+ <list>
+ <ref bean="slcDefault.test.resultLogger" />
+ </list>
+ </property>
+ </bean>
+
+ <bean id="slcDefault.test.basicSimpleTestResult"
+ class="org.argeo.slc.core.test.SimpleTestResult"
+ abstract="true">
+ <property name="uuid">
+ <bean factory-bean="slcDefault.test.uuid"
+ factory-method="toString">
+ </bean>
+ </property>
+ </bean>
+
+</beans>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
- default-lazy-init="true">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
+ default-lazy-init="true">
- <bean id="slcDefault.test.resultLogger"
- class="org.argeo.slc.core.test.tree.TreeTestResultLogger">
- </bean>
-
- <bean name="slcDefault.test.testRun"
- class="org.argeo.slc.core.test.SimpleTestRun"
- scope="prototype">
- </bean>
-
- <bean name="slcDefault.test.uuid" class="java.util.UUID"
- factory-method="randomUUID" scope="prototype">
- </bean>
-
- <bean id="slcDefault.test.basicTreeTestResult"
- class="org.argeo.slc.core.test.tree.TreeTestResult"
- abstract="true" destroy-method="close">
- <property name="uuid">
- <bean factory-bean="slcDefault.test.uuid"
- factory-method="toString">
- </bean>
- </property>
- <property name="listeners">
- <list>
- <ref bean="slcDefault.test.resultLogger" />
- </list>
- </property>
- </bean>
-
- <bean id="slcDefault.test.basicSimpleTestResult"
- class="org.argeo.slc.core.test.SimpleTestResult"
- abstract="true">
- <property name="uuid">
- <bean factory-bean="slcDefault.test.uuid"
- factory-method="toString">
- </bean>
- </property>
- </bean>
+ <description>Deprecated</description>
+ <import resource="../spring.xml" />
</beans>
\ No newline at end of file
javax.servlet.jsp.jstl.core,
javax.servlet.jsp.jstl.fmt,
javax.servlet.jsp.jstl.tlv,
- javax.servlet.resources
+ javax.servlet.resources,
+ org.springframework.security.ui.webapp,
+ org.springframework.security.userdetails.memory,
+ org.springframework.web.context,
+ org.springframework.osgi.web.context.support,
+ org.springframework.web.filter
</Import-Package>
<Web-ContextPath>org.argeo.slc.ria</Web-ContextPath>
</instructions>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
+ xmlns:tx="http://www.springframework.org/schema/tx"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+ http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
+ http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
+
+ <import resource="security.xml" />
+
+</beans>
\ No newline at end of file
--- /dev/null
+<beans:beans xmlns="http://www.springframework.org/schema/security"
+ xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+ http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.4.xsd">
+
+ <http realm="User Interface">
+ <intercept-url pattern="/**" access="ROLE_USER" />
+ <http-basic />
+ <anonymous />
+ </http>
+
+ <authentication-provider>
+ <user-service>
+ <user name="mbaudier" password="mbaudier" authorities="ROLE_USER,ROLE_ADMIN" />
+ <user name="cdujeu" password="cdujeu" authorities="ROLE_USER" />
+ <user name="test" password="test" authorities="ROLE_USER" />
+ </user-service>
+ </authentication-provider>
+
+</beans:beans>
version="2.5">
<display-name>SLC Web UI</display-name>
+
+ <!-- General -->
+ <context-param>
+ <param-name>contextConfigLocation</param-name>
+ <param-value>/WEB-INF/applicationContext.xml</param-value>
+ </context-param>
+
+ <listener>
+ <display-name>Spring Context</display-name>
+ <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+ </listener>
+ <context-param>
+ <param-name>contextClass</param-name>
+ <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
+ </context-param>
+
+ <!-- Security -->
+ <filter>
+ <filter-name>springSecurityFilterChain</filter-name>
+ <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>springSecurityFilterChain</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+
</web-app>