geronimo-web.xml

http://www.ibm.com/search/csass/search/?q=war+log4j&sn=dw&lang=en&cc=US&en=utf&hpp=20&dws=dw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<web:web-app
    xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"
    xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0"
    xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
>
    
    <dep:environment>
        <dep:moduleId>
            <dep:groupId>default</dep:groupId>
            <dep:artifactId>javaee6-auth-example</dep:artifactId>
            <dep:version>1.0</dep:version>
        </dep:moduleId>
    </dep:environment>
      
    <web:security-realm-name>geronimo-admin</web:security-realm-name>
    
    <sec:security>
        <sec:role-mappings>
            <sec:role role-name="TEST_SERVLET_ACCESS">
                <sec:principal
                    class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"
                    name="TEST_SERVLET_ACCESS"
                />
            </sec:role>
            <sec:role role-name="USER_MANAGEMENT">
                <sec:principal
                    class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"
                    name="USER_MANAGEMENT"
                />
            </sec:role>
        </sec:role-mappings>
    </sec:security>
    
</web:web-app>
 
 
geronimo-web.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">

  <environment>
    <moduleId>
      <groupId>org.apache.activemq.book</groupId>
      <artifactId>jms-webapp</artifactId>
      <version>1.0-SNAPSHOT</version>
      <type>war</type>
    </moduleId>
    <dependencies>
    <!-- Depend upon the custom JMS resources group -->
      <dependency>
        <groupId>console.jms</groupId>
        <artifactId>FooGroup</artifactId>
        <version>1.0</version>
        <type>car</type>
      </dependency>
    </dependencies>
    <!-- Filter out the following items from the parent classloader -->
    <hidden-classes>
      <filter>org.springframework.</filter>
      <filter>META-INF/spring</filter>
    </hidden-classes>
  </environment>
  
  <context-root>/jms-webapp</context-root>
  
</web-app>
geronimo-web.xml

 

geronimo-web.xml,布布扣,bubuko.com

geronimo-web.xml

上一篇:ADO.NET 增删查改小总结


下一篇:几个 jQuery 小提示和技巧