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>
 
 
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,古老的榕树,5-wow.com

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。