glassfish 0.1.1-universal-java-1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/COPYRIGHT +33 -0
- data/LICENSE.txt +263 -0
- data/README +12 -0
- data/bin/asadmin +7 -0
- data/bin/asadmin.bat +8 -0
- data/bin/glassfish_rails +40 -0
- data/config/asadminenv.conf +6 -0
- data/config/asenv.bat +28 -0
- data/config/asenv.conf +27 -0
- data/config/glassfish.container +4 -0
- data/domains/domain1/config/admin-keyfile +3 -0
- data/domains/domain1/config/cacerts.jks +0 -0
- data/domains/domain1/config/default-web.xml +906 -0
- data/domains/domain1/config/domain-passwords +0 -0
- data/domains/domain1/config/domain.xml +208 -0
- data/domains/domain1/config/keyfile +6 -0
- data/domains/domain1/config/keystore.jks +0 -0
- data/domains/domain1/config/logging.properties +82 -0
- data/domains/domain1/config/login.conf +18 -0
- data/domains/domain1/config/server.policy +160 -0
- data/domains/domain1/config/sun-acc.xml +40 -0
- data/domains/domain1/config/wss-server-config-1.0.xml +86 -0
- data/domains/domain1/config/wss-server-config-2.0.xml +94 -0
- data/domains/domain1/docroot/favicon.gif +0 -0
- data/domains/domain1/docroot/index.html +87 -0
- data/domains/domain1/master-password +0 -0
- data/lib/appclient/appclientlogin.conf +10 -0
- data/lib/appclient/client.policy +79 -0
- data/lib/appclient/wss-client-config-1.0.xml +84 -0
- data/lib/appclient/wss-client-config-2.0.xml +96 -0
- data/lib/dtds/application-client_1_2.dtd +292 -0
- data/lib/dtds/application-client_1_3.dtd +506 -0
- data/lib/dtds/application_1_2.dtd +197 -0
- data/lib/dtds/application_1_3.dtd +312 -0
- data/lib/dtds/connector_1_0.dtd +561 -0
- data/lib/dtds/ejb-jar_1_1.dtd +894 -0
- data/lib/dtds/ejb-jar_2_0.dtd +1671 -0
- data/lib/dtds/sun-application-client-container_1_0.dtd +123 -0
- data/lib/dtds/sun-application-client-container_1_1.dtd +264 -0
- data/lib/dtds/sun-application-client-container_1_2.dtd +267 -0
- data/lib/dtds/sun-application-client_1_3-0.dtd +57 -0
- data/lib/dtds/sun-application-client_1_4-0.dtd +182 -0
- data/lib/dtds/sun-application-client_1_4-1.dtd +431 -0
- data/lib/dtds/sun-application-client_5_0-0.dtd +495 -0
- data/lib/dtds/sun-application_1_3-0.dtd +30 -0
- data/lib/dtds/sun-application_1_4-0.dtd +44 -0
- data/lib/dtds/sun-application_5_0-0.dtd +51 -0
- data/lib/dtds/sun-cmp-mapping_1_0.dtd +100 -0
- data/lib/dtds/sun-cmp-mapping_1_1.dtd +99 -0
- data/lib/dtds/sun-cmp-mapping_1_2.dtd +106 -0
- data/lib/dtds/sun-connector_1_0-0.dtd +66 -0
- data/lib/dtds/sun-connector_1_5-0.dtd +62 -0
- data/lib/dtds/sun-domain_1_0.dtd +2007 -0
- data/lib/dtds/sun-domain_1_1.dtd +3080 -0
- data/lib/dtds/sun-domain_1_2.dtd +3697 -0
- data/lib/dtds/sun-domain_1_3.dtd +3867 -0
- data/lib/dtds/sun-ejb-jar_2_0-0.dtd +449 -0
- data/lib/dtds/sun-ejb-jar_2_0-1.dtd +454 -0
- data/lib/dtds/sun-ejb-jar_2_1-0.dtd +756 -0
- data/lib/dtds/sun-ejb-jar_2_1-1.dtd +1085 -0
- data/lib/dtds/sun-ejb-jar_3_0-0.dtd +1113 -0
- data/lib/dtds/sun-loadbalancer_1_0.dtd +156 -0
- data/lib/dtds/sun-loadbalancer_1_1.dtd +172 -0
- data/lib/dtds/sun-resources_1_0.dtd +650 -0
- data/lib/dtds/sun-resources_1_1.dtd +650 -0
- data/lib/dtds/sun-resources_1_2.dtd +662 -0
- data/lib/dtds/sun-resources_1_3.dtd +732 -0
- data/lib/dtds/sun-server_1_0.dtd +1056 -0
- data/lib/dtds/sun-web-app_2_3-0.dtd +230 -0
- data/lib/dtds/sun-web-app_2_3-1.dtd +230 -0
- data/lib/dtds/sun-web-app_2_4-0.dtd +466 -0
- data/lib/dtds/sun-web-app_2_4-1.dtd +742 -0
- data/lib/dtds/sun-web-app_2_5-0.dtd +789 -0
- data/lib/dtds/web-app_2_2.dtd +639 -0
- data/lib/dtds/web-app_2_3.dtd +1063 -0
- data/lib/dtds/web-jsptaglibrary_1_1.dtd +265 -0
- data/lib/dtds/web-jsptaglibrary_1_2.dtd +468 -0
- data/lib/package-appclient.xml +185 -0
- data/lib/processLauncher.properties +25 -0
- data/lib/processLauncher.xml +189 -0
- data/lib/schemas/XMLSchema.dtd +402 -0
- data/lib/schemas/application-client_1_4.xsd +267 -0
- data/lib/schemas/application-client_5.xsd +304 -0
- data/lib/schemas/application_1_4.xsd +315 -0
- data/lib/schemas/application_5.xsd +336 -0
- data/lib/schemas/connector_1_5.xsd +1036 -0
- data/lib/schemas/datatypes.dtd +203 -0
- data/lib/schemas/ejb-jar_2_1.xsd +2208 -0
- data/lib/schemas/ejb-jar_3_0.xsd +2706 -0
- data/lib/schemas/j2ee_1_4.xsd +1608 -0
- data/lib/schemas/j2ee_jaxrpc_mapping_1_1.xsd +886 -0
- data/lib/schemas/j2ee_web_services_1_1.xsd +491 -0
- data/lib/schemas/j2ee_web_services_client_1_1.xsd +345 -0
- data/lib/schemas/javaee_5.xsd +2096 -0
- data/lib/schemas/javaee_web_services_1_2.xsd +747 -0
- data/lib/schemas/javaee_web_services_client_1_2.xsd +578 -0
- data/lib/schemas/jax-rpc-ri-config.xsd +416 -0
- data/lib/schemas/jsp_2_0.xsd +308 -0
- data/lib/schemas/jsp_2_1.xsd +343 -0
- data/lib/schemas/orm_1_0.xsd +1516 -0
- data/lib/schemas/persistence_1_0.xsd +260 -0
- data/lib/schemas/web-app_2_4.xsd +1234 -0
- data/lib/schemas/web-app_2_5.xsd +1271 -0
- data/lib/schemas/web-jsptaglibrary_2_0.xsd +1010 -0
- data/lib/schemas/web-jsptaglibrary_2_1.xsd +1144 -0
- data/lib/schemas/xml.xsd +82 -0
- data/modules/admin-cli-10.0-SNAPSHOT.jar +0 -0
- data/modules/auto-depends-0.2-SNAPSHOT.jar +0 -0
- data/modules/cli-framework-10.0-SNAPSHOT.jar +0 -0
- data/modules/common-ee-util-10.0-SNAPSHOT.jar +0 -0
- data/modules/common-util-10.0-SNAPSHOT.jar +0 -0
- data/modules/config-0.2-SNAPSHOT.jar +0 -0
- data/modules/config-api-10.0-SNAPSHOT.jar +0 -0
- data/modules/gf-jruby-connector-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish-api-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish.rb +10 -0
- data/modules/grizzly-framework-1.7.1.jar +0 -0
- data/modules/grizzly-http-1.7.1.jar +0 -0
- data/modules/grizzly-http-utils-1.7.1.jar +0 -0
- data/modules/grizzly-jruby-1.7.0.jar +0 -0
- data/modules/grizzly-jruby-module-1.7.0.jar +0 -0
- data/modules/grizzly-module-1.7.1.jar +0 -0
- data/modules/grizzly-portunif-1.7.1.jar +0 -0
- data/modules/grizzly-rcm-1.7.1.jar +0 -0
- data/modules/hk2-0.2-SNAPSHOT.jar +0 -0
- data/modules/hk2-core-0.2-SNAPSHOT.jar +0 -0
- data/modules/junit-4.3.1.jar +0 -0
- data/modules/kernel-10.0-SNAPSHOT.jar +0 -0
- data/modules/persistence-api-1.0b.jar +0 -0
- data/modules/servlet-api-2.5.jar +0 -0
- data/modules/sjsxp-1.0.jar +0 -0
- data/modules/stax-api-1.0-2.jar +0 -0
- data/modules/tiger-types-1.0.jar +0 -0
- metadata +206 -0
@@ -0,0 +1,742 @@
|
|
1
|
+
|
2
|
+
<!-- The PUBLIC ID (defined in DOCTYPE) associated with this dtd is:
|
3
|
+
"-//Sun Microsystems, Inc.//DTD Application Server 8.1 Servlet 2.4//EN"
|
4
|
+
-->
|
5
|
+
|
6
|
+
<!ENTITY % boolean "(yes | no | on | off | 1 | 0 | true | false)">
|
7
|
+
|
8
|
+
<!-- root element for vendor specific web application (module) configuration -->
|
9
|
+
<!ELEMENT sun-web-app (context-root?, security-role-mapping*, servlet*, idempotent-url-pattern*, session-config?,
|
10
|
+
ejb-ref*, resource-ref*, resource-env-ref*, service-ref*,
|
11
|
+
cache?, class-loader?,
|
12
|
+
jsp-config?, locale-charset-info?, parameter-encoding?,
|
13
|
+
property*, message-destination*, webservice-description*)>
|
14
|
+
<!ATTLIST sun-web-app error-url CDATA "">
|
15
|
+
|
16
|
+
<!--
|
17
|
+
Idempotent URL Patterns
|
18
|
+
url-pattern URL Pattern of the idempotent requests
|
19
|
+
num-of-retries Specifies the number of times the Load Balancer will retry a request that is idempotent.
|
20
|
+
-->
|
21
|
+
<!ELEMENT idempotent-url-pattern EMPTY>
|
22
|
+
<!ATTLIST idempotent-url-pattern url-pattern CDATA #REQUIRED
|
23
|
+
num-of-retries CDATA "-1">
|
24
|
+
|
25
|
+
<!--
|
26
|
+
Context Root for the web application when the war file is a standalone module.
|
27
|
+
When the war module is part of the J2EE Application, use the application.xml
|
28
|
+
-->
|
29
|
+
<!ELEMENT context-root (#PCDATA)>
|
30
|
+
|
31
|
+
<!ELEMENT security-role-mapping (role-name, (principal-name | group-name)+)>
|
32
|
+
<!ELEMENT role-name (#PCDATA)>
|
33
|
+
|
34
|
+
<!ELEMENT principal-name (#PCDATA)>
|
35
|
+
<!ELEMENT group-name (#PCDATA)>
|
36
|
+
|
37
|
+
<!ELEMENT servlet (servlet-name, principal-name?, webservice-endpoint*)>
|
38
|
+
|
39
|
+
<!ELEMENT session-config (session-manager?, session-properties?, cookie-properties?)>
|
40
|
+
|
41
|
+
<!--
|
42
|
+
The valid values for
|
43
|
+
8.1 PE: memory, file, custom
|
44
|
+
8.1 SE/EE: memory, file, custom, ha
|
45
|
+
PWC: memory, file, s1ws60, mmap
|
46
|
+
-->
|
47
|
+
<!ENTITY % persistence-type "(memory | file | custom | ha | s1ws60 | mmap)">
|
48
|
+
|
49
|
+
<!ELEMENT session-manager (manager-properties?, store-properties?)>
|
50
|
+
<!ATTLIST session-manager persistence-type %persistence-type; "memory">
|
51
|
+
|
52
|
+
<!ELEMENT manager-properties (property*)>
|
53
|
+
<!ELEMENT store-properties (property*)>
|
54
|
+
<!ELEMENT session-properties (property*)>
|
55
|
+
<!ELEMENT cookie-properties (property*)>
|
56
|
+
|
57
|
+
<!ELEMENT jndi-name (#PCDATA)>
|
58
|
+
|
59
|
+
<!ELEMENT resource-env-ref (resource-env-ref-name, jndi-name)>
|
60
|
+
<!ELEMENT resource-env-ref-name (#PCDATA)>
|
61
|
+
|
62
|
+
<!ELEMENT resource-ref (res-ref-name, jndi-name, default-resource-principal?)>
|
63
|
+
<!ELEMENT res-ref-name (#PCDATA)>
|
64
|
+
|
65
|
+
<!ELEMENT default-resource-principal ( name, password)>
|
66
|
+
|
67
|
+
<!--
|
68
|
+
This node holds information about a logical message destination
|
69
|
+
-->
|
70
|
+
<!ELEMENT message-destination (message-destination-name, jndi-name)>
|
71
|
+
|
72
|
+
<!--
|
73
|
+
This node holds the name of a logical message destination
|
74
|
+
-->
|
75
|
+
<!ELEMENT message-destination-name (#PCDATA)>
|
76
|
+
|
77
|
+
<!--
|
78
|
+
This text nodes holds a name string.
|
79
|
+
-->
|
80
|
+
<!ELEMENT name (#PCDATA)>
|
81
|
+
|
82
|
+
<!--
|
83
|
+
This element holds password text.
|
84
|
+
-->
|
85
|
+
<!ELEMENT password (#PCDATA)>
|
86
|
+
|
87
|
+
|
88
|
+
<!ELEMENT ejb-ref (ejb-ref-name, jndi-name)>
|
89
|
+
<!ELEMENT ejb-ref-name (#PCDATA)>
|
90
|
+
|
91
|
+
<!ENTITY % scope "(context.attribute | request.header | request.parameter |
|
92
|
+
request.cookie | request.attribute | session.attribute)">
|
93
|
+
<!ENTITY % key-scope "(context.attribute | request.header | request.parameter |
|
94
|
+
request.cookie | session.id | session.attribute)">
|
95
|
+
<!ENTITY % expr "(equals | greater | lesser | not-equals | in-range)">
|
96
|
+
|
97
|
+
<!-- cache element configures the cache for web application. iAS 7.0 web container
|
98
|
+
supports one such cache object per application: i.e. <cache> is a sub element
|
99
|
+
of <ias-web-app>. A cache can have zero or more cache-mapping elements and
|
100
|
+
zero or more customizable cache-helper classes.
|
101
|
+
|
102
|
+
max-entries Maximum number of entries this cache may hold. [4096]
|
103
|
+
timeout-in-seconds Default timeout for the cache entries in seconds. [30]
|
104
|
+
enabled Is this cache enabled? [true] The default value is changed to true from 8.1
|
105
|
+
-->
|
106
|
+
<!ELEMENT cache (cache-helper*, default-helper?, property*, cache-mapping*)>
|
107
|
+
<!ATTLIST cache max-entries CDATA "4096"
|
108
|
+
timeout-in-seconds CDATA "30"
|
109
|
+
enabled %boolean; "true">
|
110
|
+
|
111
|
+
<!-- cache-helper specifies customizable class which implements CacheHelper interface.
|
112
|
+
|
113
|
+
name Unique name for the helper class; this is referenced in
|
114
|
+
the cache-mapping elements (see below).
|
115
|
+
"default" is reserved for the built-in default helper.
|
116
|
+
class-name Fully qualified class name of the cache-helper; this class
|
117
|
+
must extend the com.sun.appserv.web.CacheHelper class.
|
118
|
+
-->
|
119
|
+
<!ELEMENT cache-helper (property*)>
|
120
|
+
<!ATTLIST cache-helper name CDATA #REQUIRED
|
121
|
+
class-name CDATA #REQUIRED>
|
122
|
+
|
123
|
+
<!--
|
124
|
+
Default, built-in cache-helper properties
|
125
|
+
-->
|
126
|
+
<!ELEMENT default-helper (property*)>
|
127
|
+
|
128
|
+
<!--
|
129
|
+
cache-mapping element defines what to be cached, the key to be used, any other
|
130
|
+
constraints to be applied and a customizable cache-helper to programmatically
|
131
|
+
hook this information.
|
132
|
+
-->
|
133
|
+
<!ELEMENT cache-mapping ((servlet-name | url-pattern),
|
134
|
+
(cache-helper-ref |
|
135
|
+
(dispatcher*, timeout?, refresh-field?, http-method*, key-field*, constraint-field*)))>
|
136
|
+
|
137
|
+
<!--
|
138
|
+
servlet-name element defines a named servlet to which this caching is enabled.
|
139
|
+
the specified name must be present in the web application deployment descriptor
|
140
|
+
(web.xml)
|
141
|
+
-->
|
142
|
+
<!ELEMENT servlet-name (#PCDATA)>
|
143
|
+
|
144
|
+
<!--
|
145
|
+
url-pattern element specifies the url pattern to which caching is to be enabled.
|
146
|
+
See Servlet 2.3 specification section SRV. 11.2 for the applicable patterns.
|
147
|
+
-->
|
148
|
+
<!ELEMENT url-pattern (#PCDATA)>
|
149
|
+
|
150
|
+
<!--
|
151
|
+
cache-helper-ref s a reference to the cache-helper used by this cache-mapping
|
152
|
+
-->
|
153
|
+
<!ELEMENT cache-helper-ref (#PCDATA)>
|
154
|
+
|
155
|
+
<!--
|
156
|
+
Specifies the RequestDispatcher methods for which caching is to be
|
157
|
+
enabled on the target resource. Valid values are REQUEST, FORWARD, INCLUDE,
|
158
|
+
and ERROR (default: REQUEST).
|
159
|
+
See SRV.6.2.5 of the Servlet 2.4 Specification for more information.
|
160
|
+
-->
|
161
|
+
<!ELEMENT dispatcher (#PCDATA)>
|
162
|
+
|
163
|
+
<!--
|
164
|
+
timeout element defines the cache timeout in seconds applicable for this mapping.
|
165
|
+
default is to use cache object's timeout. The timeout value is specified statically
|
166
|
+
ere (e.g. <timeout> 60 </timeout> or dynamically via fields in the relevant scope.
|
167
|
+
|
168
|
+
name Name of the field where this timeout could be found
|
169
|
+
scope Scope of the field. default scope is request attribute.
|
170
|
+
-->
|
171
|
+
<!ELEMENT timeout (#PCDATA)>
|
172
|
+
<!ATTLIST timeout name CDATA #IMPLIED
|
173
|
+
scope %scope; 'request.attribute'>
|
174
|
+
|
175
|
+
<!--
|
176
|
+
http-method specifies HTTP method eligible for caching default is GET.
|
177
|
+
-->
|
178
|
+
<!ELEMENT http-method (#PCDATA)>
|
179
|
+
|
180
|
+
<!--
|
181
|
+
specifies the request parameter name that triggers refresh. the cached entry
|
182
|
+
is refreshed when there such a request parameter is set to "true"
|
183
|
+
example:
|
184
|
+
<cache-mapping>
|
185
|
+
<url-pattern> /quote </url-pattern>
|
186
|
+
<refresh-field name="refresh" scope="request.parameter"/>
|
187
|
+
</cache-mapping>
|
188
|
+
-->
|
189
|
+
<!ELEMENT refresh-field EMPTY>
|
190
|
+
<!ATTLIST refresh-field name CDATA #REQUIRED
|
191
|
+
scope %key-scope; 'request.parameter'>
|
192
|
+
<!--
|
193
|
+
key-field specifies a component of the key; container looks for the named
|
194
|
+
field in the given scope to access the cached entry. Default is to use
|
195
|
+
the Servlet Path (the path section that corresponds to the servlet mapping
|
196
|
+
which activated this request). See Servlet 2.3 specification section SRV 4.4
|
197
|
+
on Servlet Path.
|
198
|
+
|
199
|
+
name Name of the field to look for in the given scope
|
200
|
+
scope Scope of the field. default scope is request parameter.
|
201
|
+
-->
|
202
|
+
<!ELEMENT key-field EMPTY>
|
203
|
+
<!ATTLIST key-field name CDATA #REQUIRED
|
204
|
+
scope %key-scope; 'request.parameter'>
|
205
|
+
|
206
|
+
<!--
|
207
|
+
constraint-field specifies a field whose value is used as a cacheability constraint.
|
208
|
+
|
209
|
+
name Name of the field to look for in the given scope
|
210
|
+
scope Scope of the field. Default scope is request parameter.
|
211
|
+
cache-on-match Should this constraint check pass, is the response cacheable?
|
212
|
+
Default is true (i.e. cache the response on success match).
|
213
|
+
Useful to turn off caching when there is an attribute in the
|
214
|
+
scope (e.g. don't cache when there is an attribute called UID
|
215
|
+
in the session.attribute scope).
|
216
|
+
cache-on-match-failure Should the constraint check fail, is response not cacheable?
|
217
|
+
Default is false (i.e. a failure in enforcing the constraint
|
218
|
+
would negate caching). Useful to turn on caching when the
|
219
|
+
an an attribute is not present (e.g. turn on caching
|
220
|
+
when there is no session or session attribute called UID).
|
221
|
+
|
222
|
+
Example 1: don't cache when there is a session attribute
|
223
|
+
<constraint-field name="UID" scope="session.attribute" cache-on-match="false">
|
224
|
+
|
225
|
+
Example 2: do cache only when there is no session attribute
|
226
|
+
<constraint-field name="UID" scope="session.attribute"
|
227
|
+
cache-on-match-failure="false">
|
228
|
+
-->
|
229
|
+
<!ELEMENT constraint-field (constraint-field-value*)>
|
230
|
+
<!ATTLIST constraint-field name CDATA #REQUIRED
|
231
|
+
scope %scope; 'request.parameter'
|
232
|
+
cache-on-match %boolean; 'true'
|
233
|
+
cache-on-match-failure %boolean; 'false'>
|
234
|
+
|
235
|
+
<!--
|
236
|
+
value element specifies the applicable value and a matching expression for a constraint-field
|
237
|
+
match-expr Expression used to match the value. Default is 'equals'.
|
238
|
+
|
239
|
+
Example 1: cache when the category matches with any value other than a specific value
|
240
|
+
<constraint-field name="category" scope="request.parameter>
|
241
|
+
<value match-expr="equals" cache-on-match-failure="true">
|
242
|
+
bogus
|
243
|
+
</value>
|
244
|
+
</constraint-field>
|
245
|
+
-->
|
246
|
+
<!ELEMENT constraint-field-value (#PCDATA)>
|
247
|
+
<!ATTLIST constraint-field-value match-expr %expr; 'equals'
|
248
|
+
cache-on-match %boolean; 'true'
|
249
|
+
cache-on-match-failure %boolean; 'false'>
|
250
|
+
|
251
|
+
<!ELEMENT class-loader (property*)>
|
252
|
+
<!ATTLIST class-loader extra-class-path CDATA #IMPLIED
|
253
|
+
delegate %boolean; 'true'
|
254
|
+
dynamic-reload-interval CDATA #IMPLIED >
|
255
|
+
|
256
|
+
<!ELEMENT jsp-config (property*)>
|
257
|
+
|
258
|
+
<!ELEMENT locale-charset-info (locale-charset-map+, parameter-encoding?)>
|
259
|
+
<!ATTLIST locale-charset-info default-locale CDATA #IMPLIED>
|
260
|
+
|
261
|
+
<!ELEMENT locale-charset-map (description?)>
|
262
|
+
<!ATTLIST locale-charset-map locale CDATA #REQUIRED
|
263
|
+
agent CDATA #IMPLIED
|
264
|
+
charset CDATA #REQUIRED>
|
265
|
+
|
266
|
+
<!ELEMENT parameter-encoding EMPTY>
|
267
|
+
<!ATTLIST parameter-encoding form-hint-field CDATA #IMPLIED
|
268
|
+
default-charset CDATA #IMPLIED>
|
269
|
+
|
270
|
+
<!--
|
271
|
+
Syntax for supplying properties as name value pairs
|
272
|
+
-->
|
273
|
+
<!ELEMENT property (description?)>
|
274
|
+
<!ATTLIST property name CDATA #REQUIRED
|
275
|
+
value CDATA #REQUIRED>
|
276
|
+
|
277
|
+
<!ELEMENT description (#PCDATA)>
|
278
|
+
|
279
|
+
<!--
|
280
|
+
This text nodes holds a value string.
|
281
|
+
-->
|
282
|
+
<!ELEMENT value (#PCDATA)>
|
283
|
+
|
284
|
+
|
285
|
+
<!--
|
286
|
+
W E B S E R V I C E S
|
287
|
+
-->
|
288
|
+
<!--
|
289
|
+
Runtime settings for a web service reference. In the simplest case,
|
290
|
+
there is no runtime information required for a service ref. Runtime info
|
291
|
+
is only needed in the following cases :
|
292
|
+
* to define the port that should be used to resolve a container-managed port
|
293
|
+
* to define default Stub/Call property settings for Stub objects
|
294
|
+
* to define the URL of a final WSDL document to be used instead of
|
295
|
+
the one packaged with a service-ref
|
296
|
+
-->
|
297
|
+
<!ELEMENT service-ref ( service-ref-name, port-info*, call-property*, wsdl-override?, service-impl-class?, service-qname? )>
|
298
|
+
|
299
|
+
<!--
|
300
|
+
Coded name (relative to java:comp/env) for a service-reference
|
301
|
+
-->
|
302
|
+
<!ELEMENT service-ref-name ( #PCDATA )>
|
303
|
+
|
304
|
+
<!--
|
305
|
+
Information for a port within a service-reference.
|
306
|
+
|
307
|
+
Either service-endpoint-interface or wsdl-port or both
|
308
|
+
(service-endpoint-interface and wsdl-port) should be specified.
|
309
|
+
|
310
|
+
If both are specified, wsdl-port represents the
|
311
|
+
port the container should choose for container-managed port selection.
|
312
|
+
|
313
|
+
The same wsdl-port value must not appear in
|
314
|
+
more than one port-info entry within the same service-ref.
|
315
|
+
|
316
|
+
If a particular service-endpoint-interface is using container-managed port
|
317
|
+
selection, it must not appear in more than one port-info entry
|
318
|
+
within the same service-ref.
|
319
|
+
|
320
|
+
The optional message-security-binding element is used to customize the
|
321
|
+
port to provider binding; either by binding the port to a specific provider
|
322
|
+
or by providing a definition of the message security requirements to be
|
323
|
+
enforced by the provider.
|
324
|
+
|
325
|
+
-->
|
326
|
+
<!ELEMENT port-info ( service-endpoint-interface?, wsdl-port?, stub-property*, call-property*, message-security-binding? )>
|
327
|
+
|
328
|
+
<!--
|
329
|
+
Fully qualified name of service endpoint interface
|
330
|
+
-->
|
331
|
+
<!ELEMENT service-endpoint-interface ( #PCDATA )>
|
332
|
+
<!--
|
333
|
+
Port used in port-info.
|
334
|
+
-->
|
335
|
+
<!ELEMENT wsdl-port ( namespaceURI, localpart )>
|
336
|
+
|
337
|
+
<!--
|
338
|
+
JAXRPC property values that should be set on a stub before it's returned to
|
339
|
+
to the web service client. The property names can be any properties supported
|
340
|
+
by the JAXRPC Stub implementation. See javadoc for javax.xml.rpc.Stub
|
341
|
+
-->
|
342
|
+
<!ELEMENT stub-property ( name, value )>
|
343
|
+
|
344
|
+
<!--
|
345
|
+
JAXRPC property values that should be set on a Call object before it's
|
346
|
+
returned to the web service client. The property names can be any
|
347
|
+
properties supported by the JAXRPC Call implementation. See javadoc
|
348
|
+
for javax.xml.rpc.Call
|
349
|
+
-->
|
350
|
+
<!ELEMENT call-property ( name, value )>
|
351
|
+
|
352
|
+
<!--
|
353
|
+
This is a valid URL pointing to a final WSDL document. It is optional.
|
354
|
+
If specified, the WSDL document at this URL will be used during
|
355
|
+
deployment instead of the WSDL document associated with the
|
356
|
+
service-ref in the standard deployment descriptor.
|
357
|
+
|
358
|
+
Examples :
|
359
|
+
|
360
|
+
// available via HTTP
|
361
|
+
<wsdl-override>http://localhost:8000/myservice/myport?WSDL</wsdl-override>
|
362
|
+
|
363
|
+
// in a file
|
364
|
+
<wsdl-override>file:/home/user1/myfinalwsdl.wsdl</wsdl-override>
|
365
|
+
|
366
|
+
-->
|
367
|
+
<!ELEMENT wsdl-override ( #PCDATA )>
|
368
|
+
|
369
|
+
<!--
|
370
|
+
Name of generated service implementation class. This is not set by the
|
371
|
+
deployer. It is derived during deployment.
|
372
|
+
-->
|
373
|
+
<!ELEMENT service-impl-class ( #PCDATA )>
|
374
|
+
|
375
|
+
<!--
|
376
|
+
The service-qname element declares the specific WSDL service
|
377
|
+
element that is being refered to. It is not set by the deployer.
|
378
|
+
It is derived during deployment.
|
379
|
+
-->
|
380
|
+
<!ELEMENT service-qname (namespaceURI, localpart)>
|
381
|
+
|
382
|
+
<!--
|
383
|
+
Runtime information about a web service.
|
384
|
+
|
385
|
+
wsdl-publish-location is optionally used to specify
|
386
|
+
where the final wsdl and any dependent files should be stored. This location
|
387
|
+
resides on the file system from which deployment is initiated.
|
388
|
+
|
389
|
+
-->
|
390
|
+
<!ELEMENT webservice-description ( webservice-description-name, wsdl-publish-location? )>
|
391
|
+
|
392
|
+
<!--
|
393
|
+
Unique name of a webservice within a module
|
394
|
+
-->
|
395
|
+
<!ELEMENT webservice-description-name ( #PCDATA )>
|
396
|
+
|
397
|
+
<!--
|
398
|
+
file: URL of a directory to which a web-service-description's wsdl should be
|
399
|
+
published during deployment. Any required files will be published to this
|
400
|
+
directory, preserving their location relative to the module-specific
|
401
|
+
wsdl directory(META-INF/wsdl or WEB-INF/wsdl).
|
402
|
+
|
403
|
+
Example :
|
404
|
+
|
405
|
+
For an ejb.jar whose webservices.xml wsdl-file element contains
|
406
|
+
META-INF/wsdl/a/Foo.wsdl
|
407
|
+
|
408
|
+
<wsdl-publish-location>file:/home/user1/publish
|
409
|
+
</wsdl-publish-location>
|
410
|
+
|
411
|
+
The final wsdl will be stored in /home/user1/publish/a/Foo.wsdl
|
412
|
+
|
413
|
+
-->
|
414
|
+
<!ELEMENT wsdl-publish-location ( #PCDATA )>
|
415
|
+
|
416
|
+
<!--
|
417
|
+
Information about a web service endpoint.
|
418
|
+
|
419
|
+
The optional message-security-binding element is used to customize the
|
420
|
+
webservice-endpoint to provider binding; either by binding the
|
421
|
+
webservice-endpoint to a specific provider or by providing a
|
422
|
+
definition of the message security requirements to be enforced by the
|
423
|
+
provider.
|
424
|
+
|
425
|
+
When login-config is specified, a default message-security provider
|
426
|
+
is not applied to the endpoint.
|
427
|
+
-->
|
428
|
+
<!ELEMENT webservice-endpoint ( port-component-name, endpoint-address-uri?, (login-config | message-security-binding)?, transport-guarantee?, service-qname?, tie-class?, servlet-impl-class? )>
|
429
|
+
|
430
|
+
<!--
|
431
|
+
Unique name of a port component within a module
|
432
|
+
-->
|
433
|
+
<!ELEMENT port-component-name ( #PCDATA )>
|
434
|
+
|
435
|
+
<!--
|
436
|
+
Relative path combined with web server root to form fully qualified
|
437
|
+
endpoint address for a web service endpoint. For servlet endpoints, this
|
438
|
+
value is relative to the servlet's web application context root. In
|
439
|
+
all cases, this value must be a fixed pattern(i.e. no "*" allowed).
|
440
|
+
If the web service endpoint is a servlet that only implements a single
|
441
|
+
endpoint has only one url-pattern, it is not necessary to set
|
442
|
+
this value since the container can derive it from web.xml.
|
443
|
+
-->
|
444
|
+
<!ELEMENT endpoint-address-uri ( #PCDATA )>
|
445
|
+
|
446
|
+
<!--
|
447
|
+
The name of tie implementation class for a port-component. This is
|
448
|
+
not specified by the deployer. It is derived during deployment.
|
449
|
+
-->
|
450
|
+
<!ELEMENT tie-class (#PCDATA)>
|
451
|
+
|
452
|
+
<!--
|
453
|
+
Optional authentication configuration for an EJB web service endpoint.
|
454
|
+
Not needed for servet web service endpoints. Their security configuration
|
455
|
+
is contained in the standard web application descriptor.
|
456
|
+
-->
|
457
|
+
<!ELEMENT login-config ( auth-method )>
|
458
|
+
|
459
|
+
<!--
|
460
|
+
The auth-method element is used to configure the authentication
|
461
|
+
mechanism for the web application. As a prerequisite to gaining access
|
462
|
+
to any web resources which are protected by an authorization
|
463
|
+
constraint, a user must have authenticated using the configured
|
464
|
+
mechanism.
|
465
|
+
-->
|
466
|
+
|
467
|
+
<!ELEMENT auth-method (#PCDATA)>
|
468
|
+
|
469
|
+
<!--
|
470
|
+
Name of application-written servlet impl class contained in deployed war.
|
471
|
+
This is not set by the deployer. It is derived by the container
|
472
|
+
during deployment.
|
473
|
+
-->
|
474
|
+
<!ELEMENT servlet-impl-class (#PCDATA)>
|
475
|
+
|
476
|
+
<!--
|
477
|
+
The transport-guarantee element specifies that the communication
|
478
|
+
between client and server should be NONE, INTEGRAL, or
|
479
|
+
CONFIDENTIAL. NONE means that the application does not require any
|
480
|
+
transport guarantees. A value of INTEGRAL means that the application
|
481
|
+
requires that the data sent between the client and server be sent in
|
482
|
+
such a way that it can't be changed in transit. CONFIDENTIAL means
|
483
|
+
that the application requires that the data be transmitted in a
|
484
|
+
fashion that prevents other entities from observing the contents of
|
485
|
+
the transmission. In most cases, the presence of the INTEGRAL or
|
486
|
+
CONFIDENTIAL flag will indicate that the use of SSL is required.
|
487
|
+
-->
|
488
|
+
|
489
|
+
<!ELEMENT transport-guarantee (#PCDATA)>
|
490
|
+
|
491
|
+
<!--
|
492
|
+
Runtime settings for a web service reference. In the simplest case,
|
493
|
+
there is no runtime information required for a service ref. Runtime info
|
494
|
+
is only needed in the following cases :
|
495
|
+
* to define the port that should be used to resolve a container-managed port
|
496
|
+
* to define default Stub/Call property settings for Stub objects
|
497
|
+
* to define the URL of a final WSDL document to be used instead of
|
498
|
+
the one packaged with a service-ref
|
499
|
+
-->
|
500
|
+
|
501
|
+
<!--
|
502
|
+
The localpart element indicates the local part of a QNAME.
|
503
|
+
-->
|
504
|
+
<!ELEMENT localpart (#PCDATA)>
|
505
|
+
|
506
|
+
<!--
|
507
|
+
The namespaceURI element indicates a URI.
|
508
|
+
-->
|
509
|
+
<!ELEMENT namespaceURI (#PCDATA)>
|
510
|
+
|
511
|
+
<!--
|
512
|
+
The message-layer entity is used to define the value of the
|
513
|
+
auth-layer attribute of message-security-binding elements.
|
514
|
+
|
515
|
+
Used in: message-security-binding
|
516
|
+
-->
|
517
|
+
<!ENTITY % message-layer "(SOAP)">
|
518
|
+
|
519
|
+
<!--
|
520
|
+
The message-security-binding element is used to customize the
|
521
|
+
webservice-endpoint or port to provider binding; either by binding the
|
522
|
+
webservice-endpoint or port to a specific provider or by providing a
|
523
|
+
definition of the message security requirements to be enforced by the
|
524
|
+
provider.
|
525
|
+
|
526
|
+
These elements are typically NOT created as a result of the
|
527
|
+
deployment of an application. They need only be created when the
|
528
|
+
deployer or system administrator chooses to customize the
|
529
|
+
webservice-endpoint or port to provider binding.
|
530
|
+
|
531
|
+
The optional (repeating) message-security sub-element is used
|
532
|
+
to accomplish the latter; in which case the specified
|
533
|
+
message-security requirements override any defined with the
|
534
|
+
provider.
|
535
|
+
|
536
|
+
The auth-layer attribute identifies the message layer at which the
|
537
|
+
message-security requirements are to be enforced.
|
538
|
+
|
539
|
+
The optional provider-id attribute identifies the provider-config
|
540
|
+
and thus the authentication provider that is to be used to satisfy
|
541
|
+
the application specific message security requirements. If a value for
|
542
|
+
the provider-id attribute is not specified, and a default
|
543
|
+
provider is defined for the message layer, then it is used.
|
544
|
+
if a value for the provider-id attribute is not specified, and a
|
545
|
+
default provider is not defined at the layer, the authentication
|
546
|
+
requirements defined in the message-security-binding are not
|
547
|
+
enforced.
|
548
|
+
|
549
|
+
Default:
|
550
|
+
Used in: webservice-endpoint, port-info
|
551
|
+
-->
|
552
|
+
<!ELEMENT message-security-binding ( message-security* )>
|
553
|
+
<!ATTLIST message-security-binding
|
554
|
+
auth-layer %message-layer; #REQUIRED
|
555
|
+
provider-id CDATA #IMPLIED >
|
556
|
+
|
557
|
+
<!--
|
558
|
+
The message-security element describes message security requirements
|
559
|
+
that pertain to the request and response messages of the containing
|
560
|
+
endpoint, or port
|
561
|
+
|
562
|
+
When contained within a webservice-endpoint this element describes
|
563
|
+
the message security requirements that pertain to the request and
|
564
|
+
response messages of the containing endpoint. When contained within a
|
565
|
+
port-info of a service-ref this element describes the message security
|
566
|
+
requirements of the port of the referenced service.
|
567
|
+
|
568
|
+
The one or more contained message elements define the methods or operations
|
569
|
+
of the containing application, endpoint, or referenced service to which
|
570
|
+
the message security requirements apply.
|
571
|
+
|
572
|
+
Multiple message-security elements occur within a containing
|
573
|
+
element when it is necessary to define different message
|
574
|
+
security requirements for different messages within the encompassing
|
575
|
+
context. In such circumstances, the peer elements should not overlap
|
576
|
+
in the messages they pertain to. If there is any overlap in the
|
577
|
+
identified messages, no message security requirements apply to
|
578
|
+
the messages for which more than one message-security element apply.
|
579
|
+
|
580
|
+
Also, no message security requirements apply to any messages of
|
581
|
+
the encompassing context that are not identified by a message element.
|
582
|
+
|
583
|
+
Default:
|
584
|
+
Used in: webservice-endpoint, and port-info
|
585
|
+
-->
|
586
|
+
<!ELEMENT message-security ( message+, request-protection?, response-protection? )>
|
587
|
+
|
588
|
+
<!--
|
589
|
+
The message element identifies the methods or operations to which
|
590
|
+
the message security requirements apply.
|
591
|
+
|
592
|
+
The identified methods or operations are methods or operations of
|
593
|
+
the resource identified by the context in which the message-security
|
594
|
+
element is defined (e.g. the the resource identified by the
|
595
|
+
service-qname of the containing webservice-endpoint or service-ref).
|
596
|
+
|
597
|
+
An empty message element indicates that the security requirements
|
598
|
+
apply to all the methods or operations of the identified resource.
|
599
|
+
|
600
|
+
When operation-name is specified, the security
|
601
|
+
requirements defined in the containing message-security
|
602
|
+
element apply to all the operations of the endpoint
|
603
|
+
with the specified (and potentially overloaded) operation name.
|
604
|
+
|
605
|
+
Default:
|
606
|
+
Used in: message-security
|
607
|
+
-->
|
608
|
+
<!ELEMENT message ( java-method? | operation-name? )>
|
609
|
+
|
610
|
+
<!--
|
611
|
+
The java-method element is used to identify a method (or methods
|
612
|
+
in the case of an overloaded method-name) of the java class
|
613
|
+
indicated by the context in which the java-method is contained.
|
614
|
+
|
615
|
+
Default:
|
616
|
+
Used in: message
|
617
|
+
-->
|
618
|
+
<!ELEMENT java-method ( method-name, method-params? )>
|
619
|
+
|
620
|
+
<!--
|
621
|
+
The operation-name element is used to identify the WSDL name of an
|
622
|
+
operation of a web service.
|
623
|
+
|
624
|
+
Default:
|
625
|
+
Used in: message
|
626
|
+
-->
|
627
|
+
<!ELEMENT operation-name ( #PCDATA )>
|
628
|
+
|
629
|
+
<!--
|
630
|
+
The request-protection element describes the authentication requirements
|
631
|
+
that apply to a request.
|
632
|
+
|
633
|
+
The auth-source attribute defines a requirement for message layer
|
634
|
+
sender authentication (e.g. username password) or content authentication
|
635
|
+
(e.g. digital signature).
|
636
|
+
|
637
|
+
The auth-recipient attribute defines a requirement for message
|
638
|
+
layer authentication of the reciever of a message to its sender (e.g. by
|
639
|
+
XML encryption).
|
640
|
+
|
641
|
+
The before-content attribute value indicates that recipient
|
642
|
+
authentication (e.g. encryption) is to occur before any
|
643
|
+
content authentication (e.g. encrypt then sign) with respect
|
644
|
+
to the target of the containing auth-policy.
|
645
|
+
|
646
|
+
An absent request-protection element is the recommended shorthand
|
647
|
+
for a request-protection element with unspecified values for both the
|
648
|
+
auth-source and auth-recipient attributes.
|
649
|
+
|
650
|
+
Default:
|
651
|
+
Used in: message-security
|
652
|
+
|
653
|
+
* Expected evolution to support partial message protection:
|
654
|
+
*
|
655
|
+
* request-protection ( content-auth-policy* )
|
656
|
+
*
|
657
|
+
* If the request-protection element contains one or more
|
658
|
+
* content-auth-policy sub-elements, they define the authentication
|
659
|
+
* requirements to be applied to the identified request content. If multiple
|
660
|
+
* content-auth-policy sub-elements are defined, a request sender must
|
661
|
+
* satisfy the requirements independently, and in the specified order.
|
662
|
+
*
|
663
|
+
* The content-auth-policy element would be used to associate authentication
|
664
|
+
* requirements with the parts of the request or response object identified
|
665
|
+
* by the contained method-params or part-name-list sub-elements.
|
666
|
+
*
|
667
|
+
* The content-auth-policy element would be defined as follows:
|
668
|
+
*
|
669
|
+
* content-auth-policy ( method-params | part-name-list )
|
670
|
+
* ATTLIST content-auth-policy
|
671
|
+
* auth-source (sender | content) #IMPLIED
|
672
|
+
* auth-recipient (before-content | after-content) #IMPLIED
|
673
|
+
*
|
674
|
+
* The part-name-list and part-name elements would be defined as follows:
|
675
|
+
*
|
676
|
+
* part-name-list ( part-name* )
|
677
|
+
* part-name ( #PCDATA )
|
678
|
+
*
|
679
|
+
-->
|
680
|
+
<!ELEMENT request-protection EMPTY >
|
681
|
+
<!ATTLIST request-protection
|
682
|
+
auth-source (sender | content) #IMPLIED
|
683
|
+
auth-recipient (before-content | after-content) #IMPLIED>
|
684
|
+
|
685
|
+
<!--
|
686
|
+
The response-protection element describes the authentication requirements
|
687
|
+
that apply to a response.
|
688
|
+
|
689
|
+
The auth-source attribute defines a requirement for message layer
|
690
|
+
sender authentication (e.g. username password) or content authentication
|
691
|
+
(e.g. digital signature).
|
692
|
+
|
693
|
+
The auth-recipient attribute defines a requirement for message
|
694
|
+
layer authentication of the reciever of a message to its sender (e.g. by
|
695
|
+
XML encryption).
|
696
|
+
|
697
|
+
The before-content attribute value indicates that recipient
|
698
|
+
authentication (e.g. encryption) is to occur before any
|
699
|
+
content authentication (e.g. encrypt then sign) with respect
|
700
|
+
to the target of the containing auth-policy.
|
701
|
+
|
702
|
+
An absent response-protection element is the recommended shorthand
|
703
|
+
for a request-protection element with unspecified values for both the
|
704
|
+
auth-source and auth-recipient attributes.
|
705
|
+
|
706
|
+
Default:
|
707
|
+
Used in: message-security
|
708
|
+
|
709
|
+
* Expected evolution to support partial message protection:
|
710
|
+
*
|
711
|
+
* response-protection ( content-auth-policy* )
|
712
|
+
*
|
713
|
+
* see request-protection element for more details
|
714
|
+
*
|
715
|
+
-->
|
716
|
+
<!ELEMENT response-protection EMPTY >
|
717
|
+
<!ATTLIST response-protection
|
718
|
+
auth-source (sender | content) #IMPLIED
|
719
|
+
auth-recipient (before-content | after-content) #IMPLIED>
|
720
|
+
|
721
|
+
<!--
|
722
|
+
The method-name element contains the name of a service method of a web service
|
723
|
+
implementation class.
|
724
|
+
|
725
|
+
Used in: java-method
|
726
|
+
-->
|
727
|
+
<!ELEMENT method-name (#PCDATA)>
|
728
|
+
<!--
|
729
|
+
The method-params element contains a list of the fully-qualified Java
|
730
|
+
type names of the method parameters.
|
731
|
+
|
732
|
+
Used in: java-method
|
733
|
+
-->
|
734
|
+
<!ELEMENT method-params (method-param*)>
|
735
|
+
|
736
|
+
<!--
|
737
|
+
The method-param element contains the fully-qualified Java type name
|
738
|
+
of a method parameter.
|
739
|
+
|
740
|
+
Used in: method-params
|
741
|
+
-->
|
742
|
+
<!ELEMENT method-param (#PCDATA)>
|