geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul McMahan <paulmcma...@gmail.com>
Subject Re: svn commit: r541510 - in /geronimo/server/trunk/applications/geronimo-examples: geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
Date Fri, 25 May 2007 16:12:25 GMT
I was also wondering why the added security.

Best wishes,
Paul



On May 25, 2007, at 12:10 PM, David Jencks wrote:

> Why is this a good idea?  Don't we build configs for these in  
> configs and install them in the ee servers?
>
> thanks
> david jencks
>
> On May 24, 2007, at 6:59 PM, dwoods@apache.org wrote:
>
>> Author: dwoods
>> Date: Thu May 24 18:59:13 2007
>> New Revision: 541510
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=541510
>> Log:
>> GERONIMO-3189 Add missing geronimo-web.xml for jsp-examples and  
>> servlet-examples
>>
>> Added:
>>     geronimo/server/trunk/applications/geronimo-examples/geronimo- 
>> jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml   (with props)
>>     geronimo/server/trunk/applications/geronimo-examples/geronimo- 
>> servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml   (with  
>> props)
>>
>> Added: geronimo/server/trunk/applications/geronimo-examples/ 
>> geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/ 
>> applications/geronimo-examples/geronimo-jsp-examples/src/main/ 
>> webapp/WEB-INF/geronimo-web.xml?view=auto&rev=541510
>> ===================================================================== 
>> =========
>> --- geronimo/server/trunk/applications/geronimo-examples/geronimo- 
>> jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml (added)
>> +++ geronimo/server/trunk/applications/geronimo-examples/geronimo- 
>> jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml Thu May 24  
>> 18:59:13 2007
>> @@ -0,0 +1,49 @@
>> +<!--
>> +    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.
>> +-->
>> +
>> +<!-- $Rev: 525563 $ $Date: 2007-04-04 13:37:08 -0400 (Wed, 04 Apr  
>> 2007) $ -->
>> +
>> +<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/ 
>> tomcat-1.2"
>> +         xmlns:dep="http://geronimo.apache.org/xml/ns/ 
>> deployment-1.2">
>> +
>> +  <dep:environment >
>> +    <dep:moduleId>
>> +      <dep:groupId>org.apache.geronimo.applications.examples</ 
>> dep:groupId>
>> +      <dep:artifactId>geronimo-jsp-examples</dep:artifactId>
>> +      <dep:version>2.0-SNAPSHOT</dep:version>
>> +      <dep:type>war</dep:type>
>> +    </dep:moduleId>
>> +    <dep:dependencies/>
>> +    <dep:hidden-classes/>
>> +    <dep:non-overridable-classes/>
>> +  </dep:environment>
>> +
>> +  <context-root>/jsp-examples</context-root>
>> +  <!--<context-priority-classloader>false</context-priority- 
>> classloader>-->
>> +  <security-realm-name>geronimo-properties-realm</security-realm- 
>> name>
>> +  <security>
>> +      <default-principal>
>> +          <principal name="anonymous"  
>> class="org.apache.geronimo.security.realm.providers.GeronimoUserPrinc 
>> ipal"/>
>> +      </default-principal>
>> +      <role-mappings>
>> +          <role role-name="tomcat">
>> +              <principal name="admin"  
>> class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrin 
>> cipal"/>
>> +          </role>
>> +      </role-mappings>
>> +  </security>
>> +
>> +</web-app>
>> \ No newline at end of file
>>
>> Propchange: geronimo/server/trunk/applications/geronimo-examples/ 
>> geronimo-jsp-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> --------------------------------------------------------------------- 
>> ---------
>>     svn:eol-style = native
>>
>> Added: geronimo/server/trunk/applications/geronimo-examples/ 
>> geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/ 
>> applications/geronimo-examples/geronimo-servlet-examples/src/main/ 
>> webapp/WEB-INF/geronimo-web.xml?view=auto&rev=541510
>> ===================================================================== 
>> =========
>> --- geronimo/server/trunk/applications/geronimo-examples/geronimo- 
>> servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml (added)
>> +++ geronimo/server/trunk/applications/geronimo-examples/geronimo- 
>> servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml Thu May  
>> 24 18:59:13 2007
>> @@ -0,0 +1,49 @@
>> +<!--
>> +    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.
>> +-->
>> +
>> +<!-- $Rev: 525563 $ $Date: 2007-04-04 13:37:08 -0400 (Wed, 04 Apr  
>> 2007) $ -->
>> +
>> +<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/ 
>> tomcat-1.2"
>> +         xmlns:dep="http://geronimo.apache.org/xml/ns/ 
>> deployment-1.2">
>> +
>> +  <dep:environment>
>> +    <dep:moduleId>
>> +      <dep:groupId>org.apache.geronimo.applications.examples</ 
>> dep:groupId>
>> +      <dep:artifactId>geronimo-servlet-examples</dep:artifactId>
>> +      <dep:version>2.0-SNAPSHOT</dep:version>
>> +      <dep:type>war</dep:type>
>> +    </dep:moduleId>
>> +    <dep:dependencies/>
>> +    <dep:hidden-classes/>
>> +    <dep:non-overridable-classes/>
>> +  </dep:environment>
>> +
>> +  <context-root>/servlet-examples</context-root>
>> +  <!--<context-priority-classloader>false</context-priority- 
>> classloader>-->
>> +  <security-realm-name>geronimo-properties-realm</security-realm- 
>> name>
>> +  <security>
>> +      <default-principal>
>> +          <principal name="anonymous"  
>> class="org.apache.geronimo.security.realm.providers.GeronimoUserPrinc 
>> ipal"/>
>> +      </default-principal>
>> +      <role-mappings>
>> +          <role role-name="tomcat">
>> +              <principal name="admin"  
>> class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrin 
>> cipal"/>
>> +          </role>
>> +      </role-mappings>
>> +  </security>
>> +
>> +</web-app>
>> \ No newline at end of file
>>
>> Propchange: geronimo/server/trunk/applications/geronimo-examples/ 
>> geronimo-servlet-examples/src/main/webapp/WEB-INF/geronimo-web.xml
>> --------------------------------------------------------------------- 
>> ---------
>>     svn:eol-style = native
>>
>>
>


Mime
View raw message