From: Mathieu Baudier Date: Wed, 16 Mar 2011 17:24:07 +0000 (+0000) Subject: Mode demo files X-Git-Tag: argeo-commons-2.1.30~1364 X-Git-Url: https://git.argeo.org/?a=commitdiff_plain;h=a99280d2bc1abd897373dbeeb34a1c6fd53e637c;p=lgpl%2Fargeo-commons.git Mode demo files git-svn-id: https://svn.argeo.org/commons/trunk@4298 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/osgi/runtime/org.argeo.osgi.boot/pom.xml b/osgi/runtime/org.argeo.osgi.boot/pom.xml index 80e13a91b..a35daa9b8 100644 --- a/osgi/runtime/org.argeo.osgi.boot/pom.xml +++ b/osgi/runtime/org.argeo.osgi.boot/pom.xml @@ -19,18 +19,6 @@ 1.4 - - org.apache.maven.plugins - maven-jar-plugin - - - org.apache.maven.plugins - maven-source-plugin - - - org.apache.maven.plugins - maven-surefire-plugin - org.apache.felix maven-bundle-plugin diff --git a/osgi/runtime/pom.xml b/osgi/runtime/pom.xml index a284a3377..564ae9a0c 100644 --- a/osgi/runtime/pom.xml +++ b/osgi/runtime/pom.xml @@ -14,4 +14,49 @@ org.argeo.osgi.boot + + + + src/main/resources + + + . + + META-INF/** + + + + + + maven-clean-plugin + + + + META-INF + + MANIFEST.MF + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + org.apache.maven.plugins + maven-source-plugin + + + org.apache.maven.plugins + maven-surefire-plugin + + + org.apache.felix + maven-bundle-plugin + true + + + \ No newline at end of file diff --git a/security/demo/.classpath b/security/demo/.classpath deleted file mode 100644 index d0bec0f76..000000000 --- a/security/demo/.classpath +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/security/demo/.project b/security/demo/.project deleted file mode 100644 index 85feecb52..000000000 --- a/security/demo/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - org.argeo.security.demo - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - diff --git a/security/demo/.settings/org.eclipse.jdt.core.prefs b/security/demo/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 742857a26..000000000 --- a/security/demo/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,5 +0,0 @@ -#Wed Sep 16 19:11:49 CEST 2009 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.source=1.5 diff --git a/security/demo/.settings/org.maven.ide.eclipse.prefs b/security/demo/.settings/org.maven.ide.eclipse.prefs deleted file mode 100644 index 004ee666a..000000000 --- a/security/demo/.settings/org.maven.ide.eclipse.prefs +++ /dev/null @@ -1,9 +0,0 @@ -#Wed Sep 16 19:09:41 CEST 2009 -activeProfiles= -eclipse.preferences.version=1 -fullBuildGoals=process-test-resources -includeModules=false -resolveWorkspaceProjects=true -resourceFilterGoals=process-resources resources\:testResources -skipCompilerPlugin=true -version=1 diff --git a/security/demo/argeo-node-ui.product b/security/demo/argeo-node-ui.product new file mode 100644 index 000000000..9dba05536 --- /dev/null +++ b/security/demo/argeo-node-ui.product @@ -0,0 +1,163 @@ + + + + + + + + + + -console -clean + -Dlog4j.configuration="file:${system_property:user.home}/dev/src/commons/security/demo/log4j.properties" + -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/security/demo/log4j.properties b/security/demo/log4j.properties new file mode 100644 index 000000000..8a89a4aa3 --- /dev/null +++ b/security/demo/log4j.properties @@ -0,0 +1,24 @@ +log4j.rootLogger=WARN, console + +## Levels +log4j.logger.org.argeo=DEBUG +log4j.logger.org.springframework.security=DEBUG + +log4j.logger.org.apache.catalina=INFO +log4j.logger.org.apache.coyote=INFO +log4j.logger.org.apache.tomcat=INFO + +log4j.logger.org.apache.directory.server=INFO +log4j.logger.org.apache.directory.server.core.partition=ERROR +log4j.logger.org.apache.directory.server.core.schema.bootstrap.BootstrapAttributeTypeRegistry=ERROR + +log4j.logger.org.apache.jackrabbit=WARN +log4j.logger.org.apache.jackrabbit.core.query.lucene=ERROR + +## Appenders +# console is set to be a ConsoleAppender. +log4j.appender.console=org.apache.log4j.ConsoleAppender + +# console uses PatternLayout. +log4j.appender.console.layout=org.apache.log4j.PatternLayout +log4j.appender.console.layout.ConversionPattern= %-5p %d{ISO8601} %m - %c - [%t]%n diff --git a/security/demo/org.argeo.security.demo.log4j/META-INF/MANIFEST.MF b/security/demo/org.argeo.security.demo.log4j/META-INF/MANIFEST.MF deleted file mode 100644 index 87597b0af..000000000 --- a/security/demo/org.argeo.security.demo.log4j/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Bundle-SymbolicName: org.argeo.security.demo.log4j -Bundle-Version: 0.2.3.SNAPSHOT -Fragment-Host: com.springsource.org.apache.log4j diff --git a/security/demo/org.argeo.security.demo.log4j/log4j.properties b/security/demo/org.argeo.security.demo.log4j/log4j.properties deleted file mode 100644 index 87bf4b768..000000000 --- a/security/demo/org.argeo.security.demo.log4j/log4j.properties +++ /dev/null @@ -1,21 +0,0 @@ -log4j.rootLogger=WARN, console - -## Levels -log4j.logger.org.argeo=DEBUG -log4j.logger.org.argeo.server.json=TRACE -log4j.logger.org.argeo.security.core=TRACE - -log4j.logger.org.springframework=WARN -log4j.logger.org.springframework.security=WARN - -log4j.logger.org.apache.directory.server=INFO -log4j.logger.org.apache.directory.server.core.partition=ERROR -log4j.logger.org.apache.directory.server.core.schema.bootstrap.BootstrapAttributeTypeRegistry=ERROR - -log4j.logger.org.apache.catalina.core.ContainerBase=INFO -log4j.logger.org.apache.coyote=INFO - -## Appenders -log4j.appender.console=org.apache.log4j.ConsoleAppender -log4j.appender.console.layout=org.apache.log4j.PatternLayout -log4j.appender.console.layout.ConversionPattern= %-5p %d{ISO8601} %m - %c%n diff --git a/security/demo/pom.xml b/security/demo/pom.xml deleted file mode 100644 index df0985700..000000000 --- a/security/demo/pom.xml +++ /dev/null @@ -1,107 +0,0 @@ - - 4.0.0 - - org.argeo.commons - 0.2.3-SNAPSHOT - security - .. - - org.argeo.security - demo - bundles - Commons Security Demo - - - - org.argeo.maven.plugins - maven-argeo-osgi-plugin - ${version.maven-argeo-osgi} - true - - org.argeo.security.demo - target/exec - org.argeo.osgi.boot - - -clean - - false - - - org.springframework.osgi.extender, - org.springframework.osgi.web.extender, - org.argeo.dep.osgi.catalina.start, - org.argeo.security.manager.ldap, - org.argeo.security.webapp, - org.argeo.security.ria, - org.argeo.security.core, - org.argeo.server.ads.server - - - ${basedir};in=*;ex=pom.xml;ex=target;ex=.*;ex=*.ldif, - ${basedir}/../modules;in=*;ex=pom.xml;ex=target;ex=.*, - ${basedir}/../../server/modules;in=*;ex=pom.xml;ex=target;ex=.*, - - com.sun.jndi.ldap - - - - - - - - - org.argeo.commons.security - org.argeo.security.mvc - 0.2.3-SNAPSHOT - - - org.argeo.commons.security - org.argeo.security.ria - 0.2.3-SNAPSHOT - - - org.argeo.commons.server - org.argeo.server.json - 0.2.3-SNAPSHOT - - - - - org.argeo.commons.osgi - org.argeo.osgi.boot - 0.2.3-SNAPSHOT - - - - - org.argeo.commons.server - org.argeo.server.dep.tomcat - 0.2.3-SNAPSHOT - pom - - - org.argeo.commons.server - org.argeo.server.dep.ads - 0.2.3-SNAPSHOT - pom - - - - - org.springframework.osgi - org.springframework.osgi.extender - - - org.springframework.osgi - org.springframework.osgi.web.extender - - - - - org.argeo.commons.server - org.argeo.server.ads - 0.2.3-SNAPSHOT - - - - \ No newline at end of file diff --git a/security/plugins/org.argeo.security.ui.rcp/build.properties b/security/plugins/org.argeo.security.ui.rcp/build.properties index ac478ab24..5ac3de985 100644 --- a/security/plugins/org.argeo.security.ui.rcp/build.properties +++ b/security/plugins/org.argeo.security.ui.rcp/build.properties @@ -3,5 +3,4 @@ output.. = target/classes/ bin.includes = plugin.xml,\ META-INF/,\ .,\ - log4j.properties,\ - jaas_config.txt + log4j.properties diff --git a/security/plugins/org.argeo.security.ui.rcp/log4j.properties b/security/plugins/org.argeo.security.ui.rcp/log4j.properties deleted file mode 100644 index 8a89a4aa3..000000000 --- a/security/plugins/org.argeo.security.ui.rcp/log4j.properties +++ /dev/null @@ -1,24 +0,0 @@ -log4j.rootLogger=WARN, console - -## Levels -log4j.logger.org.argeo=DEBUG -log4j.logger.org.springframework.security=DEBUG - -log4j.logger.org.apache.catalina=INFO -log4j.logger.org.apache.coyote=INFO -log4j.logger.org.apache.tomcat=INFO - -log4j.logger.org.apache.directory.server=INFO -log4j.logger.org.apache.directory.server.core.partition=ERROR -log4j.logger.org.apache.directory.server.core.schema.bootstrap.BootstrapAttributeTypeRegistry=ERROR - -log4j.logger.org.apache.jackrabbit=WARN -log4j.logger.org.apache.jackrabbit.core.query.lucene=ERROR - -## Appenders -# console is set to be a ConsoleAppender. -log4j.appender.console=org.apache.log4j.ConsoleAppender - -# console uses PatternLayout. -log4j.appender.console.layout=org.apache.log4j.PatternLayout -log4j.appender.console.layout.ConversionPattern= %-5p %d{ISO8601} %m - %c - [%t]%n diff --git a/security/plugins/org.argeo.security.ui.rcp/org.argeo.security.ui.application.product b/security/plugins/org.argeo.security.ui.rcp/org.argeo.security.ui.application.product deleted file mode 100644 index 3fabf3a19..000000000 --- a/security/plugins/org.argeo.security.ui.rcp/org.argeo.security.ui.application.product +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - -console -clean - -Dlog4j.configuration=file:${system_property:user.home}/dev/src/commons/security/plugins/org.argeo.security.ui.application/log4j.properties - -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/security/plugins/org.argeo.security.ui.rcp/plugin.xml b/security/plugins/org.argeo.security.ui.rcp/plugin.xml index ae0eef408..ce85359e0 100644 --- a/security/plugins/org.argeo.security.ui.rcp/plugin.xml +++ b/security/plugins/org.argeo.security.ui.rcp/plugin.xml @@ -8,7 +8,7 @@ id="org.argeo.security.ui.product" point="org.eclipse.core.runtime.products"> + name="ArgeoProduct" application="org.argeo.security.ui.rcp.secureUi"> diff --git a/security/pom.xml b/security/pom.xml index 8d6d21d42..915b355c0 100644 --- a/security/pom.xml +++ b/security/pom.xml @@ -16,6 +16,5 @@ plugins dep features - demo \ No newline at end of file diff --git a/security/runtime/org.argeo.security.activemq/.classpath b/security/runtime/org.argeo.security.activemq/.classpath index 92f19d2ff..d3d5c8095 100644 --- a/security/runtime/org.argeo.security.activemq/.classpath +++ b/security/runtime/org.argeo.security.activemq/.classpath @@ -3,5 +3,6 @@ + diff --git a/security/runtime/org.argeo.security.activemq/src/main/resources/org/argeo/security/activemq/osLogin.conf b/security/runtime/org.argeo.security.activemq/src/main/resources/org/argeo/security/activemq/osLogin.conf new file mode 100644 index 000000000..17df63ca9 --- /dev/null +++ b/security/runtime/org.argeo.security.activemq/src/main/resources/org/argeo/security/activemq/osLogin.conf @@ -0,0 +1,12 @@ +Unix { + com.sun.security.auth.module.UnixLoginModule required; +}; + +Solaris { + com.sun.security.auth.module.SolarisLoginModule required; +}; + +Windows { + com.sun.security.auth.module.NTLoginModule required; +}; + diff --git a/security/runtime/org.argeo.security.core/pom.xml b/security/runtime/org.argeo.security.core/pom.xml index e9eca020c..8ffada70e 100644 --- a/security/runtime/org.argeo.security.core/pom.xml +++ b/security/runtime/org.argeo.security.core/pom.xml @@ -35,6 +35,7 @@ org.springframework.context, org.springframework.beans.factory, + org.argeo.jcr, * diff --git a/security/runtime/org.argeo.security.core/src/main/resources/org/argeo/security/activemq/osLogin.conf b/security/runtime/org.argeo.security.core/src/main/resources/org/argeo/security/activemq/osLogin.conf deleted file mode 100644 index 17df63ca9..000000000 --- a/security/runtime/org.argeo.security.core/src/main/resources/org/argeo/security/activemq/osLogin.conf +++ /dev/null @@ -1,12 +0,0 @@ -Unix { - com.sun.security.auth.module.UnixLoginModule required; -}; - -Solaris { - com.sun.security.auth.module.SolarisLoginModule required; -}; - -Windows { - com.sun.security.auth.module.NTLoginModule required; -}; -