You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2013/03/28 11:35:35 UTC
[11/20] ISIS-381: mothballing HTML viewer, SQL security, LDAP security
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/pom.xml
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/pom.xml b/example/application/quickstart_html_sql/pom.xml
deleted file mode 100644
index b2f3e61..0000000
--- a/example/application/quickstart_html_sql/pom.xml
+++ /dev/null
@@ -1,261 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<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>
-
- <groupId>org.apache.isis.example.application</groupId>
- <artifactId>quickstart_html_sql</artifactId>
- <version>1.0.0-SNAPSHOT</version>
-
- <name>Quickstart (HTML/SQL) App</name>
-
- <packaging>pom</packaging>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-
- <isis.version>1.1.1-SNAPSHOT</isis.version>
- <isis-objectstore-sql.version>1.0.0-SNAPSHOT</isis-objectstore-sql.version>
- <isis-objectstore-xml.version>1.0.0-SNAPSHOT</isis-objectstore-xml.version>
- <isis-viewer-dnd.version>1.0.0-SNAPSHOT</isis-viewer-dnd.version>
- <isis-viewer-scimpi.version>1.0.0-SNAPSHOT</isis-viewer-scimpi.version>
- <isis-viewer-html.version>1.0.0-SNAPSHOT</isis-viewer-html.version>
- <isis-security-file.version>1.0.1-SNAPSHOT</isis-security-file.version>
- </properties>
-
- <repositories>
- <repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshots</name>
- <url>https://repository.apache.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.1</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- <executions>
- <execution>
- <id>source</id>
- <phase>compile</phase>
- </execution>
- <execution>
- <id>test</id>
- <phase>test-compile</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <excludes>
- <exclude>**/Test*.java</exclude>
- </excludes>
- <useFile>true</useFile>
- <printSummary>false</printSummary>
- <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <excludes>
- <exclude>**/Test*.java</exclude>
- </excludes>
- <showSuccess>false</showSuccess>
- </configuration>
- <executions>
- <execution>
- <phase>test</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.25</version>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>1.4</version>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.6</version>
- <executions>
- <execution>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- http://simplericity.com/2009/11/10/1257880778509.html -->
- <plugin>
- <groupId>org.simplericity.jettyconsole</groupId>
- <artifactId>jetty-console-maven-plugin</artifactId>
- <version>1.43</version>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
- <modules>
- <module>dom</module>
- <module>fixture</module>
- <module>viewer-html</module>
- </modules>
-
- <dependencyManagement>
- <dependencies>
-
- <dependency>
- <groupId>org.apache.isis.core</groupId>
- <artifactId>isis</artifactId>
- <version>${isis.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.isis.objectstore</groupId>
- <artifactId>isis-objectstore-xml</artifactId>
- <version>${isis-objectstore-xml.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.isis.objectstore</groupId>
- <artifactId>isis-objectstore-sql</artifactId>
- <version>${isis-objectstore-sql.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>isis-viewer-dnd</artifactId>
- <version>${isis-viewer-dnd.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>isis-viewer-scimpi</artifactId>
- <version>${isis-viewer-scimpi.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>isis-viewer-html</artifactId>
- <version>${isis-viewer-html.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.isis.security</groupId>
- <artifactId>isis-security-file</artifactId>
- <version>${isis-security-file.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
-
-
- <!-- this project's own modules -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>quickstart_html_sql-dom</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>quickstart_html_sql-fixture</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>quickstart_html_sql-viewer-html</artifactId>
- <version>${project.version}</version>
- </dependency>
-
-
-
- </dependencies>
- </dependencyManagement>
-
- <profiles>
- <profile>
- <id>m2e</id>
- <activation>
- <property>
- <name>m2e.version</name>
- </property>
- </activation>
- <build>
- <directory>target-ide</directory>
- </build>
- </profile>
- </profiles>
-
-</project>
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.lck
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.lck b/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.lck
deleted file mode 100644
index 5cd2e57..0000000
Binary files a/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.lck and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.log
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.log b/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.log
deleted file mode 100644
index 7b4d229..0000000
--- a/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.log
+++ /dev/null
@@ -1,2 +0,0 @@
-/*C3*/SET SCHEMA PUBLIC
-create table ISIS_ADMIN_SERVICES (PK_ID int, ID varchar(255))
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.properties
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.properties b/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.properties
deleted file mode 100644
index e17168d..0000000
--- a/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-#HSQL Database Engine 2.2.8
-#Wed Oct 10 18:15:49 BST 2012
-version=2.2.8
-modified=yes
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.script
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.script b/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.script
deleted file mode 100644
index 13c8dd0..0000000
--- a/example/application/quickstart_html_sql/viewer-html/hsql-db/tests.script
+++ /dev/null
@@ -1,46 +0,0 @@
-SET DATABASE UNIQUE NAME HSQLDB3A4BACD59D
-SET DATABASE GC 0
-SET DATABASE DEFAULT RESULT MEMORY ROWS 0
-SET DATABASE EVENT LOG LEVEL 0
-SET DATABASE SQL NAMES FALSE
-SET DATABASE SQL REFERENCES FALSE
-SET DATABASE SQL SIZE TRUE
-SET DATABASE SQL TYPES FALSE
-SET DATABASE SQL TDC DELETE TRUE
-SET DATABASE SQL TDC UPDATE TRUE
-SET DATABASE SQL TRANSLATE TTI TYPES TRUE
-SET DATABASE SQL CONCAT NULLS TRUE
-SET DATABASE SQL NULLS FIRST TRUE
-SET DATABASE SQL UNIQUE NULLS TRUE
-SET DATABASE SQL CONVERT TRUNCATE TRUE
-SET DATABASE SQL AVG SCALE 0
-SET DATABASE SQL DOUBLE NAN TRUE
-SET DATABASE SQL LONGVAR IS LOB FALSE
-SET DATABASE TRANSACTION CONTROL LOCKS
-SET DATABASE DEFAULT ISOLATION LEVEL READ COMMITTED
-SET DATABASE TRANSACTION ROLLBACK ON CONFLICT TRUE
-SET DATABASE TEXT TABLE DEFAULTS ''
-SET FILES WRITE DELAY 500 MILLIS
-SET FILES BACKUP INCREMENT TRUE
-SET FILES CACHE SIZE 10000
-SET FILES CACHE ROWS 50000
-SET FILES SCALE 8
-SET FILES LOB SCALE 32
-SET FILES DEFRAG 0
-SET FILES NIO TRUE
-SET FILES NIO SIZE 256
-SET FILES LOG TRUE
-SET FILES LOG SIZE 50
-CREATE USER SA PASSWORD DIGEST 'd41d8cd98f00b204e9800998ecf8427e'
-ALTER USER SA SET LOCAL TRUE
-CREATE SCHEMA PUBLIC AUTHORIZATION DBA
-ALTER SEQUENCE SYSTEM_LOBS.LOB_ID RESTART WITH 1
-SET DATABASE DEFAULT INITIAL SCHEMA PUBLIC
-GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.YES_OR_NO TO PUBLIC
-GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.TIME_STAMP TO PUBLIC
-GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.CARDINAL_NUMBER TO PUBLIC
-GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.CHARACTER_DATA TO PUBLIC
-GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.SQL_IDENTIFIER TO PUBLIC
-GRANT DBA TO SA
-SET SCHEMA SYSTEM_LOBS
-INSERT INTO BLOCKS VALUES(0,2147483647,0)
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/ide/eclipse/launch/quickstart-viewer-html.launch
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/ide/eclipse/launch/quickstart-viewer-html.launch b/example/application/quickstart_html_sql/viewer-html/ide/eclipse/launch/quickstart-viewer-html.launch
deleted file mode 100644
index 99a0ac6..0000000
--- a/example/application/quickstart_html_sql/viewer-html/ide/eclipse/launch/quickstart-viewer-html.launch
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/org.apache.isis.runtimes.dflt.webserver/src/main/java/org/apache/isis/WebServer.java"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="1"/>
-</listAttribute>
-<mapAttribute key="org.eclipse.debug.core.preferred_launchers">
-<mapEntry key="[debug]" value="org.eclipse.jdt.launching.localJavaApplication"/>
-<mapEntry key="[run]" value="org.eclipse.jdt.launching.localJavaApplication"/>
-</mapAttribute>
-<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"/>
-<booleanAttribute key="org.eclipse.jdt.debug.ui.INCLUDE_EXTERNAL_JARS" value="true"/>
-<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.m2e.launchconfig.classpathProvider"/>
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.apache.isis.WebServer"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="--type server_exploration"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="quickstart-viewer-html"/>
-<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
-</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/lib/.gitignore
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/lib/.gitignore b/example/application/quickstart_html_sql/viewer-html/lib/.gitignore
deleted file mode 100644
index 70eee7e..0000000
--- a/example/application/quickstart_html_sql/viewer-html/lib/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-#
-# explicitly ignoring Microsoft JDBC4 jar
-# (cannot redistribute, licensing)
-#
-sqljdbc4.jar
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/pom.xml
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/pom.xml b/example/application/quickstart_html_sql/viewer-html/pom.xml
deleted file mode 100644
index 43ae71f..0000000
--- a/example/application/quickstart_html_sql/viewer-html/pom.xml
+++ /dev/null
@@ -1,186 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<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.apache.isis.example.application</groupId>
- <artifactId>quickstart_html_sql</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>quickstart_html_sql-viewer-html</artifactId>
-
- <name>Quickstart (HTML/SQL) HTML Viewer</name>
- <description>This module runs Isis' HTML webapp viewer. By default it is configured to
- run using the sql object store. See other viewer modules for more persistence
- options.</description>
-
- <packaging>war</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- </plugin>
-
- <!-- mvn package -->
- <plugin>
- <groupId>org.simplericity.jettyconsole</groupId>
- <artifactId>jetty-console-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>createconsole</goal>
- </goals>
- <configuration>
- <backgroundImage>${basedir}/src/main/jettyconsole/isis-banner.png</backgroundImage>
- </configuration>
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
-
- <!-- prereqs: mvn package -->
- <!-- mvn antrun:run -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <configuration>
- <tasks>
- <exec executable="java" failonerror="true">
- <arg value="-jar"/>
- <arg value="${project.build.directory}/${project.build.finalName}-jetty-console.war"/>
- </exec>
- </tasks>
- </configuration>
- </plugin>
-
- </plugins>
- </build>
-
- <dependencies>
-
- <!-- other modules in this project -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>quickstart_html_sql-dom</artifactId>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>quickstart_html_sql-fixture</artifactId>
- </dependency>
-
-
-
- <!-- objectstore/domain service/repository implementations -->
-
- <dependency>
- <groupId>org.apache.isis.objectstore</groupId>
- <artifactId>isis-objectstore-sql-impl</artifactId>
- </dependency>
-
-
- <!-- isis viewer -->
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>isis-viewer-html-impl</artifactId>
- </dependency>
-
-
-
- <!-- isis core -->
- <dependency>
- <groupId>org.apache.isis.core</groupId>
- <artifactId>isis-core-metamodel</artifactId>
- </dependency>
-
- <!-- isis default runtime -->
- <dependency>
- <groupId>org.apache.isis.core</groupId>
- <artifactId>isis-core-runtime</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.core</groupId>
- <artifactId>isis-core-objectstore</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.objectstore</groupId>
- <artifactId>isis-objectstore-xml</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.core</groupId>
- <artifactId>isis-core-profilestore</artifactId>
- </dependency>
-
- <!-- isis defaults (other) -->
- <dependency>
- <groupId>org.apache.isis.core</groupId>
- <artifactId>isis-core-security</artifactId>
- </dependency>
-
- <!-- to run using WebServer (optional) -->
- <dependency>
- <groupId>org.apache.isis.core</groupId>
- <artifactId>isis-core-webserver</artifactId>
- <scope>runtime</scope>
- <optional>true</optional>
- </dependency>
-
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-servlet_2.5_spec</artifactId>
- <version>1.2</version>
- </dependency>
-
-
- <!--
- JDBC drivers
- (if using jdo or sql object store)
- -->
-
- <dependency>
- <groupId>org.hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <version>2.2.8</version>
- </dependency>
-
- <!--
- <dependency>
- <groupId>com.microsoft.sqlserver</groupId>
- <artifactId>jdbc</artifactId>
- <version>4.0</version>
- <scope>system</scope>
- <optional>true</optional>
- <systemPath>${basedir}/lib/sqljdbc4.jar</systemPath>
- </dependency>
- -->
-
- <dependency>
- <groupId>org.lazyluke</groupId>
- <artifactId>log4jdbc-remix</artifactId>
- <version>0.2.7</version>
- </dependency>
-
- </dependencies>
-
-</project>
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/jettyconsole/isis-banner.pdn
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/jettyconsole/isis-banner.pdn b/example/application/quickstart_html_sql/viewer-html/src/main/jettyconsole/isis-banner.pdn
deleted file mode 100644
index ee6b1c4..0000000
Binary files a/example/application/quickstart_html_sql/viewer-html/src/main/jettyconsole/isis-banner.pdn and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/jettyconsole/isis-banner.png
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/jettyconsole/isis-banner.png b/example/application/quickstart_html_sql/viewer-html/src/main/jettyconsole/isis-banner.png
deleted file mode 100644
index c6dea47..0000000
Binary files a/example/application/quickstart_html_sql/viewer-html/src/main/jettyconsole/isis-banner.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/resources/images/Default.png
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/resources/images/Default.png b/example/application/quickstart_html_sql/viewer-html/src/main/resources/images/Default.png
deleted file mode 100644
index 8409e46..0000000
Binary files a/example/application/quickstart_html_sql/viewer-html/src/main/resources/images/Default.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authentication_file.passwords
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authentication_file.passwords b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authentication_file.passwords
deleted file mode 100644
index 97b228e..0000000
--- a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authentication_file.passwords
+++ /dev/null
@@ -1,28 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-
-#
-# configuration file for the file-based authentication
-# not used by the onlinedemo
-#
-
-# list of users, and their password, and optionally roles
-sven:pass:role1|role2|role3
-dick:pass
-bob:pass
-joe:pass
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authentication_file.properties
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authentication_file.properties b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authentication_file.properties
deleted file mode 100644
index 62b9dae..0000000
--- a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authentication_file.properties
+++ /dev/null
@@ -1,25 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-#
-# configuration file for the File-based authentication mechanism
-#
-
-
-#
-# (intentionally empty)
-#
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authorization_file.allow
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authorization_file.allow b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authorization_file.allow
deleted file mode 100644
index 4407ec2..0000000
--- a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authorization_file.allow
+++ /dev/null
@@ -1,28 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-
-#
-# configuration file for the file-based authorization
-#
-
-
-#
-# (intentionally empty)
-#
-
-
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authorization_file.properties
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authorization_file.properties b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authorization_file.properties
deleted file mode 100644
index f44bb6c..0000000
--- a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/authorization_file.properties
+++ /dev/null
@@ -1,47 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-#
-# configuration file for the File-based authorization mechanism
-#
-
-
-#
-# the whitelist file
-# (value shown below is the default)
-#
-
-#isis.authorization.file.whitelist=authorization_file.allow
-
-
-
-#
-# the blacklist file
-# (there is no default value; provide a filename)
-#
-
-#isis.authorization.file.blacklist=
-
-
-
-#
-# switch on "learning mode". In this mode the authorization mechanism
-# will grant all requests, and log those requests into the allow file.
-#
-
-#isis.authorization.learn=true
-
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/isis.properties
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/isis.properties b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/isis.properties
deleted file mode 100644
index c46aeb5..0000000
--- a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/isis.properties
+++ /dev/null
@@ -1,180 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-
-#################################################################################
-#
-# specify system components.
-#
-# The values correspond to the named components in the installer-registry.properties file
-# in the org.apache.isis.runtimes.dflt:runtime JAR (in the org.apache.isis.runtimes.dflt.runtime package)
-#
-# Although all configuration could reside in isis.properties, the recommendation is
-# to split out into component specific files:
-#
-# xxx_yyy.properties files
-#
-# where
-# * xxx is the component type, and
-# * yyy is the component name.
-#
-# For example, persistor_sql.properties holds configuration information specific to the
-#
-#
-# If the components are changed, also remember to edit pom.xml (further comments can be
-# found in the persistor_xxx.properties files)
-#
-#################################################################################
-
-#
-# configure the persistor (object store) to use
-#
-# * in-memory requires no additional configuration, but stores object in-memory.
-# Only suitable for prototyping
-# * datanucleus uses JDO DataNucleus to persist objects to relational database.
-# for objectstore-specific properties, see persistor_datanucleus.properties
-# * fileserver uses a simple FileServer to persist objects as JSON documents. It requires the fileserver component to be running
-# for objectstore-specific properties, see persistor_fileserver.properties
-# * mongodb uses MongoDB to be persist objects as JSON documents. It requires MongoDB to be installed and running
-# for objectstore-specific properties, see persistor_fileserver.properties
-# * sql uses an RDBMS to persist objects as table rows.
-# for objectstore-specific properties, see persistor_sql.properties
-# * xml uses the XML ObjectStore to be persist objects to a set of XML files. Only suitable for prototyping.
-# for objectstore-specific properties, see persistor_xml.properties
-#
-# NOTE:
-# * if using non-naive implementations of services, edit isis.services (below) and
-# * if necessary, update the pom.xml to reference appropriate objstore-xxx module
-# * for sql and datanucleus objectstores, update the pom.xml to reference appropriate JDBC driver
-#
-
-isis.persistor=sql
-
-
-#
-# configure authentication mechanism to use (to logon to the system)
-# note:
-# - authentication is disabled if running in exploration mode
-# - the Scimpi viewer allows access to anonymous users
-#
-
-# default is file in SERVER mode, none in SERVER_EXPLORATION. Configure in web.xml
-isis.authentication=file
-
-
-#
-# configure authorization mechanism to use
-#
-# The authorization mechanism define each users' permissions to view/edit object properties
-# or collections, and to view/invoke object actions
-#
-# configuring this component automatically refines the metamodel (installing a facet factory
-# which vetoes access as required)
-#
-
-# default is file in SERVER mode, none in SERVER_EXPLORATION. Configure in web.xml
-#isis.authorization=file
-
-
-
-#
-# configure the user profile store to use.
-#
-# the user profile store is supported by some viewers as a way to store
-# user-specific settings (eg colours, themes etc)
-#
-isis.user-profile-store=in-memory
-
-
-
-
-#################################################################################
-#
-# MetaModel
-#
-# The metamodel typically does not require additional configuration, although
-# the system components (defined above) may refine the metamodel for their needs.
-#
-#################################################################################
-
-
-#
-# additional programming model facets
-#
-
-#isis.reflector.facets.include=
-#isis.reflector.facets.exclude=
-
-# normally these facets would be installed by virtue of configuring the JDO object store
-# need to be configured manually if running some other object store only because the
-# JDO enhancer is still configured to run on the DOM project.
-isis.reflector.facets.include=\
- org.apache.isis.core.progmodel.facets.object.ignore.jdo.RemoveJdoEnhancementTypesFacetFactory,\
- org.apache.isis.core.progmodel.facets.object.ignore.jdo.RemoveJdoPrefixedMethodsFacetFactory
-
-#
-# metamodel validator
-#
-
-#isis.reflector.validator=
-
-
-
-#################################################################################
-#
-# Application Services and fixtures
-#
-#################################################################################
-
-#
-# Specify the domain services.
-#
-# These are the most important configuration properties in the system, as they define
-# the set of the classes for Isis to instantiate as domain service singletons.
-# From these domain service instances the rest of the metamodel is discovered, while the
-# end-user gains access to other domain objects by invoking the actions of the domain services.
-#
-# The implementations depend on the configured (see isis.persistor above)
-#
-
-
-# if using the in-memory, XML, SQL, fileserver or mongo object stores:
-isis.services.prefix = dom
-isis.services = todo.ToDoItems
-
-
-# if using the DataNucleus object store
-# (with support for JDO's audit service, and installing fixtures using a domain service)
-#isis.services.prefix =
-#isis.services = objstore.jdo.todo.ToDoItemsJdo,\
-# fixture.todo.ToDoItemsFixturesService,\
-# dom.audit.AuditServiceDemo
-
-
-
-
-
-#
-# Specify the (optional) test fixtures
-#
-# Fixtures are used to seed the object store with an initial set of data. For the
-# in-memory object store, the fixtures are installed on every run. For other
-# object stores, they are used only when the object store is first initialized.
-#
-isis.fixtures.prefix= fixture
-isis.fixtures= todo.ToDoItemsFixture
-
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/logging.properties
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/logging.properties b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/logging.properties
deleted file mode 100644
index 50b23d7..0000000
--- a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/logging.properties
+++ /dev/null
@@ -1,89 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-
-#
-# Isis uses log4j is used to provide system logging
-#
-log4j.rootCategory=INFO, Console
-
-# The console appender
-log4j.appender.Console=org.apache.log4j.ConsoleAppender
-log4j.appender.Console.target=System.out
-log4j.appender.Console.layout=org.apache.log4j.PatternLayout
-log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} [%-20c{1} %-10t %-5p] %m%n
-
-log4j.appender.File=org.apache.log4j.RollingFileAppender
-log4j.appender.File.file=isis.log
-log4j.appender.File.append=false
-log4j.appender.File.layout=org.apache.log4j.PatternLayout
-log4j.appender.File.layout.ConversionPattern=%d [%-20c{1} %-10t %-5p] %m%n
-
-
-
-
-
-! turn on the internal log4j debugging flag so we can see what it is doing
-#log4j.debug=true
-
-
-log4j.logger.jdbc.sqlonly=DEBUG, sql, Console
-log4j.additivity.jdbc.sqlonly=false
-
-log4j.logger.jdbc.resultsettable=DEBUG, jdbc, Console
-log4j.additivity.jdbc.resultsettable=false
-
-
-
-log4j.logger.jdbc.audit=DEBUG,jdbc, Console
-log4j.additivity.jdbc.audit=false
-
-log4j.logger.jdbc.resultset=DEBUG,jdbc
-log4j.additivity.jdbc.resultset=false
-
-log4j.logger.jdbc.sqltiming=WARNING,sqltiming
-log4j.additivity.jdbc.sqltiming=false
-
-log4j.logger.jdbc.connection=FATAL,connection
-log4j.additivity.jdbc.connection=false
-
-
-
-log4j.appender.sql=org.apache.log4j.FileAppender
-log4j.appender.sql.File=./logs/sql.log
-log4j.appender.sql.Append=false
-log4j.appender.sql.layout=org.apache.log4j.PatternLayout
-log4j.appender.sql.layout.ConversionPattern=-----> %d{yyyy-MM-dd HH:mm:ss.SSS} %m%n%n
-
-log4j.appender.sqltiming=org.apache.log4j.FileAppender
-log4j.appender.sqltiming.File=./logs/sqltiming.log
-log4j.appender.sqltiming.Append=false
-log4j.appender.sqltiming.layout=org.apache.log4j.PatternLayout
-log4j.appender.sqltiming.layout.ConversionPattern=-----> %d{yyyy-MM-dd HH:mm:ss.SSS} %m%n%n
-
-log4j.appender.jdbc=org.apache.log4j.FileAppender
-log4j.appender.jdbc.File=./logs/jdbc.log
-log4j.appender.jdbc.Append=false
-log4j.appender.jdbc.layout=org.apache.log4j.PatternLayout
-log4j.appender.jdbc.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %m%n
-
-log4j.appender.connection=org.apache.log4j.FileAppender
-log4j.appender.connection.File=./logs/connection.log
-log4j.appender.connection.Append=false
-log4j.appender.connection.layout=org.apache.log4j.PatternLayout
-log4j.appender.connection.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %m%n
-
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/persistor_sql.properties
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/persistor_sql.properties b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/persistor_sql.properties
deleted file mode 100644
index d3b04f9..0000000
--- a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/persistor_sql.properties
+++ /dev/null
@@ -1,72 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-#
-# configuration file for the SQL objectstore
-#
-
-
-#
-# HSQLDB in-memory (using log4jdbc-remix)
-#
-#isis.persistor.sql.jdbc.driver=net.sf.log4jdbc.DriverSpy
-#isis.persistor.sql.jdbc.connection=jdbc:log4jdbc:hsqldb:mem:test
-#isis.persistor.sql.jdbc.user=sa
-#isis.persistor.sql.jdbc.password=
-
-
-#
-# HSQLDB (file)
-#
-isis.persistor.sql.jdbc.driver=org.hsqldb.jdbcDriver
-isis.persistor.sql.jdbc.connection=jdbc:hsqldb:mem:test
-isis.persistor.sql.jdbc.user=sa
-isis.persistor.sql.jdbc.password=
-
-
-
-#
-# HSQLDB (file)
-#
-#isis.persistor.sql.jdbc.driver=org.hsqldb.jdbcDriver
-#isis.persistor.sql.jdbc.connection=jdbc:hsqldb:file:hsql-db/tests
-#isis.persistor.sql.jdbc.user=sa
-#isis.persistor.sql.jdbc.password=
-
-
-#
-# configuration for MS SQL
-# (also edit pom.xml of objstore-mongodb)
-#
-#isis.persistor.sql.jdbc.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
-#isis.persistor.sql.jdbc.connection=jdbc:sqlserver://localhost:1433;databaseName=todoapp;integratedSecurity=true;
-#isis.persistor.sql.jdbc.user=sa
-#isis.persistor.sql.jdbc.password=
-
-
-#
-# configuration for Ingres
-# (also edit pom.xml of objstore-mongodb)
-#
-#isis.persistor.sql.jdbc.driver=com.ingres.jdbc.IngresDriver
-#isis.persistor.sql.jdbc.connection=jdbc:ingres://localhost:II7/todoapp
-##isis.persistor.sql.jdbc.user=NOTUSED_IF_localhost
-##isis.persistor.sql.jdbc.password=NOTUSED_IF_localhost
-#isis.persistor.sql.datatypes.datetime=TIMESTAMP
-#isis.persistor.sql.datatypes.timestamp=TIMESTAMP
-#isis.persistor.sql.datatypes.double=DOUBLE PRECISION
-
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/viewer_html.properties
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/viewer_html.properties b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/viewer_html.properties
deleted file mode 100644
index d714f3e..0000000
--- a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/viewer_html.properties
+++ /dev/null
@@ -1,31 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-#
-# configuration file for the HTML viewer
-#
-
-#
-# customization for the header and footer
-#
-isis.viewer.html.header=<div id="site-header"><div id="site-logo"> </div></div>
-isis.viewer.html.footer=<div id="page-footer"><small>Powered by Apache Isis</small><div><small><a href="index.html">home</a> | <a href="index.shtml">scimpi</a> | <a href="services">rest</a> | <a href="mobile/index.html">mobile</a></small></div></div>
-
-#
-# stylesheet
-#
-isis.viewer.html.style-sheet=htmlviewer/style/default.css
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/web.xml b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 5739ebd..0000000
--- a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,233 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<web-app id="WebApp_ID" version="2.4"
- xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
-
- <display-name>Apache Isis Webapp</display-name>
-
-
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- </welcome-file-list>
-
- <context-param>
- <param-name>deploymentType</param-name>
- <!--
- <param-value>SERVER</param-value>
- -->
- <param-value>SERVER_EXPLORATION</param-value>
- </context-param>
-
-
-
-
- <!--
- -
- -
- - config common to all viewer(s)
- -
- -
- -->
-
- <!-- bootstrap the Isis metamodel and runtime -->
- <listener>
- <listener-class>org.apache.isis.core.webapp.IsisWebAppBootstrapper</listener-class>
- </listener>
-
- <!-- which (optional) configuration file(s) to load -->
- <context-param>
- <param-name>isis.viewers</param-name>
- <param-value>html</param-value>
- </context-param>
-
-
- <!-- which configuration directory to read overloaded property files from -->
- <!--
- Normally configuration like this should be done from outside your web
- application. Especially if your configuration is not know in advance or
- if it can change depending on where the application gets deployed.
-
- For instance to configure this in Tomcat outside the application WAR add
- the following line to your application context ( For more detail see:
- http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Context_Parameters )
-
- <Parameter name="isis.config.dir" value="/usr/local/tomcat/conf/"
- override="true"/>
-
- If your configuration directory is fixed you can enable the following
- context parameter in here and forget about the outside part.
-
- <context-param>
- <param-name>isis.config.dir</param-name>
- <param-value>location of your config directory if fixed</param-value>
- </context-param>
- -->
-
- <!-- cache static resources for 1 day -->
- <filter>
- <filter-name>ResourceCachingFilter</filter-name>
- <filter-class>org.apache.isis.core.webapp.content.ResourceCachingFilter</filter-class>
- <init-param>
- <param-name>CacheTime</param-name>
- <param-value>86400</param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.js</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.css</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.png</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.jpg</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.gif</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.html</url-pattern>
- </filter-mapping>
-
- <servlet>
- <servlet-name>Resource</servlet-name>
- <servlet-class>org.apache.isis.core.webapp.content.ResourceServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.css</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.png</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.jpg</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.gif</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.js</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.html</url-pattern>
- </servlet-mapping>
-
-
-
-
-
- <!--
- -
- -
- - config specific to the html-viewer
- -
- -
- -->
- <!-- determine the format of the paths of the links etc that it generates -->
- <context-param>
- <param-name>viewer-html.suffix</param-name>
- <param-value>htmlviewer</param-value>
- </context-param>
-
- <!-- redirect requests to 'htmlviewer' to the HTML viewer's start page -->
- <filter>
- <filter-name>RedirectFilterForHtml</filter-name>
- <filter-class>org.apache.isis.core.webapp.routing.RedirectFilter</filter-class>
- <init-param>
- <param-name>redirectTo</param-name>
- <param-value>/start.htmlviewer</param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>RedirectFilterForHtml</filter-name>
- <url-pattern>/htmlviewer</url-pattern>
- </filter-mapping>
-
- <!-- authenticate user, and set up an Isis Session -->
- <filter>
- <filter-name>IsisSessionFilterForHtml</filter-name>
- <filter-class>org.apache.isis.core.webapp.IsisSessionFilter</filter-class>
- <init-param>
- <!-- lookup from cache, or if a logon filter was provided -->
- <param-name>authenticationSessionStrategy</param-name>
- <param-value>org.apache.isis.core.webapp.auth.AuthenticationSessionStrategyDefault</param-value>
- </init-param>
- <init-param>
- <!-- what to do if no session was found; we indicate access only to a restricted list of paths -->
- <param-name>whenNoSession</param-name>
- <param-value>restricted</param-value>
- </init-param>
- <init-param>
- <!-- the list of paths that are accessible if no session was found -->
- <param-name>restricted</param-name>
- <param-value>/logon.htmlviewer,/register.htmlviewer</param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>IsisSessionFilterForHtml</filter-name>
- <servlet-name>HtmlLogin</servlet-name>
- </filter-mapping>
- <filter-mapping>
- <filter-name>IsisSessionFilterForHtml</filter-name>
- <servlet-name>HtmlDispatcher</servlet-name>
- </filter-mapping>
-
- <servlet>
- <servlet-name>HtmlLogon</servlet-name>
- <servlet-class>org.apache.isis.viewer.html.servlet.LogonServlet</servlet-class>
- <init-param>
- <param-name>authenticationSessionStrategy</param-name>
- <param-value>org.apache.isis.core.webapp.auth.AuthenticationSessionStrategyDefault</param-value>
- </init-param>
- <init-param>
- <param-name>startPage</param-name>
- <param-value>start.htmlviewer</param-value>
- </init-param>
- </servlet>
- <servlet-mapping>
- <servlet-name>HtmlLogon</servlet-name>
- <url-pattern>/logon.htmlviewer</url-pattern>
- </servlet-mapping>
-
- <servlet>
- <servlet-name>HtmlDispatcher</servlet-name>
- <servlet-class>org.apache.isis.viewer.html.servlet.ControllerServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>HtmlDispatcher</servlet-name>
- <url-pattern>*.htmlviewer</url-pattern>
- </servlet-mapping>
-
-</web-app>
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/htmlviewer/images/banner-bg.png
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/htmlviewer/images/banner-bg.png b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/htmlviewer/images/banner-bg.png
deleted file mode 100644
index c731c15..0000000
Binary files a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/htmlviewer/images/banner-bg.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/htmlviewer/images/banner.png
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/htmlviewer/images/banner.png b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/htmlviewer/images/banner.png
deleted file mode 100644
index adf2159..0000000
Binary files a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/htmlviewer/images/banner.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/htmlviewer/style/default.css
----------------------------------------------------------------------
diff --git a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/htmlviewer/style/default.css b/example/application/quickstart_html_sql/viewer-html/src/main/webapp/htmlviewer/style/default.css
deleted file mode 100644
index b5df867..0000000
--- a/example/application/quickstart_html_sql/viewer-html/src/main/webapp/htmlviewer/style/default.css
+++ /dev/null
@@ -1,928 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/* Start Global styles */
-
-body {
- background: #101254;
- text-align: center;
-}
-#wrapper {
- width: 980px;
- min-height: 800px;
- border:3px solid #7F81C0;
- margin:8px auto;
- text-align: left;
- background: white;
-}
-
-.header-icon > img {
- max-width: 40px;
- height: 40px;
- margin-top: 5px;
-}
-
-BODY {
- font-family: Arial, Sans-Serif;
- margin: 0 0 10px 0;
- color: black;
-}
-
-IMG {
- border: 0;
-}
-
-A {
- text-decoration: none;
-}
-
-A:hover {
- text-decoration: underline;
-}
-
-/* End Global styles */ /* Start Heading */
-
-div#site-header:after {
- bottom: 0px;
- display: block;
- text-align: right;
- float:right;
- bottom: 0;
- font-size: 70%;
- color: gray;
-}
-
-div#site-header {
- background: url(../images/banner-bg.png);
- background-repeat: repeat-x white-space : nowrap;
- list-style: none;
- margin: 0px;
- height: 100px;
-}
-
-div#site-logo {
- background: url(../images/banner.png);
- background-repeat: no-repeat;
- background-position: left;
- position: absolute;
- width: 980px;
- height: 100px;
- margin: 0 auto;
-}
-
-div#page-header {
- /*display: none;*/
-}
-
-/* END Heading */
-DIV#body {
- display: block;
- padding-bottom: 10px;
-}
-
-div#navigation {
- margin: 0;
- padding: 0px;
-}
-
-/* Start options*/
-DIV.options {
- background-color: #eeeeee;
- margin: 0;
- padding: 4px 0px 4px 5px;
- min-height: 20px;
- align: right;
- float:right;
-}
-
-
-DIV.options H4 {
- display: none;
-}
-
-DIV.options DIV.item {
- display: inline;
- border-right: 1px solid #000000;
- font-family: arial, 'sans serif';
- font-weight: bold;
- color: #00000;
- font-size: 70%;
- margin: 0 6px 0 6px;
- padding 0 0 0 0;
- min-width: 200px;
-}
-
-DIV.options DIV.item IMG {
- display: none;
-}
-
-DIV.options DIV.item a:link {
- color: #000000;
- text-decoration: none;
- margin: 0 5px 0 0px;
- padding: 0 2px 0 0px;
-}
-
-DIV.options DIV.item a:hover {
- background-color: #dddddd;
- margin: 0 5px 0 0px;
- padding: 0 2px 0 0px;
-}
-
-DIV.options DIV.item a:visited {
- color: #000000;
- text-decoration: none;
- margin: 0 5px 0 0px;
- padding: 0 2px 0 0px;
-}
-
-/* End options */
-
-/* Start services */
-DIV.services {
- background-color: #7F81C0;
- margin: 0;
- padding: 4px 20px 4px 5px;
- min-height: 20px;
-
-}
-
-DIV.services H4 {
- display: none;
-}
-
-DIV.services DIV.item {
- display: inline;
- border-right: 1px solid #ffffff;
- font-family: arial, 'sans serif';
- font-weight: bold;
- color: #ffffff;
- font-size: 70%;
- margin: 3px;
-}
-
-DIV.services DIV.item IMG {
- display: none;
-}
-
-DIV.services DIV.item a:link {
- color: #ffffff;
- text-decoration: none;
- margin: 0 5px 0 5px;
- padding: 0 2px 0 0px;
-}
-
-DIV.services DIV.item a:hover {
- background-color: #2683E2;
- margin: 0 5px 0 5px;
- padding: 0 2px 0 0px;
-}
-
-DIV.services DIV.item a:visited {
- color: #ffffff;
- text-decoration: none;
- margin: 0 5px 0 5px;
- padding: 0 2px 0 0px;
-}
-
-DIV.services DIV.item-selected {
- background-color: #2683E2;
- display: inline;
- border-right: 1px solid #ffffff;
- font-family: arial, 'sans serif';
- font-weight: bold;
- color: #ffffff;
- font-size: 70%;
-}
-
-DIV.services DIV.item-selected a:link {
- color: #ffffff;
- text-decoration: none;
- margin: 0 5px 0 5px;
- padding: 0 2px 0 0px;
-}
-
-DIV.services DIV.item-selected a:hover {
- background-color: #556677;
- margin: 0 5px 0 5px;
- padding: 0 2px 0 0px;
-}
-
-DIV.services DIV.item-selected a:visited {
- color: #ffffff;
- text-decoration: none;
- margin: 0 5px 0 5px;
- padding: 0 2px 0 0px;
-}
-
-/* End services */ /* Start History */
-DIV.history {
- background-color: #D6D6D6;
- margin: 0;
- padding: 1px 30px 0 5px;
- min-height: 26px;
-}
-
-DIV.history H4 {
- display: none;
-}
-
-DIV.history DIV.item {
- display: inline;
- border-right: 1px solid #ffffff;
- font-family: arial, 'sans serif';
- font-weight: bold;
- color: #29357D;
- font-size: 70%;
-}
-
-DIV.history DIV.item IMG {
- position: relative;
- top: 4px;
- height: 16px;
- padding: 0 5px 0 0px;
-}
-
-DIV.history DIV.item a:link {
- color: #29357D;
- text-decoration: none;
- margin: 5px;
- padding: 1px 3px 1px 3px;
-}
-
-DIV.history DIV.item a:hover {
- background-color: #B7B6B6;
- padding: 1px 3px 1px 3px;
-}
-
-DIV.history DIV.item a:visited {
- color: #29357D;
- text-decoration: none;
- padding: 1px 3px 1px 3px;
-}
-
-DIV.history DIV.item-selected {
- background-color: #2683E2;
- display: inline;
- border-right: 1px solid #ffffff;
- font-family: arial, 'sans serif';
- font-weight: bold;
- color: #29357D;
- font-size: 70%;
- height: 30px;
-}
-
-DIV.history DIV.item-selected a:hover {
- background-color: #556677;
- padding: 1px 3px 1px 3px;
-}
-
-DIV.history DIV.item-selected a:link {
- color: #29357D;
- text-decoration: none;
- margin: 10px;
- padding: 1px 3px 1px 3px;
-}
-
-DIV.history DIV.item-selected a:visited {
- color: #29357D;
- text-decoration: none;
- padding: 1px 3px 1px 3px;
-}
-
-/* INVISIBLE character for empty item. FIREFOX ONLY*/
-DIV.history:after {
- content: "X";
- display: inline;
- text-align: right;
- font-size: 70%;
- color: #D6D6D6;
-}
-
-/* End History */ /* Start Context */
-div#context {
- background-color: #F0F0F0;
- margin: 0;
- padding: 1px 30px 0 7px;
- min-height: 26px;
-}
-
-div#context span.disabled {
- display: inline;
- font-family: arial, 'sans serif';
- font-weight: normal;
- color: #666666;
- font-size: 70%;
- padding: 0px 5px 0px 7px;
- white-space: nowrap;
-}
-
-div#context span.disabled IMG {
- display: none
-}
-
-div#context span.disabled a:link {
- color: #29357D;
- text-decoration: none;
- margin: 5px;
- padding: 1px 3px 1px 3px;
-}
-
-div#context span.disabled a:hover {
- background-color: #B7B6B6;
- padding: 1px 3px 1px 3px;
-}
-
-div#context span.disabled a:visited {
- color: #29357D;
- text-decoration: none;
- padding: 1px 3px 1px 3px;
-}
-
-div#context a.linked {
- display: inline;
- font-family: arial, 'sans serif';
- font-weight: normal;
- color: #29357D;
- font-size: 70%;
- padding: 0px 5px 0px 7px;
-}
-
-div#context a.linked IMG {
- display: none
-}
-
-div#context a.linked a:link {
- color: #29357D;
- text-decoration: none;
- margin: 5px;
- padding: 1px 3px 1px 3px;
-}
-
-div#context a.linked a:hover {
- background-color: #29357D;
- padding: 1px 3px 1px 3px;
- text-decoration: underline;
-}
-
-div#context a.linked a:visited {
- color: #29357D;
- text-decoration: none;
- padding: 1px 3px 1px 3px;
-}
-
-/* INVISIBLE character for empty breadcrumbs. FIREFOX ONLY*/
-span.disabled:after {
- content: "X";
- display: inline;
- text-align: right;
- font-size: 70%;
- color: #F0F0F0;
-}
-
-/* End Context */ /*
-div#help-bar {
- position: relative;
- right: 50px;
- top: 10px;
- text-align: right;
- font-family : arial, 'sans serif';
- font-weight : normal;
- color: #0000FF;
- font-size : 90%;
- line-height : 110%;
- text-decoration: underline;
- height: 22px;
-}
-*/
-#view {
- min-height: 400px;
-}
-
-DIV#body DIV#view {
- position: relative;
- top: 0px;
- left: 0px;
- margin: 0px;
-}
-
-/* Start of Message Header */
-DIV.message-header {
- position: relative;
- top: 40px;
- padding: 5px 25px 5px 25px;
- margin: 0 50px 0 255px;
- vertical-align: middle;
- COLOR: #003366;
- FONT-WEIGHT: bold;
- FONT-SIZE: 80%;
- LEFT: auto;
- FONT-STYLE: normal;
- FONT-FAMILY: Verdana, Geneva, Arial, Helvetica, sans-serif;
- width: 40%;
-}
-
-DIV.message-header DIV.warning {
- COLOR: #ff0033;
- padding: 5px 25px 5px 25px;
- background: url(default-images/sign-warning.png);
- background-repeat: no-repeat;
- background-color: #D6D6D6;
- background-position: 5px 5px;
-}
-
-DIV.message-header DIV.message {
- COLOR: #003366;
- padding: 5px 25px 5px 25px;
- background: url(default-images/sign-info.png);
- background-repeat: no-repeat;
- background-color: #D6D6D6;
- background-position: 5px 5px;
-}
-
-DIV.message-header DIV.message {
- FONT-WEIGHT: normal;
-}
-
-/* End of Message Header */ /* Start of Object Header */
-DIV.header {
- position: relative;
- top: 40px;
- display: block;
- background-color: #F0F0F0;
- min-height: 48px;
- margin: 0 50px 0 280px;
-
-}
-
-SPAN.header-icon IMG {
- float: left;
-}
-
-SPAN.header-text {
- float: left;
- position: relative;
- top: 10px;
- margin-left: 7px;
- FONT-WEIGHT: bold;
- FONT-SIZE: 16px;
- LEFT: auto;
- COLOR: #003366;
- FONT-STYLE: normal;
- FONT-FAMILY: Verdana, Geneva, Arial, Helvetica, sans-serif;
-}
-
-/* End of Object Header */ /* Start of Object Contents */
-DIV#content {
- position: relative;
- display: block;
- top: 40px;
- margin: 0 50px 10px 280px;
-}
-
-/* Start of Object Fields */
-DIV.field {
- margin: 0;
- padding: 5px 0px 5px 0px;
- border-top: 1px solid #666666;
- min-height: 20px;
-}
-
-DIV.field SPAN.value IMG,DIV.field DIV.value IMG {
- position: relative;
- top: 3px;
- margin: 0px 5px 0 0;
- height: 16px;
-}
-
-DIV.field SPAN.value A,DIV.field DIV.value A {
- position: relative;
- top: -2px;
- margin: 0px 5px 0 0;
- height: 16px;
-}
-
-DIV.field DIV.icon IMG {
- position: relative;
- top: 0px;
- margin: 0px 5px 0 0;
- height: 16px;
-}
-
-.label,.value {
- font-size: 80%;
- color: #333399;
-}
-
-DIV.field DIV.icon {
- display: inline;
- color: #333399;
- position: absolute;
- left: 200px;
-}
-
-DIV.field span.label,DIV.field DIV.label {
- width: 170px;
- display: block;
- /*content: ":";*/
- margin: 0 0 -18px 7px;
-}
-
-DIV.field span.separator {
- display: inline;
- position: relative;
- margin: 0 0 -15px 180px;
- vertical-align: top;
-}
-
-DIV.field span.value, DIV.field DIV.value, DIV.field INPUT.value, DIV.field SELECT.value
- {
- top: -2px;
- position: relative;
- margin: 0px 10px -5px 0px;
- display: inline;
-}
-
-DIV.field span.value PRE {
- color: #333399;
- margin: 0;
- font-family: inherit;
-}
-
-
-DIV.field textarea.value {
- font-family: inherit;
-}
-
-
-DIV.field span.optional {
- margin: -35px 0 0 0;
- font-size: 70%;
- color: grey;
-}
-
-DIV.field span.required {
- display: inline;
- position: relative;
- margin: 0;
- vertical-align: top;
- color: red;
-}
-
-DIV.field span.error {
- display: inline;
- position: relative;
- color: red;
- font-size: 70%;
-}
-
-/* INVISIBLE character for empty value FIREFOX ONLY*/
-DIV.field span.value:after {
- content: "X";
- display: inline;
- text-align: right;
- font-size: 70%;
- color: white;
-}
-
-/* INVISIBLE character for empty value FIREFOX ONLY*/
-DIV.field span.label:after {
- content: "X";
- display: inline;
- text-align: right;
- font-size: 70%;
- color: white;
-}
-
-/* End of Object Fields */ /* Start of Object Table */
-DIV#content TABLE {
- position: relative;
- float: left;
- width: 100%;
- border: 0;
- margin: 0 0 10px 0;
- border-collapse: collapse;
-}
-
-DIV#content TH {
- padding: 6px;
- border: 1px solid #ffffff;
- background-color: #D6D6D6;
- font-family: arial, 'sans serif';
- font-weight: bold;
- color: black;
- font-size: 70%;
-}
-
-DIV#content TD {
- background-color: #ffffff;
- border-right: 0;
- border-left: 0;
- border-bottom: 1px solid black;
- padding: 6px;
- font-family: arial, 'sans serif';
- font-weight: normal;
- font-size: 80%;
- color: #333399;
- margin: 0;
- text-align: left;
-}
-
-DIV#content TD.rowstart {
- background-color: #F0F0F0;
-}
-
-DIV#content TD A:visited {
- color: #0000FF;
-}
-
-DIV#content H4 {
- font-family: arial, 'sans serif';
- font-weight: normal;
- color: #000000;
- font-size: 70%;
- border-top: 1px solid black;
- margin: -2px 0 0 0px;
- padding: 5px;
-}
-
-TD DIV.icon {
- font-size: 100%;
- margin-top: 5px;
-}
-
-TD DIV.icon IMG {
- float: left;
- margin: -1px 5px 5px 0px;
- height: 16px;
-}
-
-TD DIV.action-button {
- background-color: #ffffff;
- font-size: 130%;
- text-decoration: none;
-}
-
-/* End of Object Table */
-INPUT.action-button,DIV.action-button {
- background-color: #F0F0F0;
- padding: 10px;
- display: block;
- margin: 0;
- min-height: 20px;
-}
-
-INPUT.action-button,DIV.action-button A {
- background: url(default-images/bg-button.gif);
- background-repeat: repeat-x;
- padding: 2px;
- margin: 5px;
- border: 1px solid #333399;
- font-family: arial, 'sans serif';
- font-weight: normal;
- color: #000000;
- font-size: 70%;
- font-weight: normal;
- text-align: center;
-}
-
-DIV.action-button a:link {
- color: #000000;
-}
-
-DIV.action-button a:visited {
- color: #000000;
-}
-
-DIV.action-button a:hover {
- color: #000000;
- text-decoration: none;
-}
-
-INPUT.action-button,DIV.action-button INPUT {
- float: left;
-}
-
-/* End of Object Contents */ /* Start of Object Actions Menu */
-DIV#body DIV#view DIV#menu {
- position: relative;
- top: 40px;
- left: 0;
- background-color: #ffffff;
- border-top: 1px solid #00336F;
- margin: 0px;
- width: 210px;
- display: block;
- float: left;
-}
-
-DIV#body DIV#menu H3 {
- display: none;
-}
-
-DIV#menu SPAN.name {
- display: block;
- font-size: 80%;
- background-color: #ffffff;
- color: #333399;
- line-height: 100%;
- margin: 0 0 0 10px;
-}
-
-DIV.menu-item a:link {
- color: #333399;
-}
-
-DIV.menu-item a:visited {
- color: #333399;
-}
-
-DIV.submenu-item {
- font-size: 80%;
- background-color: #ffffff;
- color: #1A59A7;
- margin: 0px;
- padding: 5px 0px 5px 10px;
- border-bottom: 1px solid #00336F;
- line-height: 100%;
-}
-
-DIV.submenu-item DIV.menu-item {
- background: url(default-images/submenu-bullet.gif);
- background-repeat: no-repeat;
- background-position: left;
- background-color: #ffffff;
- margin: 0px;
- line-height: 100%;
- border: 0;
- padding: 4px 5px 0px 10px;
- font-family: arial, 'sans serif';
- font-weight: normal;
- color: #1A59A7;
- font-size: 85%;
-}
-
-DIV.menu-item {
- background-color: #ffffff;
- margin: 0px;
- line-height: 110%;
- border-bottom: 1px solid #00336F;
- padding: 5px 5px 5px 10px;
- font-family: arial, 'sans serif';
- font-weight: normal;
- color: #1A59A7;
- font-size: 80%;
-}
-
-DIV.menu-item DIV.disabled {
- color: #a0a0a0;
-}
-
-DIV.menu-item a:link {
- color: #1A59A7;
-}
-
-DIV.menu-item a:visited {
- color: #1A59A7;
-}
-
-DIV.menu-item a:hover {
- color: #006666;
- text-decoration: underline;
-}
-
-DIV.submenu-item DIV.menu-item a:link {
- color: #1A59A7;
-}
-
-DIV.submenu-item DIV.menu-item a:visited {
- color: #1A59A7;
-}
-
-DIV.submenu-item DIV.menu-item a:hover {
- color: #006666;
- text-decoration: underline;
-}
-
-/* End of Object Menu */
-DIV.page-footer {
- right: 10px;
- bottom: 10px;
- font-size: 50%;
- color: #333399;
-}
-
-H1 {
- font-size: 140%;
- margin-top: -8px;
-}
-
-H2 {
- font-size: 90%;
- color: #333399;
- letter-spacing: 1pt;
- text-indent:-1pt;
- margin: 0;
-}
-
-H3 {
- font-size: 80%;
- color: #ffffff;
- letter-spacing: 1pt;
- text-indent:-1pt;
- margin: 15px 10px 5px 10px;
-}
-
-H4 {
- font-size: 80%;
- color: #333399;
- letter-spacing: 1pt;
- text-indent:-1pt;
- margin: 10px 10px 0px 10px;
-}
-
-DIV.text {
- font-size: 100%;
- color: #336699;
- letter-spacing: 1pt;
- text-indent:-1pt;
- margin: 10px 10px 0px 10px;
-}
-
-DIV.error {
- font-size: 120%;
- color: #cc0000;
- letter-spacing: 1pt;
- text-indent:-1pt;
- margin: 10px 10px 0px 10px;
-}
-
-PRE.error-trace {
- font-size: 80%;
- color: #cc0000;
- margin: 10px 10px 0px 10px;
-}
-
-DIV#debug { /* float: left;*/
- background-color: #F0F0F0;
- margin: 30px;
- padding: 1px 10px 0 7px;
- min-height: 22px;
- border: 1px;
-}
-
-DIV#debug H4 {
- display: inline;
- font-size: 80%;
- color: #999;
- margin: 0 5px 0 10px;
-}
-
-DIV#debug DIV.detail {
- display: inline;
- font-size: 80%;
- color: #999;
- margin: 0 5px 0 10px;
-}
-
-SPAN.message {
- position: relative;
- top: 30px;
- font-size: 100%;
- color: #336699;
- margin: 40px 0 0 0;
- padding: 10px;
-}
-
-
-SPAN.about {
- display: block;
- padding: 4px;
-}
-
-
-SPAN.user {
- display: block;
- padding: 4px;
-}
-
-.nav-link {
- display: block;
- padding: 10px;
- font-size: 75%;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/mothballed/README.md
----------------------------------------------------------------------
diff --git a/mothballed/README.md b/mothballed/README.md
new file mode 100644
index 0000000..c165679
--- /dev/null
+++ b/mothballed/README.md
@@ -0,0 +1,11 @@
+Mothballed Components
+===========
+
+These components are no longer being actively worked on (there have been no releases of them since Isis graduated as an Apache top-level project.
+
+Instead of the HTML viewer, we suggest you use the Wicket viewer or the Scimpi viewer.
+
+Instead of the SQL or LDAP security implementations, we suggest you use the Shiro security integration.
+
+For further information, see our [website](http://isis.apache.org).
+
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/mothballed/component/security/ldap/NOTICE
----------------------------------------------------------------------
diff --git a/mothballed/component/security/ldap/NOTICE b/mothballed/component/security/ldap/NOTICE
new file mode 100644
index 0000000..ba21d0c
--- /dev/null
+++ b/mothballed/component/security/ldap/NOTICE
@@ -0,0 +1,7 @@
+Apache Isis
+Copyright 2010-2013 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/mothballed/component/security/ldap/ldap-conf/example.ldif
----------------------------------------------------------------------
diff --git a/mothballed/component/security/ldap/ldap-conf/example.ldif b/mothballed/component/security/ldap/ldap-conf/example.ldif
new file mode 100644
index 0000000..1ede7b0
--- /dev/null
+++ b/mothballed/component/security/ldap/ldap-conf/example.ldif
@@ -0,0 +1,46 @@
+dn: dc=isis,dc=org
+objectClass: top
+objectclass: dcObject
+objectclass: organization
+o: [[NAME]] Group
+dc: isis
+
+dn: cn=Manager,dc=isis,dc=org
+objectclass: organizationalRole
+cn: Manager
+
+
+dn: ou=people,dc=isis,dc=org
+objectClass: top
+objectClass: organizationalUnit
+ou: people
+
+dn: uid=joe,ou=people,dc=isis,dc=org
+objectClass: person
+objectClass: inetOrgPerson
+cn: Joe Bloggs
+displayName: Joe Bloggs
+givenName: Joe
+sn: Bloggs
+uid: joe
+userPassword: pass
+
+dn: uid=john,ou=people,dc=isis,dc=org
+objectClass: person
+objectClass: inetOrgPerson
+cn: John Bloggs
+displayName: John
+givenName: John
+sn: Bloggs
+uid: john
+userPassword: pass
+
+dn: uid=jack,ou=people,dc=isis,dc=org
+objectClass: person
+objectClass: inetOrgPerson
+cn: Jack Bloggs
+displayName: Jack Bloggs
+givenName: Jack
+sn: Bloggs
+uid: jack
+userPassword: pass
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/mothballed/component/security/ldap/ldap-conf/readme.txt
----------------------------------------------------------------------
diff --git a/mothballed/component/security/ldap/ldap-conf/readme.txt b/mothballed/component/security/ldap/ldap-conf/readme.txt
new file mode 100644
index 0000000..8f0dbfb
--- /dev/null
+++ b/mothballed/component/security/ldap/ldap-conf/readme.txt
@@ -0,0 +1,12 @@
+An LDAP browser can be downloaded from http://jxplorer.org/
+Windows port of OpenLDAP is at http://lucas.bergmans.us/hacks/openldap/
+
+Files:
+
+example.ldif - sample file for loading into ldap (using ldapadd)
+ usage
+ ldapadd -x -D "cn=Manager,dc=<MY-DOMAIN>,dc=<COM>" -W -f example.ldif
+ e.g.
+ ldapadd -x -D "cn=Manager,dc=isis,dc=org" -W -f example.ldif
+
+slapd.conf - sample configuration for the OpenLDAP server (Windows port)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/mothballed/component/security/ldap/ldap-conf/slapd.conf
----------------------------------------------------------------------
diff --git a/mothballed/component/security/ldap/ldap-conf/slapd.conf b/mothballed/component/security/ldap/ldap-conf/slapd.conf
new file mode 100644
index 0000000..a5f32b7
--- /dev/null
+++ b/mothballed/component/security/ldap/ldap-conf/slapd.conf
@@ -0,0 +1,80 @@
+# Setup for Windows port of OpenLDAP
+#
+# See slapd.conf(5) for details on configuration options.
+# This file should NOT be world readable.
+#
+ucdata-path ./ucdata
+include ./schema/core.schema
+# DGS - add JNDI support, inetorgperson has additional attributes for network users
+include ./schema/java.schema
+include ./schema/cosine.schema
+include ./schema/inetorgperson.schema
+
+# Define global ACLs to disable default read access.
+
+# Do not enable referrals until AFTER you have a working directory
+# service AND an understanding of referrals.
+#referral ldap:/root.openldap.org
+
+pidfile ./run/slapd.pid
+argsfile ./run/slapd.args
+
+# Load dynamic backend modules:
+# modulepath ./libexec/openldap
+# moduleload back_bdb.la
+# moduleload back_ldap.la
+# moduleload back_ldbm.la
+# moduleload back_passwd.la
+# moduleload back_shell.la
+
+# Sample security restrictions
+# Require integrity protection (prevent hijacking)
+# Require 112-bit (3DES or better) encryption for updates
+# Require 63-bit encryption for simple bind
+# security ssf=1 update_ssf=112 simple_bind=64
+
+# Sample access control policy:
+# Root DSE: allow anyone to read it
+# Subschema (sub)entry DSE: allow anyone to read it
+# Other DSEs:
+# Allow self write access
+# Allow authenticated users read access
+# Allow anonymous users to authenticate
+# Directives needed to implement policy:
+# access to dn.base="" by * read
+# access to dn.base="cn=Subschema" by * read
+# access to *
+# by self write
+# by users read
+# by anonymous auth
+#
+# if no access controls are present, the default policy
+# allows anyone and everyone to read anything but restricts
+# updates to rootdn. (e.g., "access to * by * read")
+#
+# rootdn can always read and write EVERYTHING!
+
+#######################################################################
+# BDB database definitions
+#######################################################################
+
+database bdb
+# DGS - set suffix to isis
+#suffix "dc=my-domain,dc=com"
+#rootdn "cn=Manager,dc=my-domain,dc=com"
+suffix "dc=isis,dc=org"
+rootdn "cn=Manager,dc=isis,dc=org"
+
+# Cleartext passwords, especially for the rootdn, should
+# be avoid. See slappasswd(8) and slapd.conf(5) for details.
+# Use of strong authentication encouraged.
+rootpw secret
+# The database directory MUST exist prior to running slapd AND
+# should only be accessible by the slapd and slap tools.
+# Mode 700 recommended.
+directory ./data
+# Indices to maintain
+index objectClass eq
+
+# DGS - improve index?
+index cn,sn,st pres,eq,sub
http://git-wip-us.apache.org/repos/asf/isis/blob/91a8000b/mothballed/component/security/ldap/pom.xml
----------------------------------------------------------------------
diff --git a/mothballed/component/security/ldap/pom.xml b/mothballed/component/security/ldap/pom.xml
new file mode 100644
index 0000000..8487518
--- /dev/null
+++ b/mothballed/component/security/ldap/pom.xml
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<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.apache.isis.core</groupId>
+ <artifactId>isis</artifactId>
+ <version>1.1.1-SNAPSHOT</version>
+ <relativePath>../../../core/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.isis.security</groupId>
+ <artifactId>isis-security-ldap</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+
+ <name>Isis LDAP Security</name>
+
+ <properties>
+ <siteBaseDir>.</siteBaseDir>
+ <relativeUrl/>
+ </properties>
+
+ <!-- used in Site generation for relative references. -->
+ <url>http://isis.apache.org/${relativeUrl}</url>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <!-- Apache Release Audit Tool -->
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.8</version>
+ <configuration>
+ <excludes>
+ <!--
+ overriding inherited excludes from oia.core:isis
+ with a more specific set for this component
+ -->
+ <exclude>**/target/**</exclude>
+ <exclude>**/target-ide/**</exclude>
+
+ <exclude>**/*.project</exclude>
+ <exclude>**/.classpath</exclude>
+ <exclude>**/.settings/**</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>${maven-project-info-reports-plugin}</version>
+ <inherited>false</inherited>
+ <configuration>
+ <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <inherited>false</inherited>
+ <reports>
+ <report>dependencies</report>
+ <report>dependency-convergence</report>
+ <report>plugins</report>
+ <report>summary</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <dependencyManagement>
+ <!-- for benefit of application developers, using scope=import -->
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.isis.security</groupId>
+ <artifactId>isis-security-ldap</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-runtime</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.isis.core</groupId>
+ <artifactId>isis-core-runtime</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>