glassfish 0.9.5-universal-java → 1.0.0-universal-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. data/History.txt +247 -0
  2. data/LICENSE.txt +774 -0
  3. data/README.txt +140 -0
  4. data/bin/gfrake +5 -1
  5. data/bin/glassfish +5 -7
  6. data/generators/gfrake/templates/glassfish.yml +39 -0
  7. data/lib/command_line_parser.rb +29 -40
  8. data/lib/config.rb +57 -63
  9. data/lib/glassfish.rb +3 -79
  10. data/{modules → lib/java}/akuma.jar +0 -0
  11. data/lib/java/gf-jruby-connector.jar +0 -0
  12. data/lib/java/glassfish-embedded-nucleus.jar +0 -0
  13. data/lib/java/glassfish-gem.jar +0 -0
  14. data/lib/java/grizzly-jruby-module.jar +0 -0
  15. data/lib/java/grizzly-jruby.jar +0 -0
  16. data/lib/jruby/rack/grizzly_helper.rb +230 -0
  17. data/lib/jruby/rack/merb.rb +34 -0
  18. data/lib/jruby/rack/rackup.rb +46 -0
  19. data/lib/jruby/rack/rails.rb +29 -0
  20. data/lib/jruby/rack/sinatra.rb +18 -0
  21. data/lib/jruby/rails_path.rb +11 -0
  22. data/lib/{templates/profile.properties → rack/adapter/merb.rb} +18 -7
  23. data/lib/rack/adapter/rails.rb +268 -0
  24. data/lib/rack/handler/grizzly.rb +59 -0
  25. data/lib/server.rb +164 -0
  26. data/lib/version.rb +1 -1
  27. metadata +83 -153
  28. data/bin/glassfish_rails +0 -61
  29. data/config/asadminenv.conf +0 -6
  30. data/config/asenv.bat +0 -29
  31. data/config/asenv.conf +0 -31
  32. data/config/glassfish.container +0 -4
  33. data/domains/domain1/config/admin-keyfile +0 -3
  34. data/domains/domain1/config/cacerts.jks +0 -0
  35. data/domains/domain1/config/default-web.xml +0 -1133
  36. data/domains/domain1/config/domain-passwords +0 -0
  37. data/domains/domain1/config/domain.xml +0 -190
  38. data/domains/domain1/config/glassfish_gem_version.yml +0 -7
  39. data/domains/domain1/config/keyfile +0 -6
  40. data/domains/domain1/config/keystore.jks +0 -0
  41. data/domains/domain1/config/logging.properties +0 -46
  42. data/domains/domain1/config/login.conf +0 -21
  43. data/domains/domain1/config/server.policy +0 -170
  44. data/domains/domain1/config/sun-acc.xml +0 -40
  45. data/domains/domain1/docroot/index.html +0 -83
  46. data/domains/domain1/master-password +0 -0
  47. data/lib/appclient/appclientlogin.conf +0 -10
  48. data/lib/appclient/client.policy +0 -79
  49. data/lib/appclient/wss-client-config-1.0.xml +0 -84
  50. data/lib/appclient/wss-client-config-2.0.xml +0 -96
  51. data/lib/registration/servicetag-registry.xml +0 -18
  52. data/lib/templates/cacerts.jks +0 -0
  53. data/lib/templates/default-web.xml +0 -1133
  54. data/lib/templates/docroot/index.html +0 -83
  55. data/lib/templates/domain.xml +0 -180
  56. data/lib/templates/domain.xml.xsl +0 -100
  57. data/lib/templates/keyfile +0 -6
  58. data/lib/templates/keystore.jks +0 -0
  59. data/lib/templates/logging.properties +0 -48
  60. data/lib/templates/login.conf +0 -21
  61. data/lib/templates/server.policy +0 -170
  62. data/lib/templates/sun-acc.xml +0 -40
  63. data/modules/admin-cli.jar +0 -0
  64. data/modules/api-exporter.jar +0 -0
  65. data/modules/asm-all-repackaged.jar +0 -0
  66. data/modules/auto-depends.jar +0 -0
  67. data/modules/bean-validator.jar +0 -0
  68. data/modules/branding.jar +0 -0
  69. data/modules/cli-framework.jar +0 -0
  70. data/modules/common-util.jar +0 -0
  71. data/modules/config-api.jar +0 -0
  72. data/modules/config.jar +0 -0
  73. data/modules/deployment-admin.jar +0 -0
  74. data/modules/deployment-autodeploy.jar +0 -0
  75. data/modules/deployment-common.jar +0 -0
  76. data/modules/flashlight-agent.jar +0 -0
  77. data/modules/flashlight-framework.jar +0 -0
  78. data/modules/gf-jruby-connector.jar +0 -0
  79. data/modules/gfprobe-provider-client.jar +0 -0
  80. data/modules/glassfish-api.jar +0 -0
  81. data/modules/glassfish-ee-api.jar +0 -0
  82. data/modules/glassfish-extra-jre-packages.jar +0 -0
  83. data/modules/glassfish-gem.jar +0 -0
  84. data/modules/glassfish.jar +0 -0
  85. data/modules/grizzly-comet.jar +0 -0
  86. data/modules/grizzly-cometd.jar +0 -0
  87. data/modules/grizzly-compat.jar +0 -0
  88. data/modules/grizzly-config.jar +0 -0
  89. data/modules/grizzly-framework.jar +0 -0
  90. data/modules/grizzly-http.jar +0 -0
  91. data/modules/grizzly-jruby-module.jar +0 -0
  92. data/modules/grizzly-jruby.jar +0 -0
  93. data/modules/grizzly-messagesbus.jar +0 -0
  94. data/modules/grizzly-portunif.jar +0 -0
  95. data/modules/grizzly-rcm.jar +0 -0
  96. data/modules/grizzly-utils.jar +0 -0
  97. data/modules/hk2-core.jar +0 -0
  98. data/modules/hk2.jar +0 -0
  99. data/modules/internal-api.jar +0 -0
  100. data/modules/kernel.jar +0 -0
  101. data/modules/launcher.jar +0 -0
  102. data/modules/org.apache.felix.configadmin.jar +0 -0
  103. data/modules/org.apache.felix.fileinstall.jar +0 -0
  104. data/modules/org.apache.felix.shell.jar +0 -0
  105. data/modules/org.apache.felix.shell.remote.jar +0 -0
  106. data/modules/org.apache.felix.shell.tui.jar +0 -0
  107. data/modules/osgi-main.jar +0 -0
  108. data/modules/pkg-client.jar +0 -0
  109. data/modules/tiger-types-osgi.jar +0 -0
@@ -1,40 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
-
3
- <!--
4
- Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
5
- Use is subject to license terms.
6
- -->
7
-
8
- <!--
9
- Please remember to customize this file for your environment. The defaults for
10
- following fields may not be appropriate.
11
- - target-server name, address and port
12
- - Property security.config in message-security-config
13
- -->
14
-
15
- <!DOCTYPE client-container PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 8.0 Application Client Container//EN" "http://www.sun.com/software/appserver/dtds/sun-application-client-container_1_2.dtd">
16
-
17
- <client-container>
18
- <target-server name="repine" address="localhost" port="3700"/>
19
- <log-service file="" level="WARNING"/>
20
- <message-security-config auth-layer="SOAP">
21
- <!-- turned off by default -->
22
- <provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="XWS_ClientProvider" provider-type="client">
23
- <request-policy auth-source="content"/>
24
- <response-policy auth-source="content"/>
25
- <property name="encryption.key.alias" value="s1as"/>
26
- <property name="signature.key.alias" value="s1as"/>
27
- <property name="dynamic.username.password" value="false"/>
28
- <property name="debug" value="false"/>
29
- </provider-config>
30
- <provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="ClientProvider" provider-type="client">
31
- <request-policy auth-source="content"/>
32
- <response-policy auth-source="content"/>
33
- <property name="encryption.key.alias" value="s1as"/>
34
- <property name="signature.key.alias" value="s1as"/>
35
- <property name="dynamic.username.password" value="false"/>
36
- <property name="debug" value="false"/>
37
- <property name="security.config" value="${com.sun.aas.installRoot}/lib/appclient/wss-client-config-1.0.xml"/>
38
- </provider-config>
39
- </message-security-config>
40
- </client-container>
@@ -1,83 +0,0 @@
1
- <!--Arbortext, Inc., 1988-2008, v.4002-->
2
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
- <html lang="en">
4
- <!--
5
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
6
-
7
- Copyright 2009 Sun Microsystems, Inc. All rights reserved.
8
-
9
- Use is subject to License Terms
10
- -->
11
- <head>
12
- <style type="text/css"> body{margin-top:0} body,td,p,div,span,a,ul,ul li, ol, ol li, ol li b, dl,h1,h2,h3,h4,h5,h6,li { font-family:geneva,helvetica,arial,"lucida sans",sans-serif; font-size:10pt } h1 {font-size:18pt} h2 {font-size:14pt} h3 {font-size:12pt} code,kbd,tt,pre { font-family:monaco,courier,"courier new"; font-size:10pt; } li {padding-bottom: 8px} p.copy, p.copy a { font-family:geneva,helvetica,arial,"lucida sans",sans-serif; font-size:8pt } p.copy {text-align: center} table.grey1,tr.grey1,td.grey1{background:#f1f1f1} th { color:#ffffff; font-family:geneva,helvetica,arial,"lucida sans",sans-serif; font-size:12pt } td.insidehead { font-weight:bold; background:white; text-align: left; } a {text-decoration:none; color:#3E6B8A} a:visited{color:#917E9C} a:hover {text-decoration:underline}
13
- </style>
14
- <title>Sun GlassFish Enterprise Server v3 Preview - Server Running</title>
15
- </head>
16
- <body bgcolor="#ffffff" text="#000000" link="#594fbf" vlink="#1005fb"
17
- alink="#333366"><br> <table width="100%" border="0" cellspacing="0"
18
- cellpadding="3">
19
- <tbody>
20
- <tr>
21
- <td align="right" valign="top"> <a href="http://www.sun.com">sun.com</a> </td>
22
- </tr>
23
- <tr>
24
- <td align="left" valign="top" bgcolor="#587993"> <font color="#ffffff">&nbsp;<b>
25
- Sun GlassFish Enterprise Server v3 Preview</b></font> </td>
26
- </tr>
27
- </tbody>
28
- </table> <h1>Your server is now running</h1> <p>To replace this page, overwrite
29
- the file <code>index.html</code> in the document root folder of this server.
30
- The document root folder for this server is the <code>docroot</code> subdirectory
31
- of this server's domain directory.</p> <p>To manage a server on the local
32
- host with the default administration port, <a href="http://localhost:4848"
33
- target="blank">go to the Administration Console</a>.</p> <h2>Register Sun
34
- GlassFish Enterprise Server with Sun Connection now</h2><p>Use the Administration
35
- Console to register Sun GlassFish&trade; Enterprise Server (GlassFish server)
36
- with <a href="http://www.sun.com/service/sunconnection/index.jsp" target=" blank">
37
- Sun<sup>SM</sup> Connection</a> now. Registration is optional, but as a registered
38
- user you receive benefits such as:</p><ul>
39
- <li>Patch information and bug updates</li>
40
- <li>Screencasts and tutorials</li>
41
- <li>News and events</li>
42
- <li>Support and training offerings</li>
43
- </ul>
44
- <!--h2>Get a GlassFish server subscription</h2><p>To benefit from powerful
45
- support for GlassFish server, consider one of the <a
46
- href="http://www.sun.com/service/applicationserversubscriptions/" target="blank">
47
- GlassFish Subscriptions featuring Enterprise GlassFish Support</a>. A subscription
48
- provides a one-stop shop for products and services with immediate web access
49
- to software support with full indemnification, updates and upgrades, production
50
- and code support, training, and much more.</p>-->
51
- <h2>Install and update additional
52
- software components</h2><p>Use the <a
53
- href="http://wikis.sun.com/display/IpsBestPractices/Examples+and+Screenshots"
54
- target=" blank">Update Tool</a> to install and update additional technologies
55
- and frameworks such as:<!--a href="https://open-esb.dev.java.net/" target=" blank"Open ESB a -->
56
- </p><ul>
57
- <li><a href="https://ajax.dev.java.net/" target=" blank">jMaki</a></li>
58
- <li>JRuby runtime </li>
59
- </ul>
60
- <p>If you are using the web profile, you can also use Update Tool to obtain technologies that are included by default in the classic profile, such as:<p>
61
- <ul><li>Enterprise Java Beans</li>
62
- <li><a href="https://metro.dev.java.net/" target="blank">Metro</a></li>
63
- <li><a href="https://jersey.dev.java.net/" target="blank">Jersey</a></li></ul>
64
- <p>To improve the user experience and optimize offerings to users, Sun
65
- collects data about <a
66
- href="http://wiki.glassfish.java.net/gfwiki/Wiki.jsp?page=UsageMetrics"
67
- target=" blank">GlassFish server usage</a> that is transmitted by the Update
68
- Tool installer as part of the automatic update processes. No personally identifiable
69
- information is collected by this process.</p><h2>Join the GlassFish community</h2><p>
70
- Visit the <a href="http://java.sun.com/javaee/glassfish/" target=" blank">GlassFish
71
- Community</a> page for information about how to join the GlassFish community.
72
- The GlassFish community is developing a free, open source, production-quality,
73
- enterprise-class application server that implements the newest features of
74
- the Java&trade; Platform, Enterprise Edition (Java EE) platform and related
75
- enterprise technologies.</p><h2>Learn more about the GlassFish server</h2><p>For
76
- more information about the GlassFish server, samples, documentation, and additional
77
- resources, see <?Pub Caret><var> as-install</var><code>/docs/about.html</code>,
78
- where <var>as-install</var> is the GlassFish server installation directory.</p><hr
79
- style="width: 80%; height: 2px;"> <p class="copy"><a
80
- href="http://www.sun.com/company/">Company Info</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a
81
- href="http://www.sun.com/contact/">Contact</a> &nbsp;&nbsp;|&nbsp;&nbsp; Copyright
82
- 2009 Sun Microsystems</p></body></html>
83
- <?Pub *0000005314 0>
@@ -1,10 +0,0 @@
1
- /* Copyright 2004 Sun Microsystems, Inc. All rights reserved. */
2
- /* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */
3
-
4
- default {
5
- com.sun.enterprise.security.auth.login.ClientPasswordLoginModule required debug=false;
6
- };
7
-
8
- certificate {
9
- com.sun.enterprise.security.auth.login.ClientCertificateLoginModule required debug=false;
10
- };
@@ -1,79 +0,0 @@
1
- //
2
- // The contents of this file are subject to the terms
3
- // of the Common Development and Distribution License
4
- // (the "License"). You may not use this file except
5
- // in compliance with the License.
6
- //
7
- // You can obtain a copy of the license at
8
- // glassfish/bootstrap/legal/CDDLv1.0.txt or
9
- // https://glassfish.dev.java.net/public/CDDLv1.0.html.
10
- // See the License for the specific language governing
11
- // permissions and limitations under the License.
12
- //
13
- // When distributing Covered Code, include this CDDL
14
- // HEADER in each file and include the License file at
15
- // glassfish/bootstrap/legal/CDDLv1.0.txt. If applicable,
16
- // add the following below this CDDL HEADER, with the
17
- // fields enclosed by brackets "[]" replaced with your
18
- // own identifying information: Portions Copyright [yyyy]
19
- // [name of copyright owner]
20
- //
21
-
22
- /* Copyright 2004 Sun Microsystems, Inc. All rights reserved. */
23
- /* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */
24
-
25
- //core server classes get all permissions by default
26
- grant codeBase "file:${com.sun.aas.installRoot}/lib/-" {
27
- permission java.security.AllPermission;
28
- };
29
-
30
- //iMQ classes get all permissions by default
31
- grant codeBase "file:${com.sun.aas.imqLib}/-" {
32
- permission java.security.AllPermission;
33
- };
34
-
35
- // Standard extensions get all permissions by default
36
- grant codeBase "file:${java.home}/lib/ext/-" {
37
- permission java.security.AllPermission;
38
- };
39
-
40
- grant codeBase "file:${java.home}/../lib/tools.jar" {
41
- permission java.security.AllPermission;
42
- };
43
-
44
-
45
-
46
- // default permissions granted to all domains
47
- grant {
48
- permission java.lang.RuntimePermission "loadLibrary.*";
49
- permission java.lang.RuntimePermission "accessClassInPackage.*";
50
- permission java.lang.RuntimePermission "exitVM";
51
- permission java.lang.RuntimePermission "queuePrintJob";
52
- permission java.lang.RuntimePermission "modifyThreadGroup";
53
-
54
- permission java.awt.AWTPermission "accessClipboard";
55
- permission java.awt.AWTPermission "accessEventQueue";
56
- permission java.awt.AWTPermission "showWindowWithoutWarningBanner";
57
-
58
- permission java.io.FilePermission "<<ALL FILES>>", "read,write";
59
-
60
- permission java.net.SocketPermission "*", "connect,accept,resolve";
61
- permission java.net.SocketPermission "localhost:1024-", "accept,listen";
62
-
63
- // "standard" properies that can be read by anyone
64
- permission java.util.PropertyPermission "*", "read";
65
-
66
- // setting the JSSE provider for lazy authentication of app. clients.
67
- // Please do not change it.
68
- permission java.security.SecurityPermission "putProviderProperty.SunJSSE";
69
- permission java.security.SecurityPermission "insertProvider.SunJSSE";
70
-
71
- permission java.util.logging.LoggingPermission "control";
72
- //permission java.lang.RuntimePermission "setSecurityManager";
73
- };
74
-
75
-
76
-
77
-
78
-
79
-
@@ -1,84 +0,0 @@
1
- <!--
2
- Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3
- SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4
- -->
5
- <!--
6
- This client side config file pairs with wss-server-config-1.0.xml on the server
7
- and supports the following UseCases:
8
- Usecase 1: Authentication by Protected UsernameToken
9
- Usecase 3: Encrypted UsernameToken and MessageBody
10
- Usecase 4: Response Encryption Key Learnt from Incoming Message
11
-
12
- Certificate Alias Information :
13
- 1. A certificateAlias under the <xwss:Encrypt> element signifies the certificate
14
- of the recipient of the message.
15
- 2. A certificateAlias under the <xwss:Sign> element signifies the certificate of the
16
- sender.
17
-
18
- NOTE:
19
-
20
- 1. the certificateAlias has the above meaning for all the Sign and Encrypt elements below
21
- 2. there are several Sign and Encrypt elements below and similarly several RequireSignature and
22
- RequireEncryption elements. Which of them would be actually used at runtime will depend on
23
- the AuthPolicy passed to the module.
24
-
25
- For Example : if Auth-Source=Sender then only the <xwss:UsernameToken> elements will be used
26
- and none of the <xwss:Sign> elements will be used.
27
- If Auth-Source=Content then the <xwss:Sign> element will be used
28
-
29
- 3. The different variations of <xwss:Encrypt> elements in this configuration file are to accomodate
30
- default encryption of the UsernameToken.
31
-
32
- 4. The actual certificate alias to be used for any Signature operation can be modified during AuthModule
33
- initialization by setting the alias as the value of "signature.key.alias" property in the Module Options Map.
34
- 5. The actual certificate alias to be used for any Encrypt operation can be modified during AuthModule
35
- initialization by setting the alias as the value of "encryption.key.alias" property in the Module Options Map.
36
-
37
- 6. Debug Dumping of Messages can be enabled by setting the "debug" property in the Module Options Map to "true" during
38
- AuthModule initialization.
39
- 7. The Actual configuration file to be used by an Authmodule can be changed by setting the property "security.config" in
40
- the Module Options Map to point to the configuration file location.
41
- 8. When the "security.config" property is not set during module initialization then a client auth module will use wss-client-config-2.0.xml
42
- by default.
43
- 9. When the "security.config" property is not set during module initialization then a server auth module will use wss-server-config-2.0.xml by default.
44
- 10. The property "dynamic.username.password" when set during module initialization to "true" will signal the provider runtime to collect the username and password from the CallbackHandler for each request. When this property is set to "false" or if the property is not set then the username and password for wsse:UsernameToken(s) is collected once during Module Initialization.
45
- -->
46
-
47
- <xwss:SecurityConfiguration xmlns:xwss="http://java.sun.com/xml/ns/xwss/config"
48
- dumpMessages="false">
49
- <xwss:Timestamp/>
50
- <xwss:RequireUsernameToken nonceRequired="false" passwordDigestRequired="false"/>
51
- <xwss:RequireEncryption>
52
- <xwss:Target type="qname">SOAP-BODY</xwss:Target>
53
- </xwss:RequireEncryption>
54
- <xwss:RequireEncryption>
55
- <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
56
- <xwss:Target type="qname">SOAP-BODY</xwss:Target>
57
- </xwss:RequireEncryption>
58
- <xwss:RequireEncryption>
59
- <xwss:Target type="qname">SOAP-BODY</xwss:Target>
60
- <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
61
- </xwss:RequireEncryption>
62
- <xwss:RequireSignature>
63
- <xwss:Target type="qname">SOAP-BODY</xwss:Target>
64
- </xwss:RequireSignature>
65
- <xwss:Encrypt>
66
- <xwss:X509Token certificateAlias="s1as"/>
67
- </xwss:Encrypt>
68
- <xwss:Encrypt>
69
- <xwss:X509Token certificateAlias="s1as"/>
70
- <xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
71
- <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
72
- <xwss:Target type="qname">SOAP-BODY</xwss:Target>
73
- </xwss:Encrypt>
74
- <xwss:Encrypt>
75
- <xwss:X509Token certificateAlias="s1as"/>
76
- <xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
77
- <xwss:Target type="qname">SOAP-BODY</xwss:Target>
78
- <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
79
- </xwss:Encrypt>
80
- <xwss:Sign>
81
- <xwss:X509Token certificateAlias="s1as"/>
82
- </xwss:Sign>
83
- <xwss:UsernameToken digestPassword="false" useNonce="false"/>
84
- </xwss:SecurityConfiguration>
@@ -1,96 +0,0 @@
1
- <!--
2
- Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3
- SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4
- -->
5
- <!--
6
- This client side config file pairs with wss-server-config-2.0.xml on the server
7
- and supports the following UseCases:
8
- Usecase 2: Encrypted UsernameToken
9
- Usecase 3: Encrypted UsernameToken and MessageBody
10
- Usecase 4: Response Encryption Key Learnt from Incoming Message
11
-
12
- Certificate Alias Information :
13
- 1. A certificateAlias under the <xwss:Encrypt> element signifies the certificate
14
- of the recipient of the message.
15
- 2. A certificateAlias under the <xwss:Sign> element signifies the certificate of the
16
- sender.
17
-
18
- NOTE:
19
-
20
- 1. the certificateAlias has the above meaning for all the Sign and Encrypt elements below
21
- 2. there are several Sign and Encrypt elements below and similarly several RequireSignature and
22
- RequireEncryption elements. Which of them would be actually used at runtime will depend on
23
- the AuthPolicy passed to the module.
24
-
25
- For Example : if Auth-Source=Sender then only the <xwss:UsernameToken> elements will be used
26
- and none of the <xwss:Sign> elements will be used.
27
- If Auth-Source=Content then the <xwss:Sign> element will be used
28
-
29
- 3. The different variations of <xwss:Encrypt> elements in this configuration file are to accomodate
30
- default encryption of the UsernameToken.
31
-
32
- 4. The actual certificate alias to be used for any Signature operation can be modified during AuthModule
33
- initialization by setting the alias as the value of "signature.key.alias" property in the Module Options Map.
34
- 5. The actual certificate alias to be used for any Encrypt operation can be modified during AuthModule
35
- initialization by setting the alias as the value of "encryption.key.alias" property in the Module Options Map.
36
-
37
- 6. Debug Dumping of Messages can be enabled by setting the "debug" property in the Module Options Map to "true" during
38
- AuthModule initialization.
39
- 7. The Actual configuration file to be used by an Authmodule can be changed by setting the property "security.config" in
40
- the Module Options Map to point to the configuration file location.
41
- 8. When the "security.config" property is not set during module initialization then a client auth module will use wss-client-config-2.0.xml
42
- by default.
43
- 9. When the "security.config" property is not set during module initialization then a server auth module will use wss-server-config-2.0.xml
44
- by default.
45
- 10. The property "dynamic.username.password" when set during module initialization to "true" will signal the provider runtime to collect the username and password from the CallbackHandler for each request. When this property is set to "false" or if the property is not set then the username and password for wsse:UsernameToken(s) is collected once during Module Initialization.
46
-
47
- -->
48
-
49
- <xwss:SecurityConfiguration xmlns:xwss="http://java.sun.com/xml/ns/xwss/config"
50
- dumpMessages="false">
51
- <xwss:Timestamp/>
52
- <xwss:Encrypt>
53
- <xwss:X509Token certificateAlias="s1as"/>
54
- <xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
55
- </xwss:Encrypt>
56
- <xwss:Encrypt>
57
- <xwss:X509Token certificateAlias="s1as"/>
58
- <xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
59
- <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
60
- </xwss:Encrypt>
61
- <xwss:Encrypt>
62
- <xwss:X509Token certificateAlias="s1as"/>
63
- <xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
64
- <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
65
- <xwss:Target type="qname">SOAP-BODY</xwss:Target>
66
- </xwss:Encrypt>
67
- <xwss:Encrypt>
68
- <xwss:X509Token certificateAlias="s1as"/>
69
- <xwss:KeyEncryptionMethod algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
70
- <xwss:Target type="qname">SOAP-BODY</xwss:Target>
71
- <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
72
- </xwss:Encrypt>
73
- <xwss:Sign>
74
- <xwss:X509Token certificateAlias="s1as"/>
75
- </xwss:Sign>
76
- <xwss:UsernameToken digestPassword="false" useNonce="true"/>
77
-
78
- <xwss:RequireUsernameToken nonceRequired="true" passwordDigestRequired="false"/>
79
- <xwss:RequireSignature>
80
- <xwss:Target type="qname">SOAP-BODY</xwss:Target>
81
- </xwss:RequireSignature>
82
- <xwss:RequireEncryption>
83
- <xwss:Target type="qname">SOAP-BODY</xwss:Target>
84
- </xwss:RequireEncryption>
85
- <xwss:RequireEncryption>
86
- <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
87
- </xwss:RequireEncryption>
88
- <xwss:RequireEncryption>
89
- <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
90
- <xwss:Target type="qname">SOAP-BODY</xwss:Target>
91
- </xwss:RequireEncryption>
92
- <xwss:RequireEncryption>
93
- <xwss:Target type="qname">SOAP-BODY</xwss:Target>
94
- <xwss:Target type="qname">{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken</xwss:Target>
95
- </xwss:RequireEncryption>
96
- </xwss:SecurityConfiguration>
@@ -1,18 +0,0 @@
1
- <registry>
2
- <service_tag>
3
- <instance_urn></instance_urn>
4
- <product_name>Sun GlassFish Enterprise Server</product_name>
5
- <product_version>v3</product_version>
6
- <product_urn>urn:uuid:05617256-0677-11dd-8282-080020a9ed93</product_urn>
7
- <product_parent_urn>urn:uuid:a573278d-43d6-11d9-9607-080020a9ed93</product_parent_urn>
8
- <product_parent>Sun Java System Application Server</product_parent>
9
- <product_defined_inst_id></product_defined_inst_id>
10
- <product_vendor>Sun Microsystems Inc.</product_vendor>
11
- <platform_arch></platform_arch>
12
- <container>global</container>
13
- <source>GlassFish v3 Nucleus Preview</source>
14
- <status>NOT_TRANSFERRED</status>
15
- <registration_status>NOT_REGISTERED</registration_status>
16
- </service_tag>
17
- <registration_reminder>ASK_FOR_REGISTRATION</registration_reminder>
18
- </registry>
Binary file
@@ -1,1133 +0,0 @@
1
- <?xml version="1.0" encoding="ISO-8859-1"?>
2
-
3
- <!--
4
- The contents of this file are subject to the terms
5
- of the Common Development and Distribution License
6
- (the License). You may not use this file except in
7
- compliance with the License.
8
-
9
- You can obtain a copy of the license at
10
- https://glassfish.dev.java.net/public/CDDLv1.0.html or
11
- glassfish/bootstrap/legal/CDDLv1.0.txt.
12
- See the License for the specific language governing
13
- permissions and limitations under the License.
14
-
15
- When distributing Covered Code, include this CDDL
16
- Header Notice in each file and include the License file
17
- at glassfish/bootstrap/legal/CDDLv1.0.txt.
18
- If applicable, add the following below the CDDL Header,
19
- with the fields enclosed by brackets [] replaced by
20
- you own identifying information:
21
- "Portions Copyrighted [year] [name of copyright owner]"
22
-
23
- Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24
- -->
25
-
26
- <!DOCTYPE web-app
27
- PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
28
- "http://java.sun.com/dtd/web-app_2_3.dtd">
29
-
30
- <web-app>
31
-
32
-
33
- <!-- ======================== Introduction ============================== -->
34
-
35
-
36
- <!-- The default deployment descriptor. -->
37
- <!-- -->
38
- <!-- The default deployment descriptor specifies default deployment -->
39
- <!-- descriptor values inherited by any web applications deployed to -->
40
- <!-- the application server. -->
41
-
42
-
43
- <!-- ============ Built In Context Init Parameter Definitions =========== -->
44
-
45
-
46
- <!-- Init parameter to force the XML validation of JSF configuration -->
47
- <!-- ressources. -->
48
-
49
- <context-param>
50
- <param-name>com.sun.faces.validateXml</param-name>
51
- <param-value>true</param-value>
52
- </context-param>
53
-
54
- <!-- Init parameter will cause the JSF implementation to bypass -->
55
- <!-- processing the web.xml to determine if we should continue -->
56
- <!-- bootstrapping JSF for the web application. -->
57
-
58
- <context-param>
59
- <param-name>com.sun.faces.forceLoadConfiguration</param-name>
60
- <param-value>true</param-value>
61
- </context-param>
62
-
63
-
64
- <!-- ================== Built In Servlet Definitions ==================== -->
65
-
66
-
67
- <!-- The DefaultDervlet, which is responsible for serving static -->
68
- <!-- resources. -->
69
- <!-- This servlet processes any requests that are not mapped to other -->
70
- <!-- servlets with servlet mappings (defined either here or in your own -->
71
- <!-- web.xml file. This servlet supports the following initialization -->
72
- <!-- parameters (default values have been placed in square brackets): -->
73
- <!-- -->
74
- <!-- debug Debugging detail level for messages logged -->
75
- <!-- by this servlet. [0] -->
76
- <!-- -->
77
- <!-- fileEncoding Encoding to be used to read static resources -->
78
- <!-- [platform default] -->
79
- <!-- -->
80
- <!-- input Input buffer size (in bytes) when reading -->
81
- <!-- resources to be served. [2048] -->
82
- <!-- -->
83
- <!-- listings Should directory listings be produced if there -->
84
- <!-- is no welcome file in this directory? [false] -->
85
- <!-- WARNING: Listings for directories with many -->
86
- <!-- entries can be slow and may consume -->
87
- <!-- significant proportions of server resources. -->
88
- <!-- -->
89
- <!-- output Output buffer size (in bytes) when writing -->
90
- <!-- resources to be served. [2048] -->
91
- <!-- -->
92
- <!-- readonly Is this context "read only", so HTTP -->
93
- <!-- commands like PUT and DELETE are -->
94
- <!-- rejected? [true] -->
95
- <!-- -->
96
- <!-- readmeFile File name to display with the directory -->
97
- <!-- contents. [null] -->
98
- <!-- -->
99
- <!-- sendfileSize If the connector used supports sendfile, this -->
100
- <!-- represents the minimal file size in KB for -->
101
- <!-- which sendfile will be used. Use a negative -->
102
- <!-- value to always disable sendfile. [48] -->
103
- <!-- -->
104
- <!-- useAcceptRanges Should the Accept-Ranges header be included -->
105
- <!-- in responses where appropriate? [true] -->
106
- <!-- -->
107
- <!-- For directory listing customization. Checks localXsltFile, then -->
108
- <!-- globalXsltFile, then defaults to original behavior. -->
109
- <!-- -->
110
- <!-- localXsltFile Make directory listings an XML doc and -->
111
- <!-- pass the result to this style sheet residing -->
112
- <!-- in that directory. This overrides -->
113
- <!-- globalXsltFile[null] -->
114
- <!-- -->
115
- <!-- globalXsltFile Site wide configuration version of -->
116
- <!-- localXsltFile This argument is expected -->
117
- <!-- to be a physical file. [null] -->
118
-
119
- <servlet>
120
- <servlet-name>default</servlet-name>
121
- <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
122
- <init-param>
123
- <param-name>debug</param-name>
124
- <param-value>0</param-value>
125
- </init-param>
126
- <init-param>
127
- <param-name>listings</param-name>
128
- <param-value>false</param-value>
129
- </init-param>
130
- <load-on-startup>1</load-on-startup>
131
- </servlet>
132
-
133
-
134
- <!-- The JSP page compiler and execution servlet, which is the mechanism -->
135
- <!-- used by the application server to support JSP pages. Traditionally, -->
136
- <!-- this servlet is mapped to the URL pattern "*.jsp". -->
137
- <!-- This servlet supports the following initialization parameters -->
138
- <!-- (default values have been placed in square brackets): -->
139
- <!-- -->
140
- <!-- checkInterval If development is false and checkInterval is -->
141
- <!-- greater than zero, background compilations are -->
142
- <!-- enabled. checkInterval is the time in seconds -->
143
- <!-- between checks to see if a JSP page needs to -->
144
- <!-- be recompiled. [0] -->
145
- <!-- -->
146
- <!-- modificationTestInterval -->
147
- <!-- Causes a JSP (and its dependent files) to not -->
148
- <!-- be checked for modification during the -->
149
- <!-- specified time interval (in seconds) from the -->
150
- <!-- last time the JSP was checked for -->
151
- <!-- modification. A value of 0 will cause the JSP -->
152
- <!-- to be checked on every access. -->
153
- <!-- Used in development mode only. [0] -->
154
- <!-- -->
155
- <!-- compiler Which compiler Ant should use to compile JSP -->
156
- <!-- pages. See the Ant documentation for more -->
157
- <!-- information. [javac] -->
158
- <!-- -->
159
- <!-- classdebuginfo Should the class file be compiled with -->
160
- <!-- debugging information? [true] -->
161
- <!-- -->
162
- <!-- classpath What class path should I use while compiling -->
163
- <!-- generated servlets? [Created dynamically -->
164
- <!-- based on the current web application] -->
165
- <!-- -->
166
- <!-- development Is Jasper used in development mode? If true, -->
167
- <!-- the frequency at which JSPs are checked for -->
168
- <!-- modification may be specified via the -->
169
- <!-- modificationTestInterval parameter. [true] -->
170
- <!-- -->
171
- <!-- enablePooling Determines whether tag handler pooling is -->
172
- <!-- enabled [true] -->
173
- <!-- -->
174
- <!-- fork Tell Ant to fork compiles of JSP pages so that -->
175
- <!-- JSP pages are compiled in their own JVM -->
176
- <!-- (separate from the JVM that the application -->
177
- <!-- server is running in). [true] -->
178
- <!-- -->
179
- <!-- ieClassId The class-id value to be sent to Internet -->
180
- <!-- Explorer when using <jsp:plugin> tags. -->
181
- <!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] -->
182
- <!-- -->
183
- <!-- javaEncoding Java file encoding to use for generating java -->
184
- <!-- source files. [UTF8] -->
185
- <!-- -->
186
- <!-- keepgenerated Should we keep the generated Java source code -->
187
- <!-- for each page instead of deleting it? -->
188
- <!-- [true with JDK 5 and before, or for jspc] -->
189
- <!-- [false otherwise] -->
190
- <!-- -->
191
- <!-- saveBytecode Should the generated byte code be saved to -->
192
- <!-- .class files? This option is meaningful only -->
193
- <!-- when Java compiler API, JSR199 (available with -->
194
- <!-- JDK 6) is used for javac compilations. -->
195
- <!-- [false] [true for jspc] -->
196
- <!-- -->
197
- <!-- mappedfile Should we generate static content with one -->
198
- <!-- print statement per input line, to ease -->
199
- <!-- debugging? [true] -->
200
- <!-- -->
201
- <!-- trimSpaces Should white spaces in template text between -->
202
- <!-- actions or directives be trimmed? [false] -->
203
- <!-- -->
204
- <!-- suppressSmap Should the generation of SMAP info for JSR45 -->
205
- <!-- debugging be suppressed? [false] -->
206
- <!-- -->
207
- <!-- dumpSmap Should the SMAP info for JSR45 debugging be -->
208
- <!-- dumped to a file? [false] -->
209
- <!-- False if suppressSmap is true -->
210
- <!-- -->
211
- <!-- genStrAsCharArray Should text strings be generated as char -->
212
- <!-- arrays, to improve performance in some cases? -->
213
- <!-- [false] -->
214
- <!-- -->
215
- <!-- genStrAsByteArray Should text strings be generated as bytes -->
216
- <!-- (encoded with the page encoding), if the page -->
217
- <!-- is not buffered? -->
218
- <!-- [true] -->
219
- <!-- -->
220
- <!-- defaultBufferNone Should the default for the buffer attribute of -->
221
- <!-- the page directive be "none"? [false] -->
222
- <!-- -->
223
- <!-- errorOnUseBeanInvalidClassAttribute -->
224
- <!-- Should Jasper issue an error when the value of -->
225
- <!-- the class attribute in an useBean action is -->
226
- <!-- not a valid bean class? [false] -->
227
- <!-- -->
228
- <!-- scratchdir What scratch directory should we use when -->
229
- <!-- compiling JSP pages? [default work directory -->
230
- <!-- for the current web application] -->
231
- <!-- -->
232
- <!-- xpoweredBy Determines whether X-Powered-By response -->
233
- <!-- header is added by generated servlet [true] -->
234
- <!-- -->
235
- <!-- usePrecompiled If true, it is assumed that JSPs have been -->
236
- <!-- precompiled, and their corresponding servlet -->
237
- <!-- classes have been bundled in the web -->
238
- <!-- application's WEB-INF/lib or WEB-INF/classes, -->
239
- <!-- so that when a JSP is accessed, it is not -->
240
- <!-- compiled, and instead, its precompiled servlet -->
241
- <!-- class is used. [false] -->
242
- <!-- -->
243
- <!-- use-precompiled Same as usePrecompiled. If both are specified, -->
244
- <!-- usePrecompiled takes precedence -->
245
- <!-- -->
246
- <!-- initialCapacity Initial capacity of HashMap mapping JSPs to -->
247
- <!-- their corresponding servlets [32] -->
248
- <!-- -->
249
- <!-- initial-capacity Same as initialCapacity. If both are specified,-->
250
- <!-- initialCapacity takes precedence -->
251
- <!-- -->
252
- <!-- httpMethods Comma separated list of HTTP methods supported -->
253
- <!-- by the JspServlet. Wildcard ("*") denotes -->
254
- <!-- "ALL METHODS". [ALL METHODS] -->
255
- <!-- -->
256
- <!-- reload-interval Specifies the frequency (in seconds) at which -->
257
- <!-- JSP files are checked for modifications. -->
258
- <!-- Setting this value to 0 checks JSPs for -->
259
- <!-- modifications on every request. Setting this -->
260
- <!-- value to -1 disables checks for JSP -->
261
- <!-- modifications and JSP recompilation. -->
262
- <!-- -->
263
- <!-- compilerSourceVM Provides source compatibility with the -->
264
- <!-- specified JDK release (same as -source -->
265
- <!-- javac command-line switch) -->
266
- <!-- -->
267
- <!-- compilerTargetVM Generates class files for specified VM version -->
268
- <!-- (same as -target javac command-line switch) -->
269
- <!-- -->
270
- <!-- If you wish to use Jikes to compile JSP pages: -->
271
- <!-- * Set the "classpath" initialization parameter appropriately -->
272
- <!-- for this web application. -->
273
- <!-- * Set the "jspCompilerPlugin" initialization parameter to -->
274
- <!-- "org.apache.jasper.compiler.JikesJavaCompiler". -->
275
-
276
- <servlet>
277
- <servlet-name>jsp</servlet-name>
278
- <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
279
- <init-param>
280
- <param-name>xpoweredBy</param-name>
281
- <param-value>true</param-value>
282
- </init-param>
283
- <load-on-startup>3</load-on-startup>
284
- </servlet>
285
-
286
-
287
- <!-- NOTE: An SSI Filter is also available as an alternative SSI -->
288
- <!-- implementation. Use either the Servlet or the Filter but NOT both. -->
289
- <!-- -->
290
- <!-- Server Side Includes processing servlet, which processes SSI -->
291
- <!-- directives in HTML pages consistent with similar support in web -->
292
- <!-- servers like Apache. Traditionally, this servlet is mapped to the -->
293
- <!-- URL pattern "*.shtml". This servlet supports the following -->
294
- <!-- initialization parameters (default values are in square brackets): -->
295
- <!-- -->
296
- <!-- buffered Should output from this servlet be buffered? -->
297
- <!-- (0=false, 1=true) [0] -->
298
- <!-- -->
299
- <!-- debug Debugging detail level for messages logged -->
300
- <!-- by this servlet. [0] -->
301
- <!-- -->
302
- <!-- expires The number of seconds before a page with SSI -->
303
- <!-- directives will expire. [No default] -->
304
- <!-- -->
305
- <!-- isVirtualWebappRelative -->
306
- <!-- Should "virtual" paths be interpreted as -->
307
- <!-- relative to the context root, instead of -->
308
- <!-- the server root? (0=false, 1=true) [0] -->
309
- <!-- -->
310
- <!-- inputEncoding The encoding to assume for SSI resources if -->
311
- <!-- one is not available from the resource. -->
312
- <!-- [Platform default] -->
313
- <!-- -->
314
- <!-- outputEncoding The encoding to use for the page that results -->
315
- <!-- from the SSI processing. [UTF-8] -->
316
-
317
- <!--
318
- <servlet>
319
- <servlet-name>ssi</servlet-name>
320
- <servlet-class>org.apache.catalina.ssi.SSIServlet</servlet-class>
321
- <init-param>
322
- <param-name>buffered</param-name>
323
- <param-value>1</param-value>
324
- </init-param>
325
- <init-param>
326
- <param-name>debug</param-name>
327
- <param-value>0</param-value>
328
- </init-param>
329
- <init-param>
330
- <param-name>expires</param-name>
331
- <param-value>666</param-value>
332
- </init-param>
333
- <init-param>
334
- <param-name>isVirtualWebappRelative</param-name>
335
- <param-value>0</param-value>
336
- </init-param>
337
- <load-on-startup>4</load-on-startup>
338
- </servlet>
339
- -->
340
-
341
-
342
- <!-- Common Gateway Includes (CGI) processing servlet, which supports -->
343
- <!-- execution of external applications that conform to the CGI spec -->
344
- <!-- requirements. Typically, this servlet is mapped to the URL pattern -->
345
- <!-- "/cgi-bin/*", which means that any CGI applications that are -->
346
- <!-- executed must be present within the web application. This servlet -->
347
- <!-- supports the following initialization parameters (default values -->
348
- <!-- are in square brackets): -->
349
- <!-- -->
350
- <!-- cgiPathPrefix The CGI search path will start at -->
351
- <!-- webAppRootDir + File.separator + this prefix. -->
352
- <!-- [WEB-INF/cgi] -->
353
- <!-- -->
354
- <!-- debug Debugging detail level for messages logged -->
355
- <!-- by this servlet. [0] -->
356
- <!-- -->
357
- <!-- executable Name of the exectuable used to run the -->
358
- <!-- script. [perl] -->
359
- <!-- -->
360
- <!-- parameterEncoding Name of parameter encoding to be used with -->
361
- <!-- CGI servlet. -->
362
- <!-- [System.getProperty("file.encoding","UTF-8")] -->
363
- <!-- -->
364
- <!-- passShellEnvironment Should the shell environment variables (if -->
365
- <!-- any) be passed to the CGI script? [false] -->
366
-
367
- <!--
368
- <servlet>
369
- <servlet-name>cgi</servlet-name>
370
- <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
371
- <init-param>
372
- <param-name>debug</param-name>
373
- <param-value>0</param-value>
374
- </init-param>
375
- <init-param>
376
- <param-name>cgiPathPrefix</param-name>
377
- <param-value>WEB-INF/cgi</param-value>
378
- </init-param>
379
- <load-on-startup>5</load-on-startup>
380
- </servlet>
381
- -->
382
-
383
-
384
- <!-- ================ Built In Servlet Mappings ========================= -->
385
-
386
- <!-- The mapping for the default servlet -->
387
- <servlet-mapping>
388
- <servlet-name>default</servlet-name>
389
- <url-pattern>/</url-pattern>
390
- </servlet-mapping>
391
-
392
- <!-- The mapping for the JSP servlet -->
393
- <servlet-mapping>
394
- <servlet-name>jsp</servlet-name>
395
- <url-pattern>*.jsp</url-pattern>
396
- </servlet-mapping>
397
-
398
- <servlet-mapping>
399
- <servlet-name>jsp</servlet-name>
400
- <url-pattern>*.jspx</url-pattern>
401
- </servlet-mapping>
402
-
403
- <!-- The mapping for the SSI servlet -->
404
- <!--
405
- <servlet-mapping>
406
- <servlet-name>ssi</servlet-name>
407
- <url-pattern>*.shtml</url-pattern>
408
- </servlet-mapping>
409
- -->
410
-
411
- <!-- The mapping for the CGI Gateway servlet -->
412
- <!--
413
- <servlet-mapping>
414
- <servlet-name>cgi</servlet-name>
415
- <url-pattern>/cgi-bin/*</url-pattern>
416
- </servlet-mapping>
417
- -->
418
-
419
-
420
- <!-- ================== Built In Filter Definitions ===================== -->
421
-
422
- <!-- NOTE: An SSI Servlet is also available as an alternative SSI -->
423
- <!-- implementation. Use either the Servlet or the Filter but NOT both. -->
424
- <!-- -->
425
- <!-- Server Side Includes processing filter, which processes SSI -->
426
- <!-- directives in HTML pages consistent with similar support in web -->
427
- <!-- servers like Apache. Traditionally, this filter is mapped to the -->
428
- <!-- URL pattern "*.shtml", though it can be mapped to "*" as it will -->
429
- <!-- selectively enable/disable SSI processing based on mime types. For -->
430
- <!-- this to work you will need to uncomment the .shtml mime type -->
431
- <!-- definition towards the bottom of this file. -->
432
- <!-- The contentType init param allows you to apply SSI processing to JSP -->
433
- <!-- pages, javascript, or any other content you wish. This filter -->
434
- <!-- supports the following initialization parameters (default values are -->
435
- <!-- in square brackets): -->
436
- <!-- -->
437
- <!-- contentType A regex pattern that must be matched before -->
438
- <!-- SSI processing is applied. -->
439
- <!-- [text/x-server-parsed-html(;.*)?] -->
440
- <!-- -->
441
- <!-- debug Debugging detail level for messages logged -->
442
- <!-- by this servlet. [0] -->
443
- <!-- -->
444
- <!-- expires The number of seconds before a page with SSI -->
445
- <!-- directives will expire. [No default] -->
446
- <!-- -->
447
- <!-- isVirtualWebappRelative -->
448
- <!-- Should "virtual" paths be interpreted as -->
449
- <!-- relative to the context root, instead of -->
450
- <!-- the server root? (0=false, 1=true) [0] -->
451
-
452
- <!--
453
- <filter>
454
- <filter-name>ssi</filter-name>
455
- <filter-class>
456
- org.apache.catalina.ssi.SSIFilter
457
- </filter-class>
458
- <init-param>
459
- <param-name>contentType</param-name>
460
- <param-value>text/x-server-parsed-html(;.*)?</param-value>
461
- </init-param>
462
- <init-param>
463
- <param-name>debug</param-name>
464
- <param-value>0</param-value>
465
- </init-param>
466
- <init-param>
467
- <param-name>expires</param-name>
468
- <param-value>666</param-value>
469
- </init-param>
470
- <init-param>
471
- <param-name>isVirtualWebappRelative</param-name>
472
- <param-value>0</param-value>
473
- </init-param>
474
- </filter>
475
- -->
476
-
477
-
478
- <!-- ==================== Built In Filter Mappings ====================== -->
479
-
480
- <!-- The mapping for the SSI Filter -->
481
- <!--
482
- <filter-mapping>
483
- <filter-name>ssi</filter-name>
484
- <url-pattern>*.shtml</url-pattern>
485
- </filter-mapping>
486
- -->
487
-
488
-
489
- <!-- ==================== Default Session Configuration ================= -->
490
-
491
- <!-- You can set the default session timeout (in minutes) for all newly -->
492
- <!-- created sessions by modifying the value below. -->
493
-
494
- <session-config>
495
- <session-timeout>30</session-timeout>
496
- </session-config>
497
-
498
-
499
- <!-- ===================== Default MIME Type Mappings =================== -->
500
-
501
- <!-- When serving static resources, the application server will -->
502
- <!-- automatically generate a "Content-Type" response header from the -->
503
- <!-- filename extension of the resource, based on these mappings. -->
504
- <!-- Additional mappings may be specified here (to be shared by all -->
505
- <!-- web applications) or in a web application's web.xml deployment -->
506
- <!-- descriptor (for that web application's individual use). -->
507
-
508
- <mime-mapping>
509
- <extension>abs</extension>
510
- <mime-type>audio/x-mpeg</mime-type>
511
- </mime-mapping>
512
- <mime-mapping>
513
- <extension>ai</extension>
514
- <mime-type>application/postscript</mime-type>
515
- </mime-mapping>
516
- <mime-mapping>
517
- <extension>aif</extension>
518
- <mime-type>audio/x-aiff</mime-type>
519
- </mime-mapping>
520
- <mime-mapping>
521
- <extension>aifc</extension>
522
- <mime-type>audio/x-aiff</mime-type>
523
- </mime-mapping>
524
- <mime-mapping>
525
- <extension>aiff</extension>
526
- <mime-type>audio/x-aiff</mime-type>
527
- </mime-mapping>
528
- <mime-mapping>
529
- <extension>aim</extension>
530
- <mime-type>application/x-aim</mime-type>
531
- </mime-mapping>
532
- <mime-mapping>
533
- <extension>art</extension>
534
- <mime-type>image/x-jg</mime-type>
535
- </mime-mapping>
536
- <mime-mapping>
537
- <extension>asf</extension>
538
- <mime-type>video/x-ms-asf</mime-type>
539
- </mime-mapping>
540
- <mime-mapping>
541
- <extension>asx</extension>
542
- <mime-type>video/x-ms-asf</mime-type>
543
- </mime-mapping>
544
- <mime-mapping>
545
- <extension>au</extension>
546
- <mime-type>audio/basic</mime-type>
547
- </mime-mapping>
548
- <mime-mapping>
549
- <extension>avi</extension>
550
- <mime-type>video/x-msvideo</mime-type>
551
- </mime-mapping>
552
- <mime-mapping>
553
- <extension>avx</extension>
554
- <mime-type>video/x-rad-screenplay</mime-type>
555
- </mime-mapping>
556
- <mime-mapping>
557
- <extension>bcpio</extension>
558
- <mime-type>application/x-bcpio</mime-type>
559
- </mime-mapping>
560
- <mime-mapping>
561
- <extension>bin</extension>
562
- <mime-type>application/octet-stream</mime-type>
563
- </mime-mapping>
564
- <mime-mapping>
565
- <extension>bmp</extension>
566
- <mime-type>image/bmp</mime-type>
567
- </mime-mapping>
568
- <mime-mapping>
569
- <extension>body</extension>
570
- <mime-type>text/html</mime-type>
571
- </mime-mapping>
572
- <mime-mapping>
573
- <extension>cdf</extension>
574
- <mime-type>application/x-cdf</mime-type>
575
- </mime-mapping>
576
- <mime-mapping>
577
- <extension>cer</extension>
578
- <mime-type>application/x-x509-ca-cert</mime-type>
579
- </mime-mapping>
580
- <mime-mapping>
581
- <extension>class</extension>
582
- <mime-type>application/java</mime-type>
583
- </mime-mapping>
584
- <mime-mapping>
585
- <extension>cpio</extension>
586
- <mime-type>application/x-cpio</mime-type>
587
- </mime-mapping>
588
- <mime-mapping>
589
- <extension>csh</extension>
590
- <mime-type>application/x-csh</mime-type>
591
- </mime-mapping>
592
- <mime-mapping>
593
- <extension>css</extension>
594
- <mime-type>text/css</mime-type>
595
- </mime-mapping>
596
- <mime-mapping>
597
- <extension>dib</extension>
598
- <mime-type>image/bmp</mime-type>
599
- </mime-mapping>
600
- <mime-mapping>
601
- <extension>doc</extension>
602
- <mime-type>application/msword</mime-type>
603
- </mime-mapping>
604
- <mime-mapping>
605
- <extension>dtd</extension>
606
- <mime-type>application/xml-dtd</mime-type>
607
- </mime-mapping>
608
- <mime-mapping>
609
- <extension>dv</extension>
610
- <mime-type>video/x-dv</mime-type>
611
- </mime-mapping>
612
- <mime-mapping>
613
- <extension>dvi</extension>
614
- <mime-type>application/x-dvi</mime-type>
615
- </mime-mapping>
616
- <mime-mapping>
617
- <extension>eps</extension>
618
- <mime-type>application/postscript</mime-type>
619
- </mime-mapping>
620
- <mime-mapping>
621
- <extension>etx</extension>
622
- <mime-type>text/x-setext</mime-type>
623
- </mime-mapping>
624
- <mime-mapping>
625
- <extension>exe</extension>
626
- <mime-type>application/octet-stream</mime-type>
627
- </mime-mapping>
628
- <mime-mapping>
629
- <extension>gif</extension>
630
- <mime-type>image/gif</mime-type>
631
- </mime-mapping>
632
- <mime-mapping>
633
- <extension>gk</extension>
634
- <mime-type>application/octet-stream</mime-type>
635
- </mime-mapping>
636
- <mime-mapping>
637
- <extension>gtar</extension>
638
- <mime-type>application/x-gtar</mime-type>
639
- </mime-mapping>
640
- <mime-mapping>
641
- <extension>gz</extension>
642
- <mime-type>application/x-gzip</mime-type>
643
- </mime-mapping>
644
- <mime-mapping>
645
- <extension>hdf</extension>
646
- <mime-type>application/x-hdf</mime-type>
647
- </mime-mapping>
648
- <mime-mapping>
649
- <extension>hqx</extension>
650
- <mime-type>application/mac-binhex40</mime-type>
651
- </mime-mapping>
652
- <mime-mapping>
653
- <extension>htc</extension>
654
- <mime-type>text/x-component</mime-type>
655
- </mime-mapping>
656
- <mime-mapping>
657
- <extension>htm</extension>
658
- <mime-type>text/html</mime-type>
659
- </mime-mapping>
660
- <mime-mapping>
661
- <extension>html</extension>
662
- <mime-type>text/html</mime-type>
663
- </mime-mapping>
664
- <mime-mapping>
665
- <extension>hqx</extension>
666
- <mime-type>application/mac-binhex40</mime-type>
667
- </mime-mapping>
668
- <mime-mapping>
669
- <extension>ief</extension>
670
- <mime-type>image/ief</mime-type>
671
- </mime-mapping>
672
- <mime-mapping>
673
- <extension>jad</extension>
674
- <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
675
- </mime-mapping>
676
- <mime-mapping>
677
- <extension>jar</extension>
678
- <mime-type>application/java-archive</mime-type>
679
- </mime-mapping>
680
- <mime-mapping>
681
- <extension>java</extension>
682
- <mime-type>text/plain</mime-type>
683
- </mime-mapping>
684
- <mime-mapping>
685
- <extension>jnlp</extension>
686
- <mime-type>application/x-java-jnlp-file</mime-type>
687
- </mime-mapping>
688
- <mime-mapping>
689
- <extension>jpe</extension>
690
- <mime-type>image/jpeg</mime-type>
691
- </mime-mapping>
692
- <mime-mapping>
693
- <extension>jpeg</extension>
694
- <mime-type>image/jpeg</mime-type>
695
- </mime-mapping>
696
- <mime-mapping>
697
- <extension>jpg</extension>
698
- <mime-type>image/jpeg</mime-type>
699
- </mime-mapping>
700
- <mime-mapping>
701
- <extension>js</extension>
702
- <mime-type>text/javascript</mime-type>
703
- </mime-mapping>
704
- <mime-mapping>
705
- <extension>kar</extension>
706
- <mime-type>audio/x-midi</mime-type>
707
- </mime-mapping>
708
- <mime-mapping>
709
- <extension>latex</extension>
710
- <mime-type>application/x-latex</mime-type>
711
- </mime-mapping>
712
- <mime-mapping>
713
- <extension>m3u</extension>
714
- <mime-type>audio/x-mpegurl</mime-type>
715
- </mime-mapping>
716
- <mime-mapping>
717
- <extension>mac</extension>
718
- <mime-type>image/x-macpaint</mime-type>
719
- </mime-mapping>
720
- <mime-mapping>
721
- <extension>man</extension>
722
- <mime-type>application/x-troff-man</mime-type>
723
- </mime-mapping>
724
- <mime-mapping>
725
- <extension>mathml</extension>
726
- <mime-type>application/mathml+xml</mime-type>
727
- </mime-mapping>
728
- <mime-mapping>
729
- <extension>me</extension>
730
- <mime-type>application/x-troff-me</mime-type>
731
- </mime-mapping>
732
- <mime-mapping>
733
- <extension>mid</extension>
734
- <mime-type>audio/x-midi</mime-type>
735
- </mime-mapping>
736
- <mime-mapping>
737
- <extension>midi</extension>
738
- <mime-type>audio/x-midi</mime-type>
739
- </mime-mapping>
740
- <mime-mapping>
741
- <extension>mif</extension>
742
- <mime-type>application/x-mif</mime-type>
743
- </mime-mapping>
744
- <mime-mapping>
745
- <extension>mov</extension>
746
- <mime-type>video/quicktime</mime-type>
747
- </mime-mapping>
748
- <mime-mapping>
749
- <extension>movie</extension>
750
- <mime-type>video/x-sgi-movie</mime-type>
751
- </mime-mapping>
752
- <mime-mapping>
753
- <extension>mp1</extension>
754
- <mime-type>audio/x-mpeg</mime-type>
755
- </mime-mapping>
756
- <mime-mapping>
757
- <extension>mp2</extension>
758
- <mime-type>audio/x-mpeg</mime-type>
759
- </mime-mapping>
760
- <mime-mapping>
761
- <extension>mp3</extension>
762
- <mime-type>audio/x-mpeg</mime-type>
763
- </mime-mapping>
764
- <mime-mapping>
765
- <extension>mpa</extension>
766
- <mime-type>audio/x-mpeg</mime-type>
767
- </mime-mapping>
768
- <mime-mapping>
769
- <extension>mpe</extension>
770
- <mime-type>video/mpeg</mime-type>
771
- </mime-mapping>
772
- <mime-mapping>
773
- <extension>mpeg</extension>
774
- <mime-type>video/mpeg</mime-type>
775
- </mime-mapping>
776
- <mime-mapping>
777
- <extension>mpega</extension>
778
- <mime-type>audio/x-mpeg</mime-type>
779
- </mime-mapping>
780
- <mime-mapping>
781
- <extension>mpg</extension>
782
- <mime-type>video/mpeg</mime-type>
783
- </mime-mapping>
784
- <mime-mapping>
785
- <extension>mpv2</extension>
786
- <mime-type>video/mpeg2</mime-type>
787
- </mime-mapping>
788
- <mime-mapping>
789
- <extension>ms</extension>
790
- <mime-type>application/x-wais-source</mime-type>
791
- </mime-mapping>
792
- <mime-mapping>
793
- <extension>nc</extension>
794
- <mime-type>application/x-netcdf</mime-type>
795
- </mime-mapping>
796
- <mime-mapping>
797
- <extension>oda</extension>
798
- <mime-type>application/oda</mime-type>
799
- </mime-mapping>
800
- <mime-mapping>
801
- <extension>ogg</extension>
802
- <mime-type>application/ogg</mime-type>
803
- </mime-mapping>
804
- <mime-mapping>
805
- <extension>pbm</extension>
806
- <mime-type>image/x-portable-bitmap</mime-type>
807
- </mime-mapping>
808
- <mime-mapping>
809
- <extension>pct</extension>
810
- <mime-type>image/pict</mime-type>
811
- </mime-mapping>
812
- <mime-mapping>
813
- <extension>pdf</extension>
814
- <mime-type>application/pdf</mime-type>
815
- </mime-mapping>
816
- <mime-mapping>
817
- <extension>pgm</extension>
818
- <mime-type>image/x-portable-graymap</mime-type>
819
- </mime-mapping>
820
- <mime-mapping>
821
- <extension>pic</extension>
822
- <mime-type>image/pict</mime-type>
823
- </mime-mapping>
824
- <mime-mapping>
825
- <extension>pict</extension>
826
- <mime-type>image/pict</mime-type>
827
- </mime-mapping>
828
- <mime-mapping>
829
- <extension>pls</extension>
830
- <mime-type>audio/x-scpls</mime-type>
831
- </mime-mapping>
832
- <mime-mapping>
833
- <extension>png</extension>
834
- <mime-type>image/png</mime-type>
835
- </mime-mapping>
836
- <mime-mapping>
837
- <extension>pnm</extension>
838
- <mime-type>image/x-portable-anymap</mime-type>
839
- </mime-mapping>
840
- <mime-mapping>
841
- <extension>pnt</extension>
842
- <mime-type>image/x-macpaint</mime-type>
843
- </mime-mapping>
844
- <mime-mapping>
845
- <extension>ppm</extension>
846
- <mime-type>image/x-portable-pixmap</mime-type>
847
- </mime-mapping>
848
- <mime-mapping>
849
- <extension>ppt</extension>
850
- <mime-type>application/powerpoint</mime-type>
851
- </mime-mapping>
852
- <mime-mapping>
853
- <extension>ps</extension>
854
- <mime-type>application/postscript</mime-type>
855
- </mime-mapping>
856
- <mime-mapping>
857
- <extension>psd</extension>
858
- <mime-type>image/x-photoshop</mime-type>
859
- </mime-mapping>
860
- <mime-mapping>
861
- <extension>qt</extension>
862
- <mime-type>video/quicktime</mime-type>
863
- </mime-mapping>
864
- <mime-mapping>
865
- <extension>qti</extension>
866
- <mime-type>image/x-quicktime</mime-type>
867
- </mime-mapping>
868
- <mime-mapping>
869
- <extension>qtif</extension>
870
- <mime-type>image/x-quicktime</mime-type>
871
- </mime-mapping>
872
- <mime-mapping>
873
- <extension>ras</extension>
874
- <mime-type>image/x-cmu-raster</mime-type>
875
- </mime-mapping>
876
- <mime-mapping>
877
- <extension>rdf</extension>
878
- <mime-type>application/rdf+xml</mime-type>
879
- </mime-mapping>
880
- <mime-mapping>
881
- <extension>rgb</extension>
882
- <mime-type>image/x-rgb</mime-type>
883
- </mime-mapping>
884
- <mime-mapping>
885
- <extension>rm</extension>
886
- <mime-type>application/vnd.rn-realmedia</mime-type>
887
- </mime-mapping>
888
- <mime-mapping>
889
- <extension>roff</extension>
890
- <mime-type>application/x-troff</mime-type>
891
- </mime-mapping>
892
- <mime-mapping>
893
- <extension>rtf</extension>
894
- <mime-type>application/rtf</mime-type>
895
- </mime-mapping>
896
- <mime-mapping>
897
- <extension>rtx</extension>
898
- <mime-type>text/richtext</mime-type>
899
- </mime-mapping>
900
- <mime-mapping>
901
- <extension>sh</extension>
902
- <mime-type>application/x-sh</mime-type>
903
- </mime-mapping>
904
- <mime-mapping>
905
- <extension>shar</extension>
906
- <mime-type>application/x-shar</mime-type>
907
- </mime-mapping>
908
- <!--
909
- <mime-mapping>
910
- <extension>shtml</extension>
911
- <mime-type>text/x-server-parsed-html</mime-type>
912
- </mime-mapping>
913
- -->
914
- <mime-mapping>
915
- <extension>sit</extension>
916
- <mime-type>application/x-stuffit</mime-type>
917
- </mime-mapping>
918
- <mime-mapping>
919
- <extension>smf</extension>
920
- <mime-type>audio/x-midi</mime-type>
921
- </mime-mapping>
922
- <mime-mapping>
923
- <extension>snd</extension>
924
- <mime-type>audio/basic</mime-type>
925
- </mime-mapping>
926
- <mime-mapping>
927
- <extension>src</extension>
928
- <mime-type>application/x-wais-source</mime-type>
929
- </mime-mapping>
930
- <mime-mapping>
931
- <extension>sv4cpio</extension>
932
- <mime-type>application/x-sv4cpio</mime-type>
933
- </mime-mapping>
934
- <mime-mapping>
935
- <extension>sv4crc</extension>
936
- <mime-type>application/x-sv4crc</mime-type>
937
- </mime-mapping>
938
- <mime-mapping>
939
- <extension>svg</extension>
940
- <mime-type>image/svg+xml</mime-type>
941
- </mime-mapping>
942
- <mime-mapping>
943
- <extension>svgz</extension>
944
- <mime-type>image/svg+xml</mime-type>
945
- </mime-mapping>
946
- <mime-mapping>
947
- <extension>swf</extension>
948
- <mime-type>application/x-shockwave-flash</mime-type>
949
- </mime-mapping>
950
- <mime-mapping>
951
- <extension>t</extension>
952
- <mime-type>application/x-troff</mime-type>
953
- </mime-mapping>
954
- <mime-mapping>
955
- <extension>tar</extension>
956
- <mime-type>application/x-tar</mime-type>
957
- </mime-mapping>
958
- <mime-mapping>
959
- <extension>tcl</extension>
960
- <mime-type>application/x-tcl</mime-type>
961
- </mime-mapping>
962
- <mime-mapping>
963
- <extension>tex</extension>
964
- <mime-type>application/x-tex</mime-type>
965
- </mime-mapping>
966
- <mime-mapping>
967
- <extension>texi</extension>
968
- <mime-type>application/x-texinfo</mime-type>
969
- </mime-mapping>
970
- <mime-mapping>
971
- <extension>texinfo</extension>
972
- <mime-type>application/x-texinfo</mime-type>
973
- </mime-mapping>
974
- <mime-mapping>
975
- <extension>tif</extension>
976
- <mime-type>image/tiff</mime-type>
977
- </mime-mapping>
978
- <mime-mapping>
979
- <extension>tiff</extension>
980
- <mime-type>image/tiff</mime-type>
981
- </mime-mapping>
982
- <mime-mapping>
983
- <extension>tr</extension>
984
- <mime-type>application/x-troff</mime-type>
985
- </mime-mapping>
986
- <mime-mapping>
987
- <extension>tsv</extension>
988
- <mime-type>text/tab-separated-values</mime-type>
989
- </mime-mapping>
990
- <mime-mapping>
991
- <extension>txt</extension>
992
- <mime-type>text/plain</mime-type>
993
- </mime-mapping>
994
- <mime-mapping>
995
- <extension>ulw</extension>
996
- <mime-type>audio/basic</mime-type>
997
- </mime-mapping>
998
- <mime-mapping>
999
- <extension>ustar</extension>
1000
- <mime-type>application/x-ustar</mime-type>
1001
- </mime-mapping>
1002
- <mime-mapping>
1003
- <extension>xbm</extension>
1004
- <mime-type>image/x-xbitmap</mime-type>
1005
- </mime-mapping>
1006
- <mime-mapping>
1007
- <extension>xml</extension>
1008
- <mime-type>application/xml</mime-type>
1009
- </mime-mapping>
1010
- <mime-mapping>
1011
- <extension>xpm</extension>
1012
- <mime-type>image/x-xpixmap</mime-type>
1013
- </mime-mapping>
1014
- <mime-mapping>
1015
- <extension>xsl</extension>
1016
- <mime-type>application/xml</mime-type>
1017
- </mime-mapping>
1018
- <mime-mapping>
1019
- <extension>xslt</extension>
1020
- <mime-type>application/xslt+xml</mime-type>
1021
- </mime-mapping>
1022
- <mime-mapping>
1023
- <extension>xwd</extension>
1024
- <mime-type>image/x-xwindowdump</mime-type>
1025
- </mime-mapping>
1026
- <mime-mapping>
1027
- <extension>vsd</extension>
1028
- <mime-type>application/x-visio</mime-type>
1029
- </mime-mapping>
1030
- <mime-mapping>
1031
- <extension>vxml</extension>
1032
- <mime-type>application/voicexml+xml</mime-type>
1033
- </mime-mapping>
1034
- <mime-mapping>
1035
- <extension>wav</extension>
1036
- <mime-type>audio/x-wav</mime-type>
1037
- </mime-mapping>
1038
- <mime-mapping> <!-- Wireless Bitmap -->
1039
- <extension>wbmp</extension>
1040
- <mime-type>image/vnd.wap.wbmp</mime-type>
1041
- </mime-mapping>
1042
- <mime-mapping> <!-- WML Source -->
1043
- <extension>wml</extension>
1044
- <mime-type>text/vnd.wap.wml</mime-type>
1045
- </mime-mapping>
1046
- <mime-mapping> <!-- Compiled WML -->
1047
- <extension>wmlc</extension>
1048
- <mime-type>application/vnd.wap.wmlc</mime-type>
1049
- </mime-mapping>
1050
- <mime-mapping> <!-- WML Script Source -->
1051
- <extension>wmls</extension>
1052
- <mime-type>text/vnd.wap.wmls</mime-type>
1053
- </mime-mapping>
1054
- <mime-mapping> <!-- Compiled WML Script -->
1055
- <extension>wmlscriptc</extension>
1056
- <mime-type>application/vnd.wap.wmlscriptc</mime-type>
1057
- </mime-mapping>
1058
- <mime-mapping>
1059
- <extension>wrl</extension>
1060
- <mime-type>x-world/x-vrml</mime-type>
1061
- </mime-mapping>
1062
- <mime-mapping>
1063
- <extension>xht</extension>
1064
- <mime-type>application/xhtml+xml</mime-type>
1065
- </mime-mapping>
1066
- <mime-mapping>
1067
- <extension>xhtml</extension>
1068
- <mime-type>application/xhtml+xml</mime-type>
1069
- </mime-mapping>
1070
- <mime-mapping>
1071
- <extension>xls</extension>
1072
- <mime-type>application/vnd.ms-excel</mime-type>
1073
- </mime-mapping>
1074
- <mime-mapping>
1075
- <extension>xul</extension>
1076
- <mime-type>application/vnd.mozilla.xul+xml</mime-type>
1077
- </mime-mapping>
1078
- <mime-mapping>
1079
- <extension>Z</extension>
1080
- <mime-type>application/x-compress</mime-type>
1081
- </mime-mapping>
1082
- <mime-mapping>
1083
- <extension>z</extension>
1084
- <mime-type>application/x-compress</mime-type>
1085
- </mime-mapping>
1086
- <mime-mapping>
1087
- <extension>zip</extension>
1088
- <mime-type>application/zip</mime-type>
1089
- </mime-mapping>
1090
- <mime-mapping>
1091
- <extension>odp</extension>
1092
- <mime-type>application/x-vnd.oasis.opendocument.presentation</mime-type>
1093
- </mime-mapping>
1094
- <mime-mapping>
1095
- <extension>odt</extension>
1096
- <mime-type>application/x-vnd.oasis.opendocument.text</mime-type>
1097
- </mime-mapping>
1098
- <mime-mapping>
1099
- <extension>ods</extension>
1100
- <mime-type>application/x-vnd.oasis.opendocument.spreadsheet</mime-type>
1101
- </mime-mapping>
1102
- <mime-mapping>
1103
- <extension>odg</extension>
1104
- <mime-type>application/x-vnd.oasis.opendocument.graphics</mime-type>
1105
- </mime-mapping>
1106
-
1107
-
1108
- <!-- ==================== Default Welcome File List ===================== -->
1109
-
1110
- <!-- When a request URI refers to a directory, the default servlet looks -->
1111
- <!-- for a "welcome file" within that directory and, if present, -->
1112
- <!-- to the corresponding resource URI for display. If no welcome file -->
1113
- <!-- is present, the default servlet either serves a directory listing, -->
1114
- <!-- or returns a 404 status, depending on how it is configured. -->
1115
- <!-- -->
1116
- <!-- If you define welcome files in your own application's web.xml -->
1117
- <!-- deployment descriptor, that list *replaces* the list configured -->
1118
- <!-- here, so be sure that you include any of the default values that -->
1119
- <!-- you wish to include. -->
1120
-
1121
-
1122
- <welcome-file-list>
1123
- <welcome-file>index.html</welcome-file>
1124
- <welcome-file>index.htm</welcome-file>
1125
- <welcome-file>index.jsp</welcome-file>
1126
- </welcome-file-list>
1127
-
1128
- <login-config>
1129
- <auth-method>BASIC</auth-method>
1130
- </login-config>
1131
-
1132
- </web-app>
1133
-