首页 > Web开发 > 详细

geronimo-web.xml

时间:2014-03-07 18:35:31      阅读:616      评论:0      收藏:0      [点我收藏+]
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>
 
 
bubuko.com,布布扣
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>
bubuko.com,布布扣

 

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

geronimo-web.xml

原文:http://www.cnblogs.com/duanxz/p/3586635.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!