You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by zh...@apache.org on 2011/04/01 02:29:38 UTC

svn commit: r1087520 [12/35] - in /incubator/rave/donations/ogce-gadget-container: ./ config/ config/shindig-1.1-BETA5/ config/shindig-2.0.0/ db-cleaner/ examples/ examples/src/ examples/src/main/ examples/src/main/java/ examples/src/main/java/cgl/ exa...

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/AX.properties
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/AX.properties?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/AX.properties (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/AX.properties Fri Apr  1 00:29:22 2011
@@ -0,0 +1,108 @@
+#
+#
+# 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.
+#
+#
+
+###########################################################################################
+###         This file contains the recommended types of Attribute Exchange.             ###
+###         See http://www.axschema.org/types/ for details.                             ###
+###########################################################################################
+
+# According to Javadoc:
+# The key contains all of the characters in the line starting with the first non-white space
+# character and up to, but not including, the first unescaped '=', ':', or white space 
+# character other than a line terminator.
+
+#Name
+Alias/Username = http://axschema.org/namePerson/friendly
+Full\ name = http://axschema.org/namePerson
+Name\ prefix = http://axschema.org/namePerson/prefix
+First\ name = http://axschema.org/namePerson/first
+Last\ name = http://axschema.org/namePerson/last
+Middle\ name = http://axschema.org/namePerson/middle
+Name\ suffix = http://axschema.org/namePerson/suffix
+
+#Work
+Company\ name = http://axschema.org/company/name
+Job\ title = http://axschema.org/company/title
+
+#Date of Birth
+Birth\ date = http://axschema.org/birthDate
+Birth\ year = http://axschema.org/birthDate/birthYear
+Birth\ month = http://axschema.org/birthDate/birthMonth
+Birth\ day = http://axschema.org/birthDate/birthday
+
+#Telephone
+Phone\ (preferred) = http://axschema.org/contact/phone/default
+Phone\ (home) = http://axschema.org/contact/phone/home
+Phone\ (work) = http://axschema.org/contact/phone/business
+Phone\ (mobile) = http://axschema.org/contact/phone/cell
+Phone\ (fax) = http://axschema.org/contact/phone/fax
+
+#Address
+Home\ Address =http://axschema.org/contact/postalAddress/home
+Home\ Address\ 2 = http://axschema.org/contact/postalAddressAdditional/home
+Home\ City = http://axschema.org/contact/city/home
+Home\ State/Province = http://axschema.org/contact/state/home
+Home\ Country = http://axschema.org/contact/country/home
+Home\ Postal\ code = http://axschema.org/contact/postalCode/home
+
+Business\ Address = http://axschema.org/contact/postalAddress/business
+Business\ Address\ 2 = http://axschema.org/contact/postalAddressAdditional/business
+Business\ City = http://axschema.org/contact/city/business
+Business\ State/Province = http://axschema.org/contact/state/business
+Business\ Country = http://axschema.org/contact/country/business
+Business\ Postal\ code = http://axschema.org/contact/postalCode/business
+
+#Email
+Email = http://axschema.org/contact/email
+
+#Instant Messaging
+AOL\ IM = http://axschema.org/contact/IM/AIM
+ICQ\ IM = http://axschema.org/contact/IM/ICQ
+MSN\ IM = http://axschema.org/contact/IM/MSN
+Yahoo!\ IM = http://axschema.org/contact/IM/Yahoo
+Jabber\ IM = http://axschema.org/contact/IM/Jabber
+Skype\ IM = http://axschema.org/contact/IM/Skype
+
+#Web Sites
+Web\ page = http://axschema.org/contact/web/default
+Blog = http://axschema.org/contact/web/blog
+LinkedIn\ URL = http://axschema.org/contact/web/Linkedin
+Amazon\ URL = http://axschema.org/contact/web/Amazon
+Flickr\ URL = http://axschema.org/contact/web/Flickr
+del.icio.us\ URL = http://axschema.org/contact/web/Delicious
+
+#Audio/Video Greetings
+Spoken\ name = http://axschema.org/media/spokenname
+Audio\ greeting = http://axschema.org/media/greeting/audio
+Video\ greeting = http://axschema.org/media/greeting/video
+
+#Images
+Image = http://axschema.org/media/image/default
+Square\ image = http://axschema.org/media/image/aspect11
+4\:3\ aspect\ image = http://axschema.org/media/image/aspect43
+3\:4\ aspect\ image = http://axschema.org/media/image/aspect34
+Favicon\ image = http://axschema.org/media/image/favicon
+
+#Other Personal Details/Preferences
+Gender = http://axschema.org/person/gender
+Language = http://axschema.org/pref/language
+Time\ zone = http://axschema.org/pref/timezone
+Biography = http://axschema.org/media/biography

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/AdminUser.hbm.xml
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/AdminUser.hbm.xml?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/AdminUser.hbm.xml (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/AdminUser.hbm.xml Fri Apr  1 00:29:22 2011
@@ -0,0 +1,33 @@
+<?xml version="1.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.
+
+-->
+
+<!DOCTYPE hibernate-mapping PUBLIC
+        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<hibernate-mapping>
+	<class name="cgl.shindig.usermanage.AdminUser" table="adminuser">
+		<id name="id" type="integer"><generator class="identity"/></id>
+		<property name="screenname" type="string" column="screenname" unique="true"/>
+		<property name="password" type="string" />
+	</class>
+</hibernate-mapping>

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/SRE.properties
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/SRE.properties?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/SRE.properties (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/SRE.properties Fri Apr  1 00:29:22 2011
@@ -0,0 +1,53 @@
+#
+#
+# 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.
+#
+#
+
+
+###########################################################################################
+###         This file contains the supported types of Simple Registration Extension     ###
+###         All property names must start with "openid.sreg.".                          ###
+###########################################################################################
+
+#Alias/Username
+openid.sreg.nickname = http://axschema.org/namePerson/friendly
+
+#Email
+openid.sreg.email = http://axschema.org/contact/email   
+
+#Full name
+openid.sreg.fullname = http://axschema.org/namePerson
+
+#Birth date
+openid.sreg.dob = http://axschema.org/birthDate
+
+#Gender
+openid.sreg.gender = http://axschema.org/person/gender
+
+#Postal code
+openid.sreg.postcode = http://axschema.org/contact/postalCode/home
+
+#Country
+openid.sreg.country = http://axschema.org/contact/country/home
+
+#Language
+openid.sreg.language = http://axschema.org/pref/language
+
+#Time zone
+openid.sreg.timezone = http://axschema.org/pref/timezone

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/UILayout.hbm.xml
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/UILayout.hbm.xml?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/UILayout.hbm.xml (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/UILayout.hbm.xml Fri Apr  1 00:29:22 2011
@@ -0,0 +1,33 @@
+<?xml version="1.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.
+
+-->
+
+<!DOCTYPE hibernate-mapping PUBLIC
+        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<hibernate-mapping>
+	<class name="cgl.shindig.usermanage.UILayout" table="layout">
+		<id name="id" type="integer"><generator class="identity"/></id>
+		<property name="layout" type="string" column="layout" />
+		<property name="screenname" type="string" column="screenname"/>
+	</class>
+</hibernate-mapping>

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/User.hbm.xml
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/User.hbm.xml?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/User.hbm.xml (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/User.hbm.xml Fri Apr  1 00:29:22 2011
@@ -0,0 +1,43 @@
+<?xml version="1.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.
+
+-->
+
+<!DOCTYPE hibernate-mapping PUBLIC
+        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
+        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
+
+<hibernate-mapping>
+	<class name="cgl.shindig.usermanage.User" table="user">
+		<id name="id" type="integer"><generator class="identity"/></id>
+		<property name="firstname" type="string" column="firstname"/>
+		<property name="password" type="string" />
+		<property name="lastname" type="string" column="lastname" />
+		<property name="screenname" type="string" column="screenname" unique="true"/>
+		<property name="nickname" type="string" column="nickname"/>
+        <property name="openid" type="string" column="openid"/>
+        <property name="dob" type="date" column="dateofbirth"/>
+        <property name="language" type="string" column="language"/>
+        <property name="timezone" type="string" column="timezone"/>
+        <property name="email" type="string" column="email"/>
+        <property name="gender" type="string" column="gender"/>
+        <property name="postcode" type="string" column="zipcode"/>
+	</class>
+</hibernate-mapping>

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/gram5.properties
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/gram5.properties?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/gram5.properties (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/gram5.properties Fri Apr  1 00:29:22 2011
@@ -0,0 +1,28 @@
+#
+#
+# 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.
+#
+#
+
+#
+# If mysql is true, job manager will insert data into mySql database
+# using parameters provides in other properties
+#
+mysql.url = jdbc:mysql://ogceportal.iu.teragrid.org:3306/testing_harness_result
+mysql.username = ogce
+mysql.password = ogce123

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.cfg.h2.xml
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.cfg.h2.xml?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.cfg.h2.xml (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.cfg.h2.xml Fri Apr  1 00:29:22 2011
@@ -0,0 +1,33 @@
+<!DOCTYPE hibernate-configuration PUBLIC
+	"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
+	"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+
+<hibernate-configuration>
+	<session-factory>
+		<property name="show_sql">false</property>
+		<!--
+		<mapping resource="org/hibernate/test/legacy/Simple.hbm.xml"/>
+		<class-cache
+			class="org.hibernate.test.legacy.Simple"
+			region="Simple"
+			usage="read-write"/>
+		<property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
+			-->
+		<property name="current_session_context_class">thread</property>
+		<!--
+		<property name="connection.datasource">hibernate_jndi.mysql</property>
+		-->
+
+        <property name="hibernate.connection.driver_class">org.h2.Driver</property>
+        <!-- <property name="hibernate.connection.url">jdbc:h2:tcp://localhost/~/h2-data/data</property> -->
+        <property name="hibernate.connection.url">${hibernate.h2.url}</property>
+        <property name="hibernate.connection.username">${hibernate.h2.username}</property>
+        <property name="hibernate.connection.password">${hibernate.h2.password}</property>
+        <!-- <property name="hibernate.default_schema">PUBLIC</property> -->
+        <property name="hibernate.dialect">org.hibernate.dialect.H2Dialect</property>
+
+		<mapping resource="User.hbm.xml" /> 
+		<mapping resource="AdminUser.hbm.xml" /> 
+		<mapping resource="UILayout.hbm.xml" /> 
+	</session-factory>
+</hibernate-configuration>

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.cfg.mysql.xml
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.cfg.mysql.xml?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.cfg.mysql.xml (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.cfg.mysql.xml Fri Apr  1 00:29:22 2011
@@ -0,0 +1,40 @@
+<!DOCTYPE hibernate-configuration PUBLIC
+	"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
+	"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+
+<hibernate-configuration>
+	<session-factory>
+		<property name="show_sql">false</property>
+		<!--
+		<mapping resource="org/hibernate/test/legacy/Simple.hbm.xml"/>
+		<class-cache
+			class="org.hibernate.test.legacy.Simple"
+			region="Simple"
+			usage="read-write"/>
+		<property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
+			-->
+		<property name="current_session_context_class">thread</property>
+		<!--
+		<property name="connection.datasource">hibernate_jndi.mysql</property>
+		-->
+
+        <property name="connection.username">${hibernate.mysql.username}</property>
+        <property name="connection.password">${hibernate.mysql.password}</property>
+        <property name="connection.url">${hibernate.mysql.url}</property>
+        <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
+        <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
+
+        <property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
+        <property name="c3p0.min_size">5</property>
+        <property name="c3p0.max_size">30</property>
+        <property name="c3p0.timeout">600</property>
+        <property name="c3p0.max_statements">0</property>
+        <property name="c3p0.acquire_increment">5</property>
+        <property name="c3p0.idle_test_period">60</property>
+
+		<mapping resource="User.hbm.xml" /> 
+		<mapping resource="AdminUser.hbm.xml" /> 
+		<mapping resource="UILayout.hbm.xml" /> 
+	</session-factory>
+</hibernate-configuration>
+

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.cfg.xml
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.cfg.xml?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.cfg.xml (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.cfg.xml Fri Apr  1 00:29:22 2011
@@ -0,0 +1,33 @@
+<!DOCTYPE hibernate-configuration PUBLIC
+	"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
+	"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+
+<hibernate-configuration>
+	<session-factory>
+		<property name="show_sql">false</property>
+		<!--
+		<mapping resource="org/hibernate/test/legacy/Simple.hbm.xml"/>
+		<class-cache
+			class="org.hibernate.test.legacy.Simple"
+			region="Simple"
+			usage="read-write"/>
+		<property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
+			-->
+		<property name="current_session_context_class">thread</property>
+		<!--
+		<property name="connection.datasource">hibernate_jndi.mysql</property>
+		-->
+
+        <property name="hibernate.connection.driver_class">org.h2.Driver</property>
+        <!-- <property name="hibernate.connection.url">jdbc:h2:tcp://localhost/~/h2-data/data</property> -->
+        <property name="hibernate.connection.url">${hibernate.h2.url}</property>
+        <property name="hibernate.connection.username">${hibernate.h2.username}</property>
+        <property name="hibernate.connection.password">${hibernate.h2.password}</property>
+        <!-- <property name="hibernate.default_schema">PUBLIC</property> -->
+        <property name="hibernate.dialect">org.hibernate.dialect.H2Dialect</property>
+
+		<mapping resource="User.hbm.xml" /> 
+		<mapping resource="AdminUser.hbm.xml" /> 
+		<mapping resource="UILayout.hbm.xml" /> 
+	</session-factory>
+</hibernate-configuration>

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.properties
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.properties?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.properties (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/resources/hibernate.properties Fri Apr  1 00:29:22 2011
@@ -0,0 +1,550 @@
+#
+#
+# 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.
+#
+#
+
+######################
+### Query Language ###
+######################
+
+## define query language constants / function names
+
+hibernate.query.substitutions yes 'Y', no 'N'
+
+
+## select the classic query parser
+
+#hibernate.query.factory_class org.hibernate.hql.classic.ClassicQueryTranslatorFactory
+
+
+
+#################
+### Platforms ###
+#################
+
+## JNDI Datasource
+
+#hibernate.connection.datasource jdbc/test
+#hibernate.connection.username db2
+#hibernate.connection.password db2
+
+
+## HypersonicSQL
+
+#hibernate.dialect org.hibernate.dialect.HSQLDialect
+#hibernate.connection.driver_class org.hsqldb.jdbcDriver
+#hibernate.connection.username sa
+#hibernate.connection.password
+#hibernate.connection.url jdbc:hsqldb:./build/db/hsqldb/hibernate
+#hibernate.connection.url jdbc:hsqldb:hsql://localhost
+#hibernate.connection.url jdbc:hsqldb:test
+
+## H2 (www.h2database.com)
+#hibernate.dialect org.hibernate.dialect.H2Dialect
+#hibernate.connection.driver_class org.h2.Driver
+#hibernate.connection.username sa
+#hibernate.connection.password
+#hibernate.connection.url jdbc:h2:mem:./build/db/h2/hibernate
+#hibernate.connection.url jdbc:h2:testdb/h2test
+#hibernate.connection.url jdbc:h2:mem:imdb1
+#hibernate.connection.url jdbc:h2:tcp://dbserv:8084/sample; 	
+#hibernate.connection.url jdbc:h2:ssl://secureserv:8085/sample; 	
+#hibernate.connection.url jdbc:h2:ssl://secureserv/testdb;cipher=AES
+
+## MySQL
+
+#hibernate.dialect org.hibernate.dialect.MySQLDialect
+#hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect
+#hibernate.dialect org.hibernate.dialect.MySQLMyISAMDialect
+#hibernate.connection.driver_class com.mysql.jdbc.Driver
+#hibernate.connection.url jdbc:mysql://localhost/hibernate
+#hibernate.connection.username username
+#hibernate.connection.password password
+
+
+## Oracle
+
+#hibernate.dialect org.hibernate.dialect.OracleDialect
+#hibernate.dialect org.hibernate.dialect.Oracle9Dialect
+#hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver
+#hibernate.connection.username ora
+#hibernate.connection.password ora
+#hibernate.connection.url jdbc:oracle:thin:@localhost:1521:orcl
+#hibernate.connection.url jdbc:oracle:thin:@localhost:1522:XE
+
+
+## PostgreSQL
+
+#hibernate.dialect org.hibernate.dialect.PostgreSQLDialect
+#hibernate.connection.driver_class org.postgresql.Driver
+#hibernate.connection.url jdbc:postgresql:template1
+#hibernate.connection.username pg
+#hibernate.connection.password
+
+
+## DB2
+
+#hibernate.dialect org.hibernate.dialect.DB2Dialect
+#hibernate.connection.driver_class com.ibm.db2.jcc.DB2Driver
+#hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver
+#hibernate.connection.url jdbc:db2://localhost:50000/somename
+#hibernate.connection.url jdbc:db2:somename
+#hibernate.connection.username db2
+#hibernate.connection.password db2
+
+## TimesTen
+
+#hibernate.dialect org.hibernate.dialect.TimesTenDialect
+#hibernate.connection.driver_class com.timesten.jdbc.TimesTenDriver
+#hibernate.connection.url jdbc:timesten:direct:test
+#hibernate.connection.username
+#hibernate.connection.password 
+
+## DB2/400
+
+#hibernate.dialect org.hibernate.dialect.DB2400Dialect
+#hibernate.connection.username user
+#hibernate.connection.password password
+
+## Native driver
+#hibernate.connection.driver_class COM.ibm.db2.jdbc.app.DB2Driver
+#hibernate.connection.url jdbc:db2://systemname
+
+## Toolbox driver
+#hibernate.connection.driver_class com.ibm.as400.access.AS400JDBCDriver
+#hibernate.connection.url jdbc:as400://systemname
+
+
+## Derby (not supported!)
+
+#hibernate.dialect org.hibernate.dialect.DerbyDialect
+#hibernate.connection.driver_class org.apache.derby.jdbc.EmbeddedDriver
+#hibernate.connection.username
+#hibernate.connection.password
+#hibernate.connection.url jdbc:derby:build/db/derby/hibernate;create=true
+
+
+## Sybase
+
+#hibernate.dialect org.hibernate.dialect.SybaseDialect
+#hibernate.connection.driver_class com.sybase.jdbc2.jdbc.SybDriver
+#hibernate.connection.username sa
+#hibernate.connection.password sasasa
+#hibernate.connection.url jdbc:sybase:Tds:co3061835-a:5000/tempdb
+
+
+## Mckoi SQL
+
+#hibernate.dialect org.hibernate.dialect.MckoiDialect
+#hibernate.connection.driver_class com.mckoi.JDBCDriver
+#hibernate.connection.url jdbc:mckoi:///
+#hibernate.connection.url jdbc:mckoi:local://C:/mckoi1.0.3/db.conf
+#hibernate.connection.username admin
+#hibernate.connection.password nimda
+
+
+## SAP DB
+
+#hibernate.dialect org.hibernate.dialect.SAPDBDialect
+#hibernate.connection.driver_class com.sap.dbtech.jdbc.DriverSapDB
+#hibernate.connection.url jdbc:sapdb://localhost/TST
+#hibernate.connection.username TEST
+#hibernate.connection.password TEST
+#hibernate.query.substitutions yes 'Y', no 'N'
+
+
+## MS SQL Server
+
+#hibernate.dialect org.hibernate.dialect.SQLServerDialect
+#hibernate.connection.username sa
+#hibernate.connection.password sa
+
+## JSQL Driver
+#hibernate.connection.driver_class com.jnetdirect.jsql.JSQLDriver
+#hibernate.connection.url jdbc:JSQLConnect://1E1/test
+
+## JTURBO Driver
+#hibernate.connection.driver_class com.newatlanta.jturbo.driver.Driver
+#hibernate.connection.url jdbc:JTurbo://1E1:1433/test
+
+## WebLogic Driver
+#hibernate.connection.driver_class weblogic.jdbc.mssqlserver4.Driver
+#hibernate.connection.url jdbc:weblogic:mssqlserver4:1E1:1433
+
+## Microsoft Driver (not recommended!)
+#hibernate.connection.driver_class com.microsoft.jdbc.sqlserver.SQLServerDriver
+#hibernate.connection.url jdbc:microsoft:sqlserver://1E1;DatabaseName=test;SelectMethod=cursor
+
+## The New Microsoft Driver 
+#hibernate.connection.driver_class com.microsoft.sqlserver.jdbc.SQLServerDriver
+#hibernate.connection.url jdbc:sqlserver://localhost
+
+## jTDS (since version 0.9)
+#hibernate.connection.driver_class net.sourceforge.jtds.jdbc.Driver
+#hibernate.connection.url jdbc:jtds:sqlserver://1E1/test
+
+## Interbase
+
+#hibernate.dialect org.hibernate.dialect.InterbaseDialect
+#hibernate.connection.username sysdba
+#hibernate.connection.password masterkey
+
+## DO NOT specify hibernate.connection.sqlDialect
+
+## InterClient
+
+#hibernate.connection.driver_class interbase.interclient.Driver
+#hibernate.connection.url jdbc:interbase://localhost:3060/C:/firebird/test.gdb
+
+## Pure Java
+
+#hibernate.connection.driver_class org.firebirdsql.jdbc.FBDriver
+#hibernate.connection.url jdbc:firebirdsql:localhost/3050:/firebird/test.gdb
+
+
+## Pointbase
+
+#hibernate.dialect org.hibernate.dialect.PointbaseDialect
+#hibernate.connection.driver_class com.pointbase.jdbc.jdbcUniversalDriver
+#hibernate.connection.url jdbc:pointbase:embedded:sample
+#hibernate.connection.username PBPUBLIC
+#hibernate.connection.password PBPUBLIC
+
+
+## Ingres
+
+## older versions (before Ingress 2006)
+
+#hibernate.dialect org.hibernate.dialect.IngresDialect
+#hibernate.connection.driver_class ca.edbc.jdbc.EdbcDriver
+#hibernate.connection.url jdbc:edbc://localhost:II7/database
+#hibernate.connection.username user
+#hibernate.connection.password password
+
+## Ingres 2006 or later
+
+#hibernate.dialect org.hibernate.dialect.IngresDialect
+#hibernate.connection.driver_class com.ingres.jdbc.IngresDriver
+#hibernate.connection.url jdbc:ingres://localhost:II7/database;CURSOR=READONLY;auto=multi
+#hibernate.connection.username user
+#hibernate.connection.password password
+
+## Mimer SQL
+
+#hibernate.dialect org.hibernate.dialect.MimerSQLDialect
+#hibernate.connection.driver_class com.mimer.jdbc.Driver
+#hibernate.connection.url jdbc:mimer:multi1
+#hibernate.connection.username hibernate
+#hibernate.connection.password hibernate
+
+
+## InterSystems Cache
+
+#hibernate.dialect org.hibernate.dialect.Cache71Dialect
+#hibernate.connection.driver_class com.intersys.jdbc.CacheDriver
+#hibernate.connection.username _SYSTEM
+#hibernate.connection.password SYS
+#hibernate.connection.url jdbc:Cache://127.0.0.1:1972/HIBERNATE
+
+
+#################################
+### Hibernate Connection Pool ###
+#################################
+
+#hibernate.connection.pool_size 1
+
+
+
+###########################
+### C3P0 Connection Pool###
+###########################
+
+#hibernate.c3p0.max_size 2
+#hibernate.c3p0.min_size 2
+#hibernate.c3p0.timeout 5000
+#hibernate.c3p0.max_statements 100
+#hibernate.c3p0.idle_test_period 3000
+#hibernate.c3p0.acquire_increment 2
+#hibernate.c3p0.validate false
+
+
+
+##############################
+### Proxool Connection Pool###
+##############################
+
+## Properties for external configuration of Proxool
+
+#hibernate.proxool.pool_alias pool1
+
+## Only need one of the following
+
+#hibernate.proxool.existing_pool true
+#hibernate.proxool.xml proxool.xml
+#hibernate.proxool.properties proxool.properties
+
+
+
+#################################
+### Plugin ConnectionProvider ###
+#################################
+
+## use a custom ConnectionProvider (if not set, Hibernate will choose a built-in ConnectionProvider using hueristics)
+
+#hibernate.connection.provider_class org.hibernate.connection.DriverManagerConnectionProvider
+#hibernate.connection.provider_class org.hibernate.connection.DatasourceConnectionProvider
+#hibernate.connection.provider_class org.hibernate.connection.C3P0ConnectionProvider
+#hibernate.connection.provider_class org.hibernate.connection.ProxoolConnectionProvider
+
+
+
+#######################
+### Transaction API ###
+#######################
+
+## Enable automatic flush during the JTA beforeCompletion() callback
+## (This setting is relevant with or without the Transaction API)
+
+#hibernate.transaction.flush_before_completion
+
+
+## Enable automatic session close at the end of transaction
+## (This setting is relevant with or without the Transaction API)
+
+#hibernate.transaction.auto_close_session
+
+
+## the Transaction API abstracts application code from the underlying JTA or JDBC transactions
+
+#hibernate.transaction.factory_class org.hibernate.transaction.JTATransactionFactory
+hibernate.transaction.factory_class org.hibernate.transaction.JDBCTransactionFactory
+
+
+## to use JTATransactionFactory, Hibernate must be able to locate the UserTransaction in JNDI
+## default is java:comp/UserTransaction
+## you do NOT need this setting if you specify hibernate.transaction.manager_lookup_class
+
+#jta.UserTransaction jta/usertransaction
+#jta.UserTransaction javax.transaction.UserTransaction
+#jta.UserTransaction UserTransaction
+
+
+## to use the second-level cache with JTA, Hibernate must be able to obtain the JTA TransactionManager
+
+#hibernate.transaction.manager_lookup_class org.hibernate.transaction.JBossTransactionManagerLookup
+#hibernate.transaction.manager_lookup_class org.hibernate.transaction.WeblogicTransactionManagerLookup
+#hibernate.transaction.manager_lookup_class org.hibernate.transaction.WebSphereTransactionManagerLookup
+#hibernate.transaction.manager_lookup_class org.hibernate.transaction.OrionTransactionManagerLookup
+#hibernate.transaction.manager_lookup_class org.hibernate.transaction.ResinTransactionManagerLookup
+
+
+
+##############################
+### Miscellaneous Settings ###
+##############################
+
+## print all generated SQL to the console
+
+hibernate.show_sql true
+
+
+## format SQL in log and console
+
+hibernate.format_sql true
+
+
+## add comments to the generated SQL
+
+#hibernate.use_sql_comments true
+
+
+## generate statistics
+
+#hibernate.generate_statistics true
+
+
+## auto schema export
+
+#hibernate.hbm2ddl.auto create-drop
+#hibernate.hbm2ddl.auto create
+#hibernate.hbm2ddl.auto update
+#hibernate.hbm2ddl.auto validate
+
+
+## specify a default schema and catalog for unqualified tablenames
+
+#hibernate.default_schema test
+#hibernate.default_catalog test
+
+
+## enable ordering of SQL UPDATEs by primary key
+
+#hibernate.order_updates true
+
+
+## set the maximum depth of the outer join fetch tree
+
+hibernate.max_fetch_depth 1
+
+
+## set the default batch size for batch fetching
+
+#hibernate.default_batch_fetch_size 8
+
+
+## rollback generated identifier values of deleted entities to default values
+
+#hibernate.use_identifer_rollback true
+
+
+## enable bytecode reflection optimizer (disabled by default)
+
+#hibernate.bytecode.use_reflection_optimizer true
+
+
+
+#####################
+### JDBC Settings ###
+#####################
+
+## specify a JDBC isolation level
+
+#hibernate.connection.isolation 4
+
+
+## enable JDBC autocommit (not recommended!)
+
+#hibernate.connection.autocommit true
+
+
+## set the JDBC fetch size
+
+#hibernate.jdbc.fetch_size 25
+
+
+## set the maximum JDBC 2 batch size (a nonzero value enables batching)
+
+#hibernate.jdbc.batch_size 5
+#hibernate.jdbc.batch_size 0
+
+
+## enable batch updates even for versioned data
+
+hibernate.jdbc.batch_versioned_data true
+
+
+## enable use of JDBC 2 scrollable ResultSets (specifying a Dialect will cause Hibernate to use a sensible default)
+
+#hibernate.jdbc.use_scrollable_resultset true
+
+
+## use streams when writing binary types to / from JDBC
+
+hibernate.jdbc.use_streams_for_binary true
+
+
+## use JDBC 3 PreparedStatement.getGeneratedKeys() to get the identifier of an inserted row
+
+#hibernate.jdbc.use_get_generated_keys false
+
+
+## choose a custom JDBC batcher
+
+# hibernate.jdbc.factory_class
+
+
+## enable JDBC result set column alias caching 
+## (minor performance enhancement for broken JDBC drivers)
+
+# hibernate.jdbc.wrap_result_sets
+
+
+## choose a custom SQL exception converter
+
+#hibernate.jdbc.sql_exception_converter
+
+
+
+##########################
+### Second-level Cache ###
+##########################
+
+## optimize chache for minimal "puts" instead of minimal "gets" (good for clustered cache)
+
+#hibernate.cache.use_minimal_puts true
+
+
+## set a prefix for cache region names
+
+hibernate.cache.region_prefix hibernate.test
+
+
+## disable the second-level cache
+
+#hibernate.cache.use_second_level_cache false
+
+
+## enable the query cache
+
+#hibernate.cache.use_query_cache true
+
+
+## store the second-level cache entries in a more human-friendly format
+
+#hibernate.cache.use_structured_entries true
+
+
+## choose a cache implementation
+
+#hibernate.cache.provider_class org.hibernate.cache.EhCacheProvider
+#hibernate.cache.provider_class org.hibernate.cache.EmptyCacheProvider
+hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider
+#hibernate.cache.provider_class org.hibernate.cache.TreeCacheProvider
+#hibernate.cache.provider_class org.hibernate.cache.OSCacheProvider
+#hibernate.cache.provider_class org.hibernate.cache.SwarmCacheProvider
+
+
+## choose a custom query cache implementation
+
+#hibernate.cache.query_cache_factory
+
+
+
+############
+### JNDI ###
+############
+
+## specify a JNDI name for the SessionFactory
+
+#hibernate.session_factory_name hibernate/session_factory
+
+
+## Hibernate uses JNDI to bind a name to a SessionFactory and to look up the JTA UserTransaction;
+## if hibernate.jndi.* are not specified, Hibernate will use the default InitialContext() which
+## is the best approach in an application server
+
+#file system
+#hibernate.jndi.class com.sun.jndi.fscontext.RefFSContextFactory
+#hibernate.jndi.class com.sun.jndi.fscontext.RefFSContextFactory
+#hibernate.jndi.url file:/
+
+#WebSphere
+#hibernate.jndi.class com.ibm.websphere.naming.WsnInitialContextFactory
+#hibernate.jndi.url iiop://localhost:900/
+

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/META-INF/context.xml
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/META-INF/context.xml?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/META-INF/context.xml (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/META-INF/context.xml Fri Apr  1 00:29:22 2011
@@ -0,0 +1,7 @@
+
+<Context>
+    <Realm className="org.apache.catalina.realm.JAASRealm" appName="CertBasedCustomLogin"
+        userClassNames="cgl.shindig.security.UserPrincipal"
+        roleClassNames="cgl.shindig.security.PlainRolePrincipal">
+    </Realm>
+</Context>

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/WEB-INF/web.h2.xml
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/WEB-INF/web.h2.xml?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/WEB-INF/web.h2.xml (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/WEB-INF/web.h2.xml Fri Apr  1 00:29:22 2011
@@ -0,0 +1,380 @@
+<?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 xmlns="http://java.sun.com/xml/ns/javaee"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+           version="2.5">
+
+    <display-name>AJAX shindig layout manager</display-name>
+    <description> </description>
+
+    <context-param>
+        <param-name>sre_prop_file</param-name>
+        <param-value>/WEB-INF/classes/SRE.properties</param-value>
+    </context-param>
+
+    <context-param>
+        <param-name>ax_prop_file</param-name>
+        <param-value>/WEB-INF/classes/AX.properties</param-value>
+    </context-param>
+
+    <context-param>
+      <param-name>db.url</param-name>
+      <param-value>${hibernate.h2.localurl}</param-value>
+    </context-param>
+    <context-param>
+      <param-name>db.user</param-name>
+      <param-value>sa</param-value>
+    </context-param>
+    <context-param>
+      <param-name>db.password</param-name>
+      <param-value>sa</param-value>
+    </context-param>
+    <context-param>
+      <param-name>db.tcpServer</param-name>
+      <param-value>-tcpAllowOthers</param-value>
+    </context-param>
+
+    <listener>
+      <listener-class>cgl.shindig.H2DbStarter</listener-class>
+    </listener>
+    <listener>
+      <listener-class>cgl.shindig.usermanage.servlet.AdminUserListener</listener-class>
+    </listener>
+    <listener>
+      <listener-class>cgl.shindig.GuiceServletContextListener</listener-class>
+    </listener>
+
+    <filter>
+      <filter-name>OSGSSLDNFilter</filter-name>
+      <filter-class>cgl.shindig.SSLOSGFilter</filter-class>
+      <init-param>
+        <param-name>osgdn</param-name>
+        <param-value>osgdn</param-value>
+      </init-param>
+      <init-param>
+        <param-name>enable</param-name>
+        <param-value>true</param-value>
+      </init-param>
+    </filter>
+
+    <filter-mapping>
+      <filter-name>OSGSSLDNFilter</filter-name>
+      <url-pattern>/*</url-pattern>
+    </filter-mapping> 
+
+    <!-- OpenID -->
+    <servlet>
+        <servlet-name>openidsignin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.OpenIdAuth</servlet-class>
+    </servlet>
+
+    <!-- User admin -->
+    <servlet>
+        <servlet-name>useradmin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.UserAdmin</servlet-class>
+    </servlet>
+    
+    <servlet>
+        <servlet-name>certprotecteduseradmin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.CertProtectedUserAdmin</servlet-class>
+    </servlet>
+    
+
+    <!-- Singin and Signup handlers -->
+    <servlet>
+        <servlet-name>signin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.SignIn</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>signup</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.SignUp</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>update</servlet-name>
+        <servlet-class>cgl.shindig.layoutmanager.servlet.LayoutUpdate</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>logout</servlet-name>
+        <servlet-class>cgl.shindig.layoutmanager.servlet.Logout</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>proxymetadata</servlet-name>
+        <servlet-class>cgl.shindig.layoutmanager.servlet.ProxyServlet</servlet-class>
+        <init-param>
+          <param-name>proxyHost</param-name>
+          <!-- <param-value>gf13.ucs.indiana.edu:7070/ishindig-webapp/gadgets/metadata</param-value> -->
+          <param-value>${gadget.server.metadata}</param-value>
+        </init-param>
+        <init-param>
+          <param-name>proxyPort</param-name>
+          <param-value>80</param-value>
+        </init-param>
+        <init-param>
+          <param-name>proxyPath</param-name>
+          <param-value></param-value>
+        </init-param>
+        <init-param>
+          <param-name>maxFileUploadSize</param-name>
+          <param-value></param-value>
+        </init-param>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>proxymetadata</servlet-name>
+        <url-pattern>/gadgets/metadata</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>proxygadgetsetting</servlet-name>
+        <servlet-class>cgl.shindig.layoutmanager.servlet.ProxyServlet</servlet-class>
+        <init-param>
+          <param-name>proxyHost</param-name>
+          <param-value>${gadget.setting.renderurl}</param-value>
+        </init-param>
+        <init-param>
+          <param-name>proxyPort</param-name>
+          <param-value>80</param-value>
+        </init-param>
+        <init-param>
+          <param-name>proxyPath</param-name>
+          <param-value></param-value>
+        </init-param>
+        <init-param>
+          <param-name>maxFileUploadSize</param-name>
+          <param-value></param-value>
+        </init-param>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>proxygadgetsetting</servlet-name>
+        <url-pattern>/gadgets/setting</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>signin</servlet-name>
+        <url-pattern>/signin</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>signup</servlet-name>
+        <url-pattern>/signup</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>useradmin</servlet-name>
+        <url-pattern>/users/*</url-pattern>
+    </servlet-mapping>
+    
+    <servlet-mapping>
+        <servlet-name>certprotecteduseradmin</servlet-name>
+        <url-pattern>/cert-protected-users/*</url-pattern>
+    </servlet-mapping>
+    
+    <servlet-mapping>
+        <servlet-name>openidsignin</servlet-name>
+        <url-pattern>/www/openidsignin</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>update</servlet-name>
+        <url-pattern>/update/layout</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>logout</servlet-name>
+        <url-pattern>/logout</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>useradminsignin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.UserAdminSignIn</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>useradminsignin</servlet-name>
+        <url-pattern>/useradmin/signin</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>useradminpasswdchange</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.UserAdminPasswdChange</servlet-class>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>useradminpasswdchange</servlet-name>
+        <url-pattern>/useradmin/passwdchange</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>useradminlogout</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.UserAdminLogout</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>useradminlogout</servlet-name>
+        <url-pattern>/useradmin/logout</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>heartbeat</servlet-name>
+        <servlet-class>cgl.shindig.heartbeat.servlet.HeartBeatServlet</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>heartbeat</servlet-name>
+        <url-pattern>/heartbeat</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+      <servlet-name>Layout-REST</servlet-name>
+      <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
+      <init-param>
+        <param-name>com.sun.jersey.config.property.packages</param-name>
+        <param-value>cgl.shindig.layoutmanager</param-value>
+      </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
+         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
+     </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
+         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
+     </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.config.feature.logging.DisableEntitylogging</param-name>
+         <param-value>false</param-value>
+     </init-param>
+    </servlet>
+    <servlet-mapping>
+      <servlet-name>Layout-REST</servlet-name>
+      <url-pattern>/rest/*</url-pattern>
+    </servlet-mapping>
+    
+    <servlet>
+      <servlet-name>Callback-REST</servlet-name>
+      <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
+      <init-param>
+        <param-name>com.sun.jersey.config.property.packages</param-name>
+        <param-value>cgl.shindig.security</param-value>
+      </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
+         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
+     </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
+         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
+     </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.config.feature.logging.DisableEntitylogging</param-name>
+         <param-value>false</param-value>
+     </init-param>
+    </servlet>
+    <servlet-mapping>
+      <servlet-name>Callback-REST</servlet-name>
+      <url-pattern>/callbacks/*</url-pattern>
+    </servlet-mapping>
+ 
+    <servlet>
+        <servlet-name>myproxyauthn</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.MyProxyAuthServlet</servlet-class>
+        <init-param>
+          <param-name>trustedCertsLocation</param-name>
+          <param-value>${trustedCertsLocation}</param-value>
+        </init-param>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>myproxyauthn</servlet-name>
+        <url-pattern>/authn/myproxy</url-pattern>
+    </servlet-mapping>
+    
+    <servlet>
+        <servlet-name>gramtesting</servlet-name>
+        <servlet-class>cgl.shindig.gram5.servlet.ResultQueryServlet</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>gramtesting</servlet-name>
+        <url-pattern>/gram5/query</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>H2Console</servlet-name>
+        <servlet-class>org.h2.server.web.WebServlet</servlet-class>
+        <!--
+        <init-param>
+            <param-name>webAllowOthers</param-name>
+            <param-value></param-value>
+        </init-param>
+        <init-param>
+            <param-name>trace</param-name>
+            <param-value></param-value>
+        </init-param>
+        -->
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>H2Console</servlet-name>
+        <url-pattern>/console/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>pastebinProxy</servlet-name>
+        <servlet-class>cgl.shindig.sharing.servlet.PasteBinProxyServlet</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>pastebinProxy</servlet-name>
+        <url-pattern>/pastebin/proxy</url-pattern>
+    </servlet-mapping>
+
+    <!-- REPLACE WITH CILOGON RELATED PART --> 
+
+    <security-constraint>
+        <web-resource-collection>
+            <web-resource-name>Secure Content</web-resource-name>
+            <url-pattern>/cert-protected-users/*</url-pattern>
+            <url-pattern>/callbacks/*</url-pattern>
+        </web-resource-collection>
+        <auth-constraint>
+            <role-name>AuthorizedUser</role-name>
+        </auth-constraint>
+        <user-data-constraint>
+            <transport-guarantee>NONE</transport-guarantee>
+        </user-data-constraint>
+    </security-constraint>
+    <!-- ... -->
+    <login-config>
+        <auth-method>CLIENT-CERT</auth-method>
+        <realm-name>The Restricted Zone</realm-name>
+    </login-config>
+    <!-- ... -->
+    <security-role>
+        <description>The role required to access restricted content </description>
+        <role-name>AuthorizedUser</role-name>
+    </security-role>
+
+	<welcome-file-list>
+		<welcome-file>index.jsp</welcome-file>
+	</welcome-file-list>
+</web-app>

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/WEB-INF/web.mysql.xml
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/WEB-INF/web.mysql.xml?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/WEB-INF/web.mysql.xml (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/WEB-INF/web.mysql.xml Fri Apr  1 00:29:22 2011
@@ -0,0 +1,349 @@
+<?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 xmlns="http://java.sun.com/xml/ns/javaee"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+           version="2.5">
+
+    <display-name>AJAX shindig layout manager</display-name>
+    <description> </description>
+
+    <context-param>
+        <param-name>sre_prop_file</param-name>
+        <param-value>/WEB-INF/classes/SRE.properties</param-value>
+    </context-param>
+
+    <context-param>
+        <param-name>ax_prop_file</param-name>
+        <param-value>/WEB-INF/classes/AX.properties</param-value>
+    </context-param>
+
+    <listener>
+      <listener-class>cgl.shindig.usermanage.servlet.AdminUserListener</listener-class>
+    </listener>
+    <listener>
+      <listener-class>cgl.shindig.GuiceServletContextListener</listener-class>
+    </listener>
+
+    <!-- OpenID -->
+    <servlet>
+        <servlet-name>openidsignin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.OpenIdAuth</servlet-class>
+    </servlet>
+
+    <!-- User admin -->
+    <servlet>
+        <servlet-name>useradmin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.UserAdmin</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>certprotecteduseradmin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.CertProtectedUserAdmin</servlet-class>
+    </servlet>
+
+    <!-- Singin and Signup handlers -->
+    <servlet>
+        <servlet-name>signin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.SignIn</servlet-class>
+    </servlet>
+
+    <filter>
+      <filter-name>OSGSSLDNFilter</filter-name>
+      <filter-class>cgl.shindig.SSLOSGFilter</filter-class>
+      <init-param>
+        <param-name>osgdn</param-name>
+        <param-value>osgdn</param-value>
+      </init-param>
+      <init-param>
+        <param-name>enable</param-name>
+        <param-value>true</param-value>
+      </init-param>
+    </filter>
+
+    <filter-mapping>
+      <filter-name>OSGSSLDNFilter</filter-name>
+      <url-pattern>/*</url-pattern>
+    </filter-mapping> 
+
+    <servlet>
+        <servlet-name>signup</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.SignUp</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>update</servlet-name>
+        <servlet-class>cgl.shindig.layoutmanager.servlet.LayoutUpdate</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>logout</servlet-name>
+        <servlet-class>cgl.shindig.layoutmanager.servlet.Logout</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>proxymetadata</servlet-name>
+        <servlet-class>cgl.shindig.layoutmanager.servlet.ProxyServlet</servlet-class>
+        <init-param>
+          <param-name>proxyHost</param-name>
+          <!-- <param-value>gf13.ucs.indiana.edu:7070/ishindig-webapp/gadgets/metadata</param-value> -->
+          <param-value>${gadget.server.metadata}</param-value>
+        </init-param>
+        <init-param>
+          <param-name>proxyPort</param-name>
+          <param-value>80</param-value>
+        </init-param>
+        <init-param>
+          <param-name>proxyPath</param-name>
+          <param-value></param-value>
+        </init-param>
+        <init-param>
+          <param-name>maxFileUploadSize</param-name>
+          <param-value></param-value>
+        </init-param>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>proxymetadata</servlet-name>
+        <url-pattern>/gadgets/metadata</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>proxygadgetsetting</servlet-name>
+        <servlet-class>cgl.shindig.layoutmanager.servlet.ProxyServlet</servlet-class>
+        <init-param>
+          <param-name>proxyHost</param-name>
+          <param-value>${gadget.setting.renderurl}</param-value>
+        </init-param>
+        <init-param>
+          <param-name>proxyPort</param-name>
+          <param-value>80</param-value>
+        </init-param>
+        <init-param>
+          <param-name>proxyPath</param-name>
+          <param-value></param-value>
+        </init-param>
+        <init-param>
+          <param-name>maxFileUploadSize</param-name>
+          <param-value></param-value>
+        </init-param>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>proxygadgetsetting</servlet-name>
+        <url-pattern>/gadgets/setting</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>signin</servlet-name>
+        <url-pattern>/signin</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>signup</servlet-name>
+        <url-pattern>/signup</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>useradmin</servlet-name>
+        <url-pattern>/users/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>certprotecteduseradmin</servlet-name>
+        <url-pattern>/cert-protected-users/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>openidsignin</servlet-name>
+        <url-pattern>/www/openidsignin</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>update</servlet-name>
+        <url-pattern>/update/layout</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>logout</servlet-name>
+        <url-pattern>/logout</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>useradminsignin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.UserAdminSignIn</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>useradminsignin</servlet-name>
+        <url-pattern>/useradmin/signin</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>useradminlogout</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.UserAdminLogout</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>useradminlogout</servlet-name>
+        <url-pattern>/useradmin/logout</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>heartbeat</servlet-name>
+        <servlet-class>cgl.shindig.heartbeat.servlet.HeartBeatServlet</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>heartbeat</servlet-name>
+        <url-pattern>/heartbeat</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+      <servlet-name>Layout-REST</servlet-name>
+      <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
+      <init-param>
+        <param-name>com.sun.jersey.config.property.packages</param-name>
+        <param-value>cgl.shindig.layoutmanager</param-value>
+      </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
+         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
+     </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
+         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
+     </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.config.feature.logging.DisableEntitylogging</param-name>
+         <param-value>false</param-value>
+     </init-param>
+    </servlet>
+    <servlet-mapping>
+      <servlet-name>Layout-REST</servlet-name>
+      <url-pattern>/rest/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+      <servlet-name>Callback-REST</servlet-name>
+      <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
+      <init-param>
+        <param-name>com.sun.jersey.config.property.packages</param-name>
+        <param-value>cgl.shindig.security</param-value>
+      </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
+         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
+     </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
+         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
+     </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.config.feature.logging.DisableEntitylogging</param-name>
+         <param-value>false</param-value>
+     </init-param>
+    </servlet>
+    <servlet-mapping>
+      <servlet-name>Callback-REST</servlet-name>
+      <url-pattern>/callbacks/*</url-pattern>
+    </servlet-mapping>
+    
+    <servlet>
+        <servlet-name>myproxyauthn</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.MyProxyAuthServlet</servlet-class>
+        <init-param>
+          <param-name>trustedCertsLocation</param-name>
+          <param-value>${trustedCertsLocation}</param-value>
+        </init-param>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>myproxyauthn</servlet-name>
+        <url-pattern>/authn/myproxy</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>gramtesting</servlet-name>
+        <servlet-class>cgl.shindig.gram5.servlet.ResultQueryServlet</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>gramtesting</servlet-name>
+        <url-pattern>/gram5/query</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>H2Console</servlet-name>
+        <servlet-class>org.h2.server.web.WebServlet</servlet-class>
+        <!--
+        <init-param>
+            <param-name>webAllowOthers</param-name>
+            <param-value></param-value>
+        </init-param>
+        <init-param>
+            <param-name>trace</param-name>
+            <param-value></param-value>
+        </init-param>
+        -->
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>H2Console</servlet-name>
+        <url-pattern>/console/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>pastebinProxy</servlet-name>
+        <servlet-class>cgl.shindig.sharing.servlet.PasteBinProxyServlet</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>pastebinProxy</servlet-name>
+        <url-pattern>/pastebin/proxy</url-pattern>
+    </servlet-mapping>
+
+    <!-- REPLACE WITH CILOGON RELATED PART --> 
+
+    <security-constraint>
+        <web-resource-collection>
+            <web-resource-name>Secure Content</web-resource-name>
+            <url-pattern>/cert-protected-users/*</url-pattern>
+            <url-pattern>/callbacks/*</url-pattern>
+        </web-resource-collection>
+        <auth-constraint>
+            <role-name>AuthorizedUser</role-name>
+        </auth-constraint>
+        <user-data-constraint>
+            <transport-guarantee>NONE</transport-guarantee>
+        </user-data-constraint>
+    </security-constraint>
+    <!-- ... -->
+    <login-config>
+        <auth-method>CLIENT-CERT</auth-method>
+        <realm-name>The Restricted Zone</realm-name>
+    </login-config>
+    <!-- ... -->
+    <security-role>
+        <description>The role required to access restricted content </description>
+        <role-name>AuthorizedUser</role-name>
+    </security-role>
+
+	<welcome-file-list>
+		<welcome-file>index.jsp</welcome-file>
+	</welcome-file-list>
+</web-app>

Added: incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/WEB-INF/web.xml?rev=1087520&view=auto
==============================================================================
--- incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/WEB-INF/web.xml (added)
+++ incubator/rave/donations/ogce-gadget-container/ishindig-webapp/src/main/webapp/WEB-INF/web.xml Fri Apr  1 00:29:22 2011
@@ -0,0 +1,380 @@
+<?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 xmlns="http://java.sun.com/xml/ns/javaee"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+           version="2.5">
+
+    <display-name>AJAX shindig layout manager</display-name>
+    <description> </description>
+
+    <context-param>
+        <param-name>sre_prop_file</param-name>
+        <param-value>/WEB-INF/classes/SRE.properties</param-value>
+    </context-param>
+
+    <context-param>
+        <param-name>ax_prop_file</param-name>
+        <param-value>/WEB-INF/classes/AX.properties</param-value>
+    </context-param>
+
+    <context-param>
+      <param-name>db.url</param-name>
+      <param-value>${hibernate.h2.localurl}</param-value>
+    </context-param>
+    <context-param>
+      <param-name>db.user</param-name>
+      <param-value>sa</param-value>
+    </context-param>
+    <context-param>
+      <param-name>db.password</param-name>
+      <param-value>sa</param-value>
+    </context-param>
+    <context-param>
+      <param-name>db.tcpServer</param-name>
+      <param-value>-tcpAllowOthers</param-value>
+    </context-param>
+
+    <listener>
+      <listener-class>cgl.shindig.H2DbStarter</listener-class>
+    </listener>
+    <listener>
+      <listener-class>cgl.shindig.usermanage.servlet.AdminUserListener</listener-class>
+    </listener>
+    <listener>
+      <listener-class>cgl.shindig.GuiceServletContextListener</listener-class>
+    </listener>
+
+    <filter>
+      <filter-name>OSGSSLDNFilter</filter-name>
+      <filter-class>cgl.shindig.SSLOSGFilter</filter-class>
+      <init-param>
+        <param-name>osgdn</param-name>
+        <param-value>osgdn</param-value>
+      </init-param>
+      <init-param>
+        <param-name>enable</param-name>
+        <param-value>true</param-value>
+      </init-param>
+    </filter>
+
+    <filter-mapping>
+      <filter-name>OSGSSLDNFilter</filter-name>
+      <url-pattern>/*</url-pattern>
+    </filter-mapping> 
+
+    <!-- OpenID -->
+    <servlet>
+        <servlet-name>openidsignin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.OpenIdAuth</servlet-class>
+    </servlet>
+
+    <!-- User admin -->
+    <servlet>
+        <servlet-name>useradmin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.UserAdmin</servlet-class>
+    </servlet>
+    
+    <servlet>
+        <servlet-name>certprotecteduseradmin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.CertProtectedUserAdmin</servlet-class>
+    </servlet>
+    
+
+    <!-- Singin and Signup handlers -->
+    <servlet>
+        <servlet-name>signin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.SignIn</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>signup</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.SignUp</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>update</servlet-name>
+        <servlet-class>cgl.shindig.layoutmanager.servlet.LayoutUpdate</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>logout</servlet-name>
+        <servlet-class>cgl.shindig.layoutmanager.servlet.Logout</servlet-class>
+    </servlet>
+
+    <servlet>
+        <servlet-name>proxymetadata</servlet-name>
+        <servlet-class>cgl.shindig.layoutmanager.servlet.ProxyServlet</servlet-class>
+        <init-param>
+          <param-name>proxyHost</param-name>
+          <!-- <param-value>gf13.ucs.indiana.edu:7070/ishindig-webapp/gadgets/metadata</param-value> -->
+          <param-value>${gadget.server.metadata}</param-value>
+        </init-param>
+        <init-param>
+          <param-name>proxyPort</param-name>
+          <param-value>80</param-value>
+        </init-param>
+        <init-param>
+          <param-name>proxyPath</param-name>
+          <param-value></param-value>
+        </init-param>
+        <init-param>
+          <param-name>maxFileUploadSize</param-name>
+          <param-value></param-value>
+        </init-param>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>proxymetadata</servlet-name>
+        <url-pattern>/gadgets/metadata</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>proxygadgetsetting</servlet-name>
+        <servlet-class>cgl.shindig.layoutmanager.servlet.ProxyServlet</servlet-class>
+        <init-param>
+          <param-name>proxyHost</param-name>
+          <param-value>${gadget.setting.renderurl}</param-value>
+        </init-param>
+        <init-param>
+          <param-name>proxyPort</param-name>
+          <param-value>80</param-value>
+        </init-param>
+        <init-param>
+          <param-name>proxyPath</param-name>
+          <param-value></param-value>
+        </init-param>
+        <init-param>
+          <param-name>maxFileUploadSize</param-name>
+          <param-value></param-value>
+        </init-param>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>proxygadgetsetting</servlet-name>
+        <url-pattern>/gadgets/setting</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>signin</servlet-name>
+        <url-pattern>/signin</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>signup</servlet-name>
+        <url-pattern>/signup</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>useradmin</servlet-name>
+        <url-pattern>/users/*</url-pattern>
+    </servlet-mapping>
+    
+    <servlet-mapping>
+        <servlet-name>certprotecteduseradmin</servlet-name>
+        <url-pattern>/cert-protected-users/*</url-pattern>
+    </servlet-mapping>
+    
+    <servlet-mapping>
+        <servlet-name>openidsignin</servlet-name>
+        <url-pattern>/www/openidsignin</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>update</servlet-name>
+        <url-pattern>/update/layout</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>logout</servlet-name>
+        <url-pattern>/logout</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>useradminsignin</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.UserAdminSignIn</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>useradminsignin</servlet-name>
+        <url-pattern>/useradmin/signin</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>useradminpasswdchange</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.UserAdminPasswdChange</servlet-class>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>useradminpasswdchange</servlet-name>
+        <url-pattern>/useradmin/passwdchange</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>useradminlogout</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.UserAdminLogout</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>useradminlogout</servlet-name>
+        <url-pattern>/useradmin/logout</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>heartbeat</servlet-name>
+        <servlet-class>cgl.shindig.heartbeat.servlet.HeartBeatServlet</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>heartbeat</servlet-name>
+        <url-pattern>/heartbeat</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+      <servlet-name>Layout-REST</servlet-name>
+      <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
+      <init-param>
+        <param-name>com.sun.jersey.config.property.packages</param-name>
+        <param-value>cgl.shindig.layoutmanager</param-value>
+      </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
+         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
+     </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
+         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
+     </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.config.feature.logging.DisableEntitylogging</param-name>
+         <param-value>false</param-value>
+     </init-param>
+    </servlet>
+    <servlet-mapping>
+      <servlet-name>Layout-REST</servlet-name>
+      <url-pattern>/rest/*</url-pattern>
+    </servlet-mapping>
+    
+    <servlet>
+      <servlet-name>Callback-REST</servlet-name>
+      <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
+      <init-param>
+        <param-name>com.sun.jersey.config.property.packages</param-name>
+        <param-value>cgl.shindig.security</param-value>
+      </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
+         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
+     </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
+         <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
+     </init-param>
+     <init-param>
+         <param-name>com.sun.jersey.config.feature.logging.DisableEntitylogging</param-name>
+         <param-value>false</param-value>
+     </init-param>
+    </servlet>
+    <servlet-mapping>
+      <servlet-name>Callback-REST</servlet-name>
+      <url-pattern>/callbacks/*</url-pattern>
+    </servlet-mapping>
+ 
+    <servlet>
+        <servlet-name>myproxyauthn</servlet-name>
+        <servlet-class>cgl.shindig.usermanage.servlet.MyProxyAuthServlet</servlet-class>
+        <init-param>
+          <param-name>trustedCertsLocation</param-name>
+          <param-value>${trustedCertsLocation}</param-value>
+        </init-param>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>myproxyauthn</servlet-name>
+        <url-pattern>/authn/myproxy</url-pattern>
+    </servlet-mapping>
+    
+    <servlet>
+        <servlet-name>gramtesting</servlet-name>
+        <servlet-class>cgl.shindig.gram5.servlet.ResultQueryServlet</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>gramtesting</servlet-name>
+        <url-pattern>/gram5/query</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>H2Console</servlet-name>
+        <servlet-class>org.h2.server.web.WebServlet</servlet-class>
+        <!--
+        <init-param>
+            <param-name>webAllowOthers</param-name>
+            <param-value></param-value>
+        </init-param>
+        <init-param>
+            <param-name>trace</param-name>
+            <param-value></param-value>
+        </init-param>
+        -->
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>H2Console</servlet-name>
+        <url-pattern>/console/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet>
+        <servlet-name>pastebinProxy</servlet-name>
+        <servlet-class>cgl.shindig.sharing.servlet.PasteBinProxyServlet</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>pastebinProxy</servlet-name>
+        <url-pattern>/pastebin/proxy</url-pattern>
+    </servlet-mapping>
+
+    <!-- REPLACE WITH CILOGON RELATED PART --> 
+
+    <security-constraint>
+        <web-resource-collection>
+            <web-resource-name>Secure Content</web-resource-name>
+            <url-pattern>/cert-protected-users/*</url-pattern>
+            <url-pattern>/callbacks/*</url-pattern>
+        </web-resource-collection>
+        <auth-constraint>
+            <role-name>AuthorizedUser</role-name>
+        </auth-constraint>
+        <user-data-constraint>
+            <transport-guarantee>NONE</transport-guarantee>
+        </user-data-constraint>
+    </security-constraint>
+    <!-- ... -->
+    <login-config>
+        <auth-method>CLIENT-CERT</auth-method>
+        <realm-name>The Restricted Zone</realm-name>
+    </login-config>
+    <!-- ... -->
+    <security-role>
+        <description>The role required to access restricted content </description>
+        <role-name>AuthorizedUser</role-name>
+    </security-role>
+
+	<welcome-file-list>
+		<welcome-file>index.jsp</welcome-file>
+	</welcome-file-list>
+</web-app>