Author: kien_nguyen
Date: 2010-11-29 23:24:48 -0500 (Mon, 29 Nov 2010)
New Revision: 5370
Added:
exo/portal/branches/3.1.x/gadgets/eXoGadgets/src/main/webapp/META-INF/
exo/portal/branches/3.1.x/gadgets/eXoGadgets/src/main/webapp/META-INF/context.xml
exo/portal/branches/3.1.x/web/eXoResources/src/main/webapp/META-INF/
exo/portal/branches/3.1.x/web/eXoResources/src/main/webapp/META-INF/context.xml
exo/portal/branches/3.1.x/web/portal/src/main/webapp/META-INF/
exo/portal/branches/3.1.x/web/portal/src/main/webapp/META-INF/context.xml
exo/portal/branches/3.1.x/web/rest/src/main/webapp/META-INF/
exo/portal/branches/3.1.x/web/rest/src/main/webapp/META-INF/context.xml
Removed:
exo/portal/branches/3.1.x/web/portal/src/main/resources/
Log:
EXOGTN-184 Tomcat configuration sanitization
Added: exo/portal/branches/3.1.x/gadgets/eXoGadgets/src/main/webapp/META-INF/context.xml
===================================================================
--- exo/portal/branches/3.1.x/gadgets/eXoGadgets/src/main/webapp/META-INF/context.xml
(rev 0)
+++
exo/portal/branches/3.1.x/gadgets/eXoGadgets/src/main/webapp/META-INF/context.xml 2010-11-30
04:24:48 UTC (rev 5370)
@@ -0,0 +1,22 @@
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+
+-->
+
+<Context path="/eXoGadgetServer" docBase="eXoGadgetServer"
debug="0" reloadable="true" crossContext="true"/>
Added: exo/portal/branches/3.1.x/web/eXoResources/src/main/webapp/META-INF/context.xml
===================================================================
--- exo/portal/branches/3.1.x/web/eXoResources/src/main/webapp/META-INF/context.xml
(rev 0)
+++
exo/portal/branches/3.1.x/web/eXoResources/src/main/webapp/META-INF/context.xml 2010-11-30
04:24:48 UTC (rev 5370)
@@ -0,0 +1,22 @@
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+
+-->
+
+<Context path="/eXoResources" docBase="eXoResources"
debug="0" reloadable="true" crossContext="true"/>
Added: exo/portal/branches/3.1.x/web/portal/src/main/webapp/META-INF/context.xml
===================================================================
--- exo/portal/branches/3.1.x/web/portal/src/main/webapp/META-INF/context.xml
(rev 0)
+++ exo/portal/branches/3.1.x/web/portal/src/main/webapp/META-INF/context.xml 2010-11-30
04:24:48 UTC (rev 5370)
@@ -0,0 +1,31 @@
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+
+-->
+
+<Context path='/portal' docBase='portal' debug='0'
reloadable='true' crossContext='true' privileged='true'>
+ <Realm className='org.apache.catalina.realm.JAASRealm'
+ appName='gatein-domain'
+ userClassNames='org.exoplatform.services.security.jaas.UserPrincipal'
+ roleClassNames='org.exoplatform.services.security.jaas.RolePrincipal'
+ debug='0' cache='false'/>
+ <Valve
+ className='org.apache.catalina.authenticator.FormAuthenticator'
+ characterEncoding='UTF-8'/>
+</Context>
Added: exo/portal/branches/3.1.x/web/rest/src/main/webapp/META-INF/context.xml
===================================================================
--- exo/portal/branches/3.1.x/web/rest/src/main/webapp/META-INF/context.xml
(rev 0)
+++ exo/portal/branches/3.1.x/web/rest/src/main/webapp/META-INF/context.xml 2010-11-30
04:24:48 UTC (rev 5370)
@@ -0,0 +1,29 @@
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+
+-->
+
+<Context path="/rest" docBase="rest" reloadable="true"
crossContext="false">
+
+ <Realm className='org.apache.catalina.realm.JAASRealm'
+ appName='gatein-domain'
+ userClassNames="org.exoplatform.services.security.jaas.UserPrincipal"
+ roleClassNames="org.exoplatform.services.security.jaas.RolePrincipal"
+ debug='0' cache='false'/>
+</Context>