-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.argeo.slc</groupId>
</build>
<dependencies>
<dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.osgiboot</artifactId>
+ <groupId>org.argeo.commons.osgi</groupId>
+ <artifactId>org.argeo.osgi.boot</artifactId>
+ <version>${version.argeo-commons}</version>
</dependency>
<!--
- Unit Tests -->
- <dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.unit</artifactId>
- <scope>test</scope>
- </dependency>
-
+ Unit Tests <dependency> <groupId>org.argeo.slc.runtime</groupId>
+ <artifactId>org.argeo.slc.unit</artifactId> <scope>test</scope>
+ </dependency>
+ -->
</dependencies>
<configuration>
<execDir>target/exec/server</execDir>
<systemProperties>
- <slc.osgi.start>
+ <argeo.osgi.start>
org.springframework.osgi.extender,
+ org.argeo.server.ads.server,
org.argeo.slc.server.hsqldb,
org.argeo.slc.server.main,
org.argeo.slc.ria
- </slc.osgi.start>
- <slc.osgi.bundles>
+ </argeo.osgi.start>
+ <argeo.osgi.bundles>
${basedir}/site;in=*;ex=pom.xml;ex=target,
${basedir}/../modules/server;in=*;ex=pom.xml;ex=target;ex=.*,
${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
- </slc.osgi.bundles>
+ </argeo.osgi.bundles>
</systemProperties>
</configuration>
</plugin>
<groupId>org.argeo.slc.server</groupId>
<artifactId>org.argeo.slc.ria</artifactId>
</dependency>
+
+ <!-- Security -->
+ <dependency>
+ <groupId>org.argeo.commons.security</groupId>
+ <artifactId>org.argeo.security.dep.ads</artifactId>
+ <version>${version.argeo-commons}</version>
+ <type>pom</type>
+ </dependency>
</dependencies>
</profile>
<profile>
<configuration>
<execDir>target/exec/agent</execDir>
<systemProperties>
- <slc.osgi.start>
+ <argeo.osgi.start>
org.springframework.osgi.extender,
org.argeo.slc.support.equinox,
org.argeo.slc.agent,
org.argeo.slc.agent.jms
- </slc.osgi.start>
- <slc.osgi.bundles>
+ </argeo.osgi.start>
+ <argeo.osgi.bundles>
${basedir}/site;in=*;ex=pom.xml;ex=target,
${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
- </slc.osgi.bundles>
+ </argeo.osgi.bundles>
</systemProperties>
</configuration>
</plugin>
<execDir>target/exec/detached</execDir>
<fork>true</fork>
<systemProperties>
- <slc.osgi.start>
+ <argeo.osgi.start>
org.springframework.osgi.extender,
org.argeo.slc.detached,
org.argeo.slc.demo.det
- </slc.osgi.start>
- <slc.osgi.bundles>
+ </argeo.osgi.start>
+ <argeo.osgi.bundles>
${basedir}/site;in=org.argeo.slc.demo.det;ex=pom.xml;ex=target,
${basedir}/site;in=org.argeo.slc.demo.log4j;ex=pom.xml;ex=target,
- </slc.osgi.bundles>
+ </argeo.osgi.bundles>
<javax.xml.parsers.DocumentBuilderFactory>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</javax.xml.parsers.DocumentBuilderFactory>
</systemProperties>
</configuration>
<configuration>
<execDir>target/exec/agent</execDir>
<systemProperties>
- <slc.osgi.start>
+ <argeo.osgi.start>
org.springframework.osgi.extender,
org.argeo.slc.support.equinox,
org.argeo.slc.agent
- </slc.osgi.start>
- <slc.osgi.bundles>
+ </argeo.osgi.start>
+ <argeo.osgi.bundles>
${basedir}/site;in=*;ex=pom.xml;ex=target,
${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
- </slc.osgi.bundles>
+ </argeo.osgi.bundles>
</systemProperties>
</configuration>
</plugin>
-->
</jvmArgs>
<systemProperties>
- <slc.osgi.start>
+ <argeo.osgi.start>
org.argeo.dep.osgi.catalina.start,
org.springframework.osgi.extender,
org.springframework.osgi.web.extender,
org.argeo.slc.server.jms,
org.argeo.slc.webapp,
org.argeo.slc.ria
- </slc.osgi.start>
+ </argeo.osgi.start>
</systemProperties>
</configuration>
</plugin>
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
- <bundle id="basic" symbolic-name="org.argeo.slc.demo.basic"
- action="start" />
<bundle id="minimal" symbolic-name="org.argeo.slc.demo.minimal"
action="start" />
+ <bundle id="basic" symbolic-name="org.argeo.slc.demo.basic"
+ action="start" />
<bundle id="ant" symbolic-name="org.argeo.slc.demo.ant" action="start" />
<bundle id="detached" symbolic-name="org.argeo.slc.demo.detached"
action="start" />
Manifest-Version: 1.0
+Bundle-SymbolicName: org.argeo.slc.demo.detached
Bundle-Version: 0.12.1.SNAPSHOT
Bundle-Name: SLC Demo Detached (Test)
-Import-Package: net.sf.cglib.core,net.sf.cglib.proxy,net.sf.cglib.refl
- ect,org.aopalliance.aop,org.argeo.slc.core.attachment,org.argeo.slc.c
- ore.execution,org.argeo.slc.core.execution.tasks,org.argeo.slc.core.s
- tructure.tree,org.argeo.slc.core.test,org.argeo.slc.core.test.context
- ,org.argeo.slc.core.test.tree,org.argeo.slc.detached,org.argeo.slc.de
- tached.drivers,org.argeo.slc.execution,org.argeo.slc.lib.detached,org
- .argeo.slc.osgi,org.argeo.slc.structure,org.argeo.slc.test,org.spring
- framework.aop,org.springframework.aop.framework,org.springframework.a
- op.scope,org.springframework.beans.factory.config,org.springframework
- .core.io,org.springframework.oxm.castor
-Bundle-SymbolicName: org.argeo.slc.demo.detached
+Import-Package: net.sf.cglib.core,
+ net.sf.cglib.proxy,
+ net.sf.cglib.reflect,
+ org.aopalliance.aop,
+ org.argeo.slc.core.attachment,
+ org.argeo.slc.core.execution,
+ org.argeo.slc.core.execution.tasks,
+ org.argeo.slc.core.structure.tree,
+ org.argeo.slc.core.test,
+ org.argeo.slc.core.test.context,
+ org.argeo.slc.core.test.tree,
+ org.argeo.slc.detached,
+ org.argeo.slc.detached.drivers,
+ org.argeo.slc.execution,
+ org.argeo.slc.lib.detached,
+ org.argeo.slc.osgi,
+ org.argeo.slc.structure,
+ org.argeo.slc.test,
+ org.springframework.aop,
+ org.springframework.aop.framework,
+ org.springframework.aop.scope,
+ org.springframework.beans.factory.config,
+ org.springframework.core.io,
+ org.springframework.oxm.castor
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.argeo.slc</groupId>
<groupId>org.argeo.slc.runtime</groupId>
<artifactId>org.argeo.slc.support.castor</artifactId>
</dependency>
-
+
<!-- Additional -->
<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<groupId>org.argeo.slc.runtime</groupId>
<artifactId>org.argeo.slc.lib.detached</artifactId>
</dependency>
+
+ <!-- ASM -->
+ <dependency>
+ <groupId>org.objectweb.asm</groupId>
+ <artifactId>com.springsource.org.objectweb.asm</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.objectweb.asm</groupId>
+ <artifactId>com.springsource.org.objectweb.asm.attrs</artifactId>
+ </dependency>
+
</dependencies>
</project>
\ No newline at end of file
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.argeo.slc</groupId>
<artifactId>org.argeo.slc.support.equinox</artifactId>
</dependency>
+ <!-- Commons -->
+ <dependency>
+ <groupId>org.argeo.commons.server</groupId>
+ <artifactId>org.argeo.server.modules</artifactId>
+ <version>${version.argeo-commons}</version>
+ <type>pom</type>
+ </dependency>
+ <!-- Security -->
+ <dependency>
+ <groupId>org.argeo.commons.security</groupId>
+ <artifactId>org.argeo.security.dep.ldap</artifactId>
+ <version>${version.argeo-commons}</version>
+ <type>pom</type>
+ </dependency>
+
<!-- OSGi integration -->
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>com.springsource.org.aopalliance</artifactId>
</dependency>
- <!-- JSP -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>com.springsource.javax.servlet.jsp</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>com.springsource.javax.el</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.el</groupId>
- <artifactId>com.springsource.org.apache.el</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.taglibs</groupId>
- <artifactId>com.springsource.org.apache.taglibs.standard</artifactId>
- </dependency>
-
<!-- Tomcat -->
<dependency>
- <groupId>org.argeo.dep.osgi</groupId>
- <artifactId>org.argeo.dep.osgi.catalina.start</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.catalina</groupId>
- <artifactId>com.springsource.org.apache.catalina</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.jasper</groupId>
- <artifactId>com.springsource.org.apache.jasper</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.xml.ws</groupId>
- <artifactId>com.springsource.javax.xml.ws</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.xml.bind</groupId>
- <artifactId>com.springsource.javax.xml.bind</artifactId>
+ <groupId>org.argeo.commons.server</groupId>
+ <artifactId>org.argeo.server.dep.tomcat</artifactId>
+ <version>${version.argeo-commons}</version>
+ <type>pom</type>
</dependency>
<!-- DB Drivers -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.argeo.slc</groupId>
<arg>-clean</arg>
</argsToAppend>
<systemProperties>
- <slc.osgi.bundles>
+ <argeo.osgi.bundles>
${basedir}/../../demo/site;in=*;ex=target;ex=pom.xml,
${basedir}/../../modules/server;in=*;ex=target;ex=pom.xml,
${basedir}/../../modules/agent;in=*;ex=target;ex=pom.xml
- </slc.osgi.bundles>
- <slc.osgi.start>
+ </argeo.osgi.bundles>
+ <argeo.osgi.start>
org.springframework.osgi.extender,
org.argeo.slc.server.main,
org.argeo.slc.server.hsqldb,
org.argeo.slc.ria,
- org.argeo.slc.agent,
+ org.argeo.slc.agent,
org.argeo.slc.agent.jms
- </slc.osgi.start>
+ </argeo.osgi.start>
</systemProperties>
</configuration>
<executions>
</plugins>
</build>
<dependencies>
+ <dependency>
+ <groupId>org.argeo.commons.osgi</groupId>
+ <artifactId>org.argeo.osgi.boot</artifactId>
+ <version>${version.argeo-commons}</version>
+ </dependency>
+
<dependency>
<groupId>org.argeo.slc.dep</groupId>
<artifactId>org.argeo.slc.dep.server</artifactId>
<artifactId>org.argeo.slc.dep.agent</artifactId>
<version>${project.version}</version>
</dependency>
+
+ <!-- Security -->
+ <dependency>
+ <groupId>org.argeo.commons.security</groupId>
+ <artifactId>org.argeo.security.dep.ads</artifactId>
+ <version>${version.argeo-commons}</version>
+ <type>pom</type>
+ </dependency>
+
<!-- RIA -->
<dependency>
<groupId>org.argeo.slc.server</groupId>
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
- <bundle id="activemq.broker" symbolic-name="org.argeo.slc.server.activemq.broker"
+ <!-- Security -->
+ <bundle id="security.ldap" symbolic-name="org.argeo.security.manager.ldap"
+ action="start" />
+ <bundle id="security.services" symbolic-name="org.argeo.security.core"
+ action="start" />
+
+ <!-- SLC Middleware -->
+ <bundle id="activemq.broker" symbolic-name="org.argeo.server.activemq.broker"
action="start" />
<bundle id="castor" symbolic-name="org.argeo.slc.server.castor"
action="start" />
<bundle id="jms" symbolic-name="org.argeo.slc.server.jms"
action="start" />
+ <!-- Web -->
<bundle id="spring.osgi.web.extender" symbolic-name="org.springframework.osgi.web.extender"
action="start" />
<bundle id="catalina" symbolic-name="org.argeo.dep.osgi.catalina.start"
action="start" />
- <bundle id="webapp" symbolic-name="org.argeo.slc.webapp" action="start" />
+
+ <!-- Web app start order is important! Security should be first -->
+ <bundle id="security.webapp" symbolic-name="org.argeo.security.webapp"
+ action="start" />
+ <bundle id="slc.webapp" symbolic-name="org.argeo.slc.webapp"
+ action="start" />
</beans:beans>
\ No newline at end of file
Bundle-Name: SLC Webapp
Web-ContextPath: org.argeo.slc.webapp
Bundle-SymbolicName: org.argeo.slc.webapp
-Import-Package: net.sf.cglib.core,net.sf.cglib.proxy,net.sf.cglib.refl
- ect,org.aopalliance.aop,org.argeo.slc.build,org.argeo.slc.core.attach
- ment,org.argeo.slc.core.test.tree,org.argeo.slc.dao.process,org.argeo
- .slc.dao.runtime,org.argeo.slc.dao.test,org.argeo.slc.dao.test.tree,o
- rg.argeo.slc.deploy,org.argeo.slc.msg.event,org.argeo.slc.runtime,org
- .argeo.slc.services,org.argeo.slc.web.mvc,org.argeo.slc.web.mvc.attac
- hment,org.argeo.slc.web.mvc.event,org.argeo.slc.web.mvc.execution,org
- .argeo.slc.web.mvc.management,org.argeo.slc.web.mvc.process,org.argeo
- .slc.web.mvc.provisioning,org.argeo.slc.web.mvc.result,org.argeo.slc.
- web.mvc.runtime,org.hibernate,org.hibernate.hql.ast,org.hibernate.jdb
- c,org.springframework.aop,org.springframework.aop.framework,org.sprin
- gframework.aop.scope,org.springframework.beans.factory.support,org.sp
- ringframework.orm.hibernate3.support,org.springframework.osgi.web.con
- text.support,org.springframework.oxm,org.springframework.security.con
- text,org.springframework.security.providers,org.springframework.secur
- ity.ui.webapp,org.springframework.security.userdetails.memory,org.spr
- ingframework.transaction,org.springframework.web.context,org.springfr
- amework.web.context.request,org.springframework.web.context.support,o
- rg.springframework.web.filter,org.springframework.web.servlet,org.spr
- ingframework.web.servlet.handler,org.springframework.web.servlet.mvc
+Import-Package: net.sf.cglib.core,
+ net.sf.cglib.proxy,
+ net.sf.cglib.reflect,
+ org.aopalliance.aop,
+ org.argeo.slc.build,
+ org.argeo.slc.core.attachment,
+ org.argeo.slc.core.test.tree,
+ org.argeo.slc.dao.process,
+ org.argeo.slc.dao.runtime,
+ org.argeo.slc.dao.test,
+ org.argeo.slc.dao.test.tree,
+ org.argeo.slc.deploy,
+ org.argeo.slc.msg.event,
+ org.argeo.slc.runtime,
+ org.argeo.slc.services,
+ org.argeo.slc.web.mvc,
+ org.argeo.slc.web.mvc.attachment,
+ org.argeo.slc.web.mvc.event,
+ org.argeo.slc.web.mvc.execution,
+ org.argeo.slc.web.mvc.management,
+ org.argeo.slc.web.mvc.process,
+ org.argeo.slc.web.mvc.provisioning,
+ org.argeo.slc.web.mvc.result,
+ org.argeo.slc.web.mvc.runtime,
+ org.hibernate,
+ org.hibernate.hql.ast,
+ org.hibernate.jdbc,
+ org.springframework.aop,
+ org.springframework.aop.framework,
+ org.springframework.aop.scope,
+ org.springframework.beans.factory.support,
+ org.springframework.orm.hibernate3.support,
+ org.springframework.osgi.web.context.support,
+ org.springframework.oxm,
+ org.springframework.security,
+ org.springframework.security.context,
+ org.springframework.security.providers,
+ org.springframework.security.ui,
+ org.springframework.security.ui.webapp,
+ org.springframework.security.userdetails.memory,
+ org.springframework.transaction,
+ org.springframework.web.context,
+ org.springframework.web.context.request,
+ org.springframework.web.context.support,
+ org.springframework.web.filter,
+ org.springframework.web.servlet,
+ org.springframework.web.servlet.handler,
+ org.springframework.web.servlet.mvc
<!--
<import resource="classpath:/org/argeo/slc/server/spring/jmx.xml" />
-->
- <import resource="security.xml" />
-
<import resource="osgi.xml" />
+ <import resource="security.xml" />
<!-- Hibernate instrumentation-->
<bean id="osivInterceptor"
<reference interface="org.argeo.slc.execution.ExecutionModulesManager"\r
id="modulesManager" />\r
-->\r
- <reference id="testManagerService"\r
- interface="org.argeo.slc.services.TestManagerService" />\r
+ <reference id="testManagerService" interface="org.argeo.slc.services.TestManagerService" />\r
<reference id="agentService" interface="org.argeo.slc.services.AgentService" />\r
- <reference id="slcExecutionService"\r
- interface="org.argeo.slc.services.SlcExecutionService" />\r
+ <reference id="slcExecutionService" interface="org.argeo.slc.services.SlcExecutionService" />\r
\r
<reference id="hibernateTransactionManager"\r
interface="org.springframework.transaction.PlatformTransactionManager"\r
<set id="modularDistributions" interface="org.argeo.slc.build.ModularDistribution"\r
cardinality="0..N" />\r
\r
+ <!-- Security -->\r
+ <!-- <reference id="authenticationEntryPoint"\r
+ interface="org.springframework.security.ui.AuthenticationEntryPoint" />-->\r
+ <reference id="_authenticationManager"\r
+ interface="org.springframework.security.AuthenticationManager" />\r
+\r
</beans:beans>
\ No newline at end of file
-<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">
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:security="http://www.springframework.org/schema/security"
+ 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
+ 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,ROLE_ADMIN" />
- <http-basic />
- <anonymous />
- </http>
+ <bean id="authenticationEntryPoint"
+ class="org.springframework.security.ui.webapp.AuthenticationProcessingFilterEntryPoint">
+ <property name="loginFormUrl"
+ value="http://localhost/org.argeo.security.webapp/getCredentials.ria" />
+ <property name="forceHttps" value="false" />
+ </bean>
- <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 name="demo" password="demo" authorities="ROLE_USER" />
- </user-service>
- </authentication-provider>
-
-</beans:beans>
+ <security:http entry-point-ref="authenticationEntryPoint">
+ <security:intercept-url pattern="**"
+ access="ROLE_USER,ROLE_ADMIN" />
+ <!-- <security:http-basic /> -->
+ </security:http>
+</beans>
\ No newline at end of file
<properties>
<developmentCycle>0.12</developmentCycle>
<version.argeo-ria>0.12.2-SNAPSHOT</version.argeo-ria>
+ <version.argeo-commons>0.1.2-SNAPSHOT</version.argeo-commons>
<version.equinox>3.4.2.R34x_v20080826-1230</version.equinox>
<version.maven-bundle-plugin>2.0.0</version.maven-bundle-plugin>
- <version.maven-argeo-osgi>0.1.21</version.maven-argeo-osgi>
+ <version.maven-argeo-osgi>0.1.22-SNAPSHOT</version.maven-argeo-osgi>
<version.maven-argeo-qooxdoo>0.8.2.1</version.maven-argeo-qooxdoo>
<site.repoBase>file:///var/argeo/projects/SLC/www/site</site.repoBase>
<site.urlBase>http://www.argeo.org/projects/slc/site</site.urlBase>
<classifier>dist</classifier>
</dependency>
+ <!-- Argeo Commons -->
+ <dependency>
+ <groupId>org.argeo.commons.security</groupId>
+ <artifactId>org.argeo.security.dep.ads</artifactId>
+ <version>${version.argeo-commons}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.commons.osgi</groupId>
+ <artifactId>org.argeo.osgi.boot</artifactId>
+ <version>${version.argeo-commons}</version>
+ </dependency>
+
+ <!-- Third Parties -->
<dependency>
<groupId>org.argeo.dep</groupId>
<artifactId>versions</artifactId>
- <version>1.0.0</version>
+ <version>1.0.1-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
PROP_SLC_OSGIBOOT_DEFAULT_TIMEOUT, "10000"));
modulesUrlSeparator = getProperty(
PROP_SLC_OSGIBOOT_MODULES_URL_SEPARATOR, ",");
+
+ warn("############################################################################################################");
+ warn("########################## THIS COMPONENT IS DEPRECATED AND WILL BE REMOVED SOON ##########################");
+ warn("########################## USE org.argeo.commons.osgi:org.argeo.osgi.boot INSTEAD ##########################");
+ warn("############################################################################################################");
}
public void bootstrap() {
</parent>
<groupId>org.argeo.slc.runtime</groupId>
<artifactId>org.argeo.slc.support.equinox</artifactId>
- <name>SLC Support Equinox OSGi</name>
+ <name>SLC Support Equinox</name>
<packaging>jar</packaging>
<properties />
<build>
<artifactId>org.argeo.slc.support.osgi</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.eclipse.osgi</groupId>
+ <artifactId>org.eclipse.osgi</artifactId>
+ </dependency>
+
<!-- Unit Tests -->
<dependency>
<groupId>org.argeo.slc.runtime</groupId>
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.osgi</artifactId>
+ <scope>provided</scope>
</dependency>
+
<dependency>
<groupId>org.springframework.osgi</groupId>
<artifactId>org.springframework.osgi.core</artifactId>
<artifactId>com.springsource.org.objectweb.asm.attrs</artifactId>
</dependency>
- <dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.osgiboot</artifactId>
- </dependency>
-
<!--
Xalan and Xerces are implicitly required since the JDK provided
implementations are overridden in the execution modules manager
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.argeo.slc</groupId>
<!-- OSGi -->
<dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.osgiboot</artifactId>
+ <groupId>org.argeo.commons.osgi</groupId>
+ <artifactId>org.argeo.osgi.boot</artifactId>
+ <version>${version.argeo-commons}</version>
</dependency>
<dependency>
<groupId>org.springframework.osgi</groupId>
"qx.version" : "${QXVERSION}",\r
"qx.theme" : "${QXTHEME}",\r
"qx.application" : "${APPLICATION}.Application",\r
+ "ria.splashScreen" : "org.argeo.security.ria/ArgeoLogo.png",\r
"ria.auth.enableAuth" : "true",\r
- "ria.auth.credentialsURI" : "/org.argeo.slc.webapp/getCredentials.ria",\r
- "ria.auth.loginURI" : "/org.argeo.slc.webapp/authService.ria",\r
- "ria.auth.logoutURI" : "/org.argeo.slc.webapp/authService.ria?logout=true",\r
+ "ria.auth.credentialsURI" : "/org.argeo.security.webapp/getCredentials.ria",\r
+ "ria.auth.loginURI" : "/org.argeo.security.webapp/login.ria",\r
+ "ria.auth.logoutURI" : "/org.argeo.security.webapp/logout.ria",\r
"ria.StartupPerspective":"org.argeo.slc.web.Perspective" \r
}\r
},\r
javax.servlet.jsp.jstl.core,
javax.servlet.jsp.jstl.fmt,
javax.servlet.jsp.jstl.tlv,
- 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,
- org.springframework.security.context
+ javax.servlet.resources
</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 />
- </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 name="demo" password="demo" 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>