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.
Files changed (135) hide show
  1. data/COPYRIGHT +33 -0
  2. data/LICENSE.txt +263 -0
  3. data/README +12 -0
  4. data/bin/asadmin +7 -0
  5. data/bin/asadmin.bat +8 -0
  6. data/bin/glassfish_rails +40 -0
  7. data/config/asadminenv.conf +6 -0
  8. data/config/asenv.bat +28 -0
  9. data/config/asenv.conf +27 -0
  10. data/config/glassfish.container +4 -0
  11. data/domains/domain1/config/admin-keyfile +3 -0
  12. data/domains/domain1/config/cacerts.jks +0 -0
  13. data/domains/domain1/config/default-web.xml +906 -0
  14. data/domains/domain1/config/domain-passwords +0 -0
  15. data/domains/domain1/config/domain.xml +208 -0
  16. data/domains/domain1/config/keyfile +6 -0
  17. data/domains/domain1/config/keystore.jks +0 -0
  18. data/domains/domain1/config/logging.properties +82 -0
  19. data/domains/domain1/config/login.conf +18 -0
  20. data/domains/domain1/config/server.policy +160 -0
  21. data/domains/domain1/config/sun-acc.xml +40 -0
  22. data/domains/domain1/config/wss-server-config-1.0.xml +86 -0
  23. data/domains/domain1/config/wss-server-config-2.0.xml +94 -0
  24. data/domains/domain1/docroot/favicon.gif +0 -0
  25. data/domains/domain1/docroot/index.html +87 -0
  26. data/domains/domain1/master-password +0 -0
  27. data/lib/appclient/appclientlogin.conf +10 -0
  28. data/lib/appclient/client.policy +79 -0
  29. data/lib/appclient/wss-client-config-1.0.xml +84 -0
  30. data/lib/appclient/wss-client-config-2.0.xml +96 -0
  31. data/lib/dtds/application-client_1_2.dtd +292 -0
  32. data/lib/dtds/application-client_1_3.dtd +506 -0
  33. data/lib/dtds/application_1_2.dtd +197 -0
  34. data/lib/dtds/application_1_3.dtd +312 -0
  35. data/lib/dtds/connector_1_0.dtd +561 -0
  36. data/lib/dtds/ejb-jar_1_1.dtd +894 -0
  37. data/lib/dtds/ejb-jar_2_0.dtd +1671 -0
  38. data/lib/dtds/sun-application-client-container_1_0.dtd +123 -0
  39. data/lib/dtds/sun-application-client-container_1_1.dtd +264 -0
  40. data/lib/dtds/sun-application-client-container_1_2.dtd +267 -0
  41. data/lib/dtds/sun-application-client_1_3-0.dtd +57 -0
  42. data/lib/dtds/sun-application-client_1_4-0.dtd +182 -0
  43. data/lib/dtds/sun-application-client_1_4-1.dtd +431 -0
  44. data/lib/dtds/sun-application-client_5_0-0.dtd +495 -0
  45. data/lib/dtds/sun-application_1_3-0.dtd +30 -0
  46. data/lib/dtds/sun-application_1_4-0.dtd +44 -0
  47. data/lib/dtds/sun-application_5_0-0.dtd +51 -0
  48. data/lib/dtds/sun-cmp-mapping_1_0.dtd +100 -0
  49. data/lib/dtds/sun-cmp-mapping_1_1.dtd +99 -0
  50. data/lib/dtds/sun-cmp-mapping_1_2.dtd +106 -0
  51. data/lib/dtds/sun-connector_1_0-0.dtd +66 -0
  52. data/lib/dtds/sun-connector_1_5-0.dtd +62 -0
  53. data/lib/dtds/sun-domain_1_0.dtd +2007 -0
  54. data/lib/dtds/sun-domain_1_1.dtd +3080 -0
  55. data/lib/dtds/sun-domain_1_2.dtd +3697 -0
  56. data/lib/dtds/sun-domain_1_3.dtd +3867 -0
  57. data/lib/dtds/sun-ejb-jar_2_0-0.dtd +449 -0
  58. data/lib/dtds/sun-ejb-jar_2_0-1.dtd +454 -0
  59. data/lib/dtds/sun-ejb-jar_2_1-0.dtd +756 -0
  60. data/lib/dtds/sun-ejb-jar_2_1-1.dtd +1085 -0
  61. data/lib/dtds/sun-ejb-jar_3_0-0.dtd +1113 -0
  62. data/lib/dtds/sun-loadbalancer_1_0.dtd +156 -0
  63. data/lib/dtds/sun-loadbalancer_1_1.dtd +172 -0
  64. data/lib/dtds/sun-resources_1_0.dtd +650 -0
  65. data/lib/dtds/sun-resources_1_1.dtd +650 -0
  66. data/lib/dtds/sun-resources_1_2.dtd +662 -0
  67. data/lib/dtds/sun-resources_1_3.dtd +732 -0
  68. data/lib/dtds/sun-server_1_0.dtd +1056 -0
  69. data/lib/dtds/sun-web-app_2_3-0.dtd +230 -0
  70. data/lib/dtds/sun-web-app_2_3-1.dtd +230 -0
  71. data/lib/dtds/sun-web-app_2_4-0.dtd +466 -0
  72. data/lib/dtds/sun-web-app_2_4-1.dtd +742 -0
  73. data/lib/dtds/sun-web-app_2_5-0.dtd +789 -0
  74. data/lib/dtds/web-app_2_2.dtd +639 -0
  75. data/lib/dtds/web-app_2_3.dtd +1063 -0
  76. data/lib/dtds/web-jsptaglibrary_1_1.dtd +265 -0
  77. data/lib/dtds/web-jsptaglibrary_1_2.dtd +468 -0
  78. data/lib/package-appclient.xml +185 -0
  79. data/lib/processLauncher.properties +25 -0
  80. data/lib/processLauncher.xml +189 -0
  81. data/lib/schemas/XMLSchema.dtd +402 -0
  82. data/lib/schemas/application-client_1_4.xsd +267 -0
  83. data/lib/schemas/application-client_5.xsd +304 -0
  84. data/lib/schemas/application_1_4.xsd +315 -0
  85. data/lib/schemas/application_5.xsd +336 -0
  86. data/lib/schemas/connector_1_5.xsd +1036 -0
  87. data/lib/schemas/datatypes.dtd +203 -0
  88. data/lib/schemas/ejb-jar_2_1.xsd +2208 -0
  89. data/lib/schemas/ejb-jar_3_0.xsd +2706 -0
  90. data/lib/schemas/j2ee_1_4.xsd +1608 -0
  91. data/lib/schemas/j2ee_jaxrpc_mapping_1_1.xsd +886 -0
  92. data/lib/schemas/j2ee_web_services_1_1.xsd +491 -0
  93. data/lib/schemas/j2ee_web_services_client_1_1.xsd +345 -0
  94. data/lib/schemas/javaee_5.xsd +2096 -0
  95. data/lib/schemas/javaee_web_services_1_2.xsd +747 -0
  96. data/lib/schemas/javaee_web_services_client_1_2.xsd +578 -0
  97. data/lib/schemas/jax-rpc-ri-config.xsd +416 -0
  98. data/lib/schemas/jsp_2_0.xsd +308 -0
  99. data/lib/schemas/jsp_2_1.xsd +343 -0
  100. data/lib/schemas/orm_1_0.xsd +1516 -0
  101. data/lib/schemas/persistence_1_0.xsd +260 -0
  102. data/lib/schemas/web-app_2_4.xsd +1234 -0
  103. data/lib/schemas/web-app_2_5.xsd +1271 -0
  104. data/lib/schemas/web-jsptaglibrary_2_0.xsd +1010 -0
  105. data/lib/schemas/web-jsptaglibrary_2_1.xsd +1144 -0
  106. data/lib/schemas/xml.xsd +82 -0
  107. data/modules/admin-cli-10.0-SNAPSHOT.jar +0 -0
  108. data/modules/auto-depends-0.2-SNAPSHOT.jar +0 -0
  109. data/modules/cli-framework-10.0-SNAPSHOT.jar +0 -0
  110. data/modules/common-ee-util-10.0-SNAPSHOT.jar +0 -0
  111. data/modules/common-util-10.0-SNAPSHOT.jar +0 -0
  112. data/modules/config-0.2-SNAPSHOT.jar +0 -0
  113. data/modules/config-api-10.0-SNAPSHOT.jar +0 -0
  114. data/modules/gf-jruby-connector-10.0-SNAPSHOT.jar +0 -0
  115. data/modules/glassfish-10.0-SNAPSHOT.jar +0 -0
  116. data/modules/glassfish-api-10.0-SNAPSHOT.jar +0 -0
  117. data/modules/glassfish.rb +10 -0
  118. data/modules/grizzly-framework-1.7.1.jar +0 -0
  119. data/modules/grizzly-http-1.7.1.jar +0 -0
  120. data/modules/grizzly-http-utils-1.7.1.jar +0 -0
  121. data/modules/grizzly-jruby-1.7.0.jar +0 -0
  122. data/modules/grizzly-jruby-module-1.7.0.jar +0 -0
  123. data/modules/grizzly-module-1.7.1.jar +0 -0
  124. data/modules/grizzly-portunif-1.7.1.jar +0 -0
  125. data/modules/grizzly-rcm-1.7.1.jar +0 -0
  126. data/modules/hk2-0.2-SNAPSHOT.jar +0 -0
  127. data/modules/hk2-core-0.2-SNAPSHOT.jar +0 -0
  128. data/modules/junit-4.3.1.jar +0 -0
  129. data/modules/kernel-10.0-SNAPSHOT.jar +0 -0
  130. data/modules/persistence-api-1.0b.jar +0 -0
  131. data/modules/servlet-api-2.5.jar +0 -0
  132. data/modules/sjsxp-1.0.jar +0 -0
  133. data/modules/stax-api-1.0-2.jar +0 -0
  134. data/modules/tiger-types-1.0.jar +0 -0
  135. metadata +206 -0
@@ -0,0 +1,1113 @@
1
+ <!--
2
+ XML DTD for Sun Application Server specific EJB jar module
3
+ deployment descriptor. This is a companion DTD for ejb-jar_3_0.xsd
4
+
5
+ Copyright (c) 2004 by Sun Microsystems, Inc. All Rights Reserved.
6
+ -->
7
+
8
+ <!--
9
+ XML DTD for Sun Application Server specific Java EE ejb
10
+ deployment descriptor. This is a companion DTD to ejb-jar_3_0.xsd.
11
+
12
+ It must include a DOCTYPE of the following form:
13
+
14
+ <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 EJB 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd">
15
+
16
+ -->
17
+
18
+ <!--
19
+ This is the root element of the ejb module descriptor document.
20
+ -->
21
+ <!ELEMENT sun-ejb-jar (security-role-mapping*, enterprise-beans) >
22
+
23
+ <!--
24
+ System unique object id. Automatically generated and updated at deployment/redeployment
25
+ -->
26
+ <!ELEMENT unique-id (#PCDATA)>
27
+
28
+ <!--
29
+ This is the root element describing all the runtime of an ejb-jar in the application.
30
+ -->
31
+ <!ELEMENT enterprise-beans (name?, unique-id?, ejb*, pm-descriptors?, cmp-resource?,
32
+ message-destination*, webservice-description*)>
33
+
34
+ <!--
35
+ This is the element describing runtime bindings for a single ejb.
36
+
37
+ Properties applicable to all types of beans:
38
+ ejb-name, ejb-ref*, jndi-name, resource-ref*, resource-env-ref*, message-destination-ref*, pass-by-reference?,
39
+ ior-security-config?, gen-classes?, service-ref*
40
+
41
+ Additional properties applicable to a stateless session bean:
42
+ bean-pool, webservice-endpoint
43
+
44
+ Additional properties applicable to a stateful session bean:
45
+ bean-cache, webservice-endpoint, checkpointed-methods?, checkpoint-at-end-of-method?
46
+
47
+ Additional properties applicable to an entity bean:
48
+ is-read-only-bean?, refresh-period-in-seconds?, cmp?, commit-option?, bean-cache?, bean-pool?, flush-at-end-of-method?
49
+
50
+ Additional properties applicable to a message-driven bean:
51
+ mdb-resource-adapter?, mdb-connection-factory?, jms-durable-subscription-name?,
52
+ jms-max-messages-load?, bean-pool?
53
+ ( In case of MDB, jndi-name is the jndi name of the associated jms destination )
54
+ -->
55
+
56
+ <!ELEMENT ejb (ejb-name, jndi-name?, ejb-ref*, resource-ref*, resource-env-ref*, service-ref*, message-destination-ref*, pass-by-reference?,
57
+ cmp?, principal?, mdb-connection-factory?, jms-durable-subscription-name?,
58
+ jms-max-messages-load?, ior-security-config?, is-read-only-bean?,
59
+ refresh-period-in-seconds?, commit-option?, cmt-timeout-in-seconds?, use-thread-pool-id?, gen-classes?,
60
+ bean-pool?, bean-cache?, mdb-resource-adapter?, webservice-endpoint*, flush-at-end-of-method?, checkpointed-methods?, checkpoint-at-end-of-method?)>
61
+
62
+ <!--
63
+ This attribute is only applicable for stateful session bean
64
+ -->
65
+ <!ATTLIST ejb availability-enabled CDATA #IMPLIED>
66
+
67
+ <!--
68
+ The text in this element matches the ejb-name of the ejb to which it refers in ejb-jar.xml.
69
+
70
+ Used in ejb, method
71
+ -->
72
+ <!ELEMENT ejb-name (#PCDATA)>
73
+
74
+ <!--
75
+ The text in this element is a true/false flag for read only beans.
76
+ -->
77
+ <!ELEMENT is-read-only-bean (#PCDATA)>
78
+
79
+ <!--
80
+ This is the root element which binds an ejb reference to a jndi name.
81
+ It is used for both ejb remote reference and ejb local reference.
82
+ -->
83
+ <!ELEMENT ejb-ref (ejb-ref-name, jndi-name)>
84
+
85
+ <!--
86
+ The ejb ref name locates the name of the ejb reference in the application.
87
+ -->
88
+ <!ELEMENT ejb-ref-name (#PCDATA)>
89
+
90
+ <!--
91
+ This element describes runtime information for a CMP EntityBean object for
92
+ EJB1.1 and EJB2.0 beans.
93
+ -->
94
+ <!ELEMENT cmp (mapping-properties?, is-one-one-cmp?, one-one-finders?, prefetch-disabled?)>
95
+
96
+ <!--
97
+ This contains the location of the persistence vendor specific O/R mapping file
98
+ -->
99
+ <!ELEMENT mapping-properties (#PCDATA)>
100
+
101
+ <!--
102
+ This element in deprecated. It has been left in the DTD for validation purposes.
103
+ Any value will be ignored by the runtime.
104
+ -->
105
+ <!ELEMENT is-one-one-cmp (#PCDATA)>
106
+
107
+ <!--
108
+ This root element contains the finders for CMP 1.1.
109
+ -->
110
+ <!ELEMENT one-one-finders (finder+ )>
111
+
112
+ <!--
113
+ This element allows to selectively disable relationship prefetching for finders of a bean.
114
+ Used in: cmp
115
+ -->
116
+ <!ELEMENT prefetch-disabled (query-method+)>
117
+
118
+ <!--
119
+ Used in: prefetch-disabled
120
+ -->
121
+ <!ELEMENT query-method (method-name, method-params)>
122
+
123
+ <!--
124
+ This root element contains the finder for CMP 1.1 with a method-name and query parameters
125
+ -->
126
+ <!ELEMENT finder (method-name, query-params?, query-filter?, query-variables?, query-ordering?)>
127
+
128
+ <!--
129
+ The method-name element contains a name of an enterprise bean method
130
+ or the asterisk (*) character. The asterisk is used when the element
131
+ denotes all the methods of an enterprise bean's component and home
132
+ interfaces.
133
+
134
+ Used in: method, finder, query-method, java-method
135
+ -->
136
+ <!ELEMENT method-name (#PCDATA)>
137
+
138
+
139
+ <!--
140
+ This contains the query parameters for CMP 1.1 finder
141
+ -->
142
+ <!ELEMENT query-params (#PCDATA)>
143
+
144
+ <!--
145
+ This optional element contains the query filter for CMP 1.1 finder
146
+ -->
147
+ <!ELEMENT query-filter (#PCDATA)>
148
+
149
+ <!--
150
+ This optional element contains variables in query expression for CMP 1.1 finder
151
+ -->
152
+ <!ELEMENT query-variables (#PCDATA)>
153
+
154
+ <!--
155
+ This optional element contains the ordering specification for CMP 1.1 finder.
156
+ -->
157
+
158
+ <!ELEMENT query-ordering (#PCDATA)>
159
+
160
+ <!--
161
+ This element identifies the database and the policy for processing CMP beans
162
+ storage. The jndi-name element identifies either the persistence-manager-
163
+ factory-resource or the jdbc-resource as defined in the server configuration.
164
+ -->
165
+ <!ELEMENT cmp-resource (jndi-name, default-resource-principal?, property*,
166
+ create-tables-at-deploy?, drop-tables-at-undeploy?,
167
+ database-vendor-name?, schema-generator-properties?)>
168
+
169
+ <!--
170
+ This element contains the override properties for the schema generation
171
+ from CMP beans in this module.
172
+ -->
173
+ <!ELEMENT schema-generator-properties (property*) >
174
+
175
+ <!--
176
+ This element specifies whether automatic creation of tables for the CMP beans
177
+ is done at module deployment. Acceptable values are true or false
178
+ -->
179
+ <!ELEMENT create-tables-at-deploy ( #PCDATA )>
180
+
181
+ <!--
182
+ This element specifies whether automatic dropping of tables for the CMP beans
183
+ is done at module undeployment. Acceptabel values are true of false
184
+ -->
185
+ <!ELEMENT drop-tables-at-undeploy ( #PCDATA )>
186
+
187
+ <!--
188
+ This element specifies the database vendor name for ddl files generated at
189
+ module deployment. Default is SQL92.
190
+ -->
191
+ <!ELEMENT database-vendor-name ( #PCDATA )>
192
+
193
+ <!--
194
+ This element specifies the connection factory associated with a message-driven bean.
195
+ -->
196
+ <!ELEMENT mdb-connection-factory (jndi-name, default-resource-principal?)>
197
+
198
+ <!--
199
+ This node holds information about a logical message destination
200
+ -->
201
+ <!ELEMENT message-destination (message-destination-name, jndi-name)>
202
+
203
+ <!--
204
+ This node holds the name of a logical message destination
205
+ -->
206
+ <!ELEMENT message-destination-name (#PCDATA)>
207
+
208
+ <!--
209
+ message-destination-ref is used to directly bind a message destination reference
210
+ to the jndi-name of a Queue,Topic, or some other physical destination. It should
211
+ only be used when the corresponding message destination reference does not
212
+ specify a message-destination-link to a logical message-destination.
213
+ -->
214
+ <!ELEMENT message-destination-ref (message-destination-ref-name, jndi-name)>
215
+
216
+ <!--
217
+ name of a message-destination reference.
218
+ -->
219
+ <!ELEMENT message-destination-ref-name (#PCDATA)>
220
+
221
+ <!--
222
+ Specifies the name of a durable subscription associated with a message-driven bean's
223
+ destination. Required for a Topic destination, if subscription-durability is set to
224
+ Durable (in ejb-jar.xml)
225
+ -->
226
+ <!ELEMENT jms-durable-subscription-name (#PCDATA)>
227
+
228
+ <!--
229
+ A string value specifies the maximum number of messages to load into a JMS session
230
+ at one time for a message-driven bean to serve. If not specified, the default is 1.
231
+ -->
232
+ <!ELEMENT jms-max-messages-load (#PCDATA)>
233
+
234
+ <!--
235
+ This element contains all the generated class names for a bean.
236
+ -->
237
+ <!ELEMENT gen-classes ( remote-impl?, local-impl?, remote-home-impl?, local-home-impl? )>
238
+
239
+ <!--
240
+ This contains the fully qualified class name of the generated EJBObject impl class.
241
+ -->
242
+ <!ELEMENT remote-impl (#PCDATA)>
243
+
244
+ <!--
245
+ This contains the fully qualified class name of the generated EJBLocalObject impl class.
246
+ -->
247
+ <!ELEMENT local-impl (#PCDATA)>
248
+
249
+ <!--
250
+ This contains the fully qualified class name of the generated EJBHome impl class.
251
+ -->
252
+ <!ELEMENT remote-home-impl (#PCDATA)>
253
+
254
+ <!--
255
+ This contains the fully qualified class name of the generated EJBLocalHome impl class.
256
+ -->
257
+ <!ELEMENT local-home-impl (#PCDATA)>
258
+
259
+ <!--
260
+ This contains the bean cache properties. Used only for entity beans and stateful session beans
261
+ -->
262
+ <!ELEMENT bean-cache (max-cache-size?, resize-quantity?, is-cache-overflow-allowed?, cache-idle-timeout-in-seconds?, removal-timeout-in-seconds?, victim-selection-policy?)>
263
+
264
+ <!--
265
+ max-cache-size defines the maximum number of beans in the cache. Should be greater than 1.
266
+ Default is 512.
267
+ -->
268
+ <!ELEMENT max-cache-size (#PCDATA)>
269
+
270
+ <!--
271
+ is-cache-overflow-allowed is a boolean which indicates if the cache size is a hard limit or not.
272
+ Default is true i.e there is no hard limit. max-cache-size is a hint to the cache implementation.
273
+ -->
274
+ <!ELEMENT is-cache-overflow-allowed (#PCDATA)>
275
+
276
+ <!--
277
+ cache-idle-timeout-in-seconds specifies the maximum time that a stateful session bean or
278
+ entity bean is allowed to be idle in the cache. After this time, the bean is passivated
279
+ to backup store. This is a hint to server. Default value for cache-idle-timeout-in-seconds
280
+ is 600 seconds.
281
+ -->
282
+ <!ELEMENT cache-idle-timeout-in-seconds (#PCDATA)>
283
+
284
+
285
+ <!--
286
+ The amount of time that the bean remains passivated (i.e. idle in the backup store) is
287
+ controlled by removal-timeout-in-seconds parameter. Note that if a bean was not accessed beyond
288
+ removal-timeout-in-seconds, then it will be removed from the backup store and hence will not
289
+ be accessible to the client. The Default value for removal-timeout-in-seconds is 60min.
290
+ -->
291
+ <!ELEMENT removal-timeout-in-seconds (#PCDATA)>
292
+
293
+ <!--
294
+ victim-selection-policy specifies the algorithm to use to pick victims.
295
+ Possible values are FIFO | LRU | NRU. Default is NRU, which is actually
296
+ pseudo-random selection policy.
297
+ -->
298
+ <!ELEMENT victim-selection-policy (#PCDATA)>
299
+
300
+ <!--
301
+ Support backward compatibility with AS7.1
302
+ Now deprecated in 8.1 and later releases
303
+ Use checkpoint-at-end-of-method element instead
304
+
305
+ The methods should be separated by semicolons.
306
+ The param list should separated by commas.
307
+ All method param types should be full qualified.
308
+ Variable name is allowed for the param type.
309
+ No return type or exception type.
310
+ Example:
311
+ foo(java.lang.String, a.b.c d); bar(java.lang.String s)
312
+
313
+ Used in: ejb
314
+ -->
315
+ <!ELEMENT checkpointed-methods (#PCDATA)>
316
+
317
+ <!--
318
+ The equivalent element of checkpointed-methods for 8.1 and later releases
319
+
320
+ Used in: ejb
321
+ -->
322
+ <!ELEMENT checkpoint-at-end-of-method (method+)>
323
+
324
+ <!--
325
+ bean-pool is a root element containing the bean pool properties. Used
326
+ for stateless session bean, entity bean, and message-driven bean pools.
327
+ -->
328
+ <!ELEMENT bean-pool (steady-pool-size?, resize-quantity?, max-pool-size?, pool-idle-timeout-in-seconds?, max-wait-time-in-millis?)>
329
+
330
+ <!--
331
+ steady-pool-size specified the initial and minimum number of beans that must be maintained in the pool.
332
+ Valid values are from 0 to MAX_INTEGER.
333
+ -->
334
+ <!ELEMENT steady-pool-size (#PCDATA)>
335
+
336
+ <!--
337
+ resize-quantity specifies the number of beans to be created or deleted when the pool
338
+ or cache is being serviced by the server. Valid values are from 0 to MAX_INTEGER and
339
+ subject to maximum size limit). Default is 16.
340
+ -->
341
+ <!ELEMENT resize-quantity (#PCDATA)>
342
+
343
+ <!--
344
+ max-pool-size speifies the maximum pool size. Valid values are from 0 to MAX_INTEGER.
345
+ Default is 64.
346
+ -->
347
+ <!ELEMENT max-pool-size (#PCDATA)>
348
+
349
+ <!--
350
+ pool-idle-timeout-in-seconds specifies the maximum time that a stateless session bean or
351
+ message-driven bean is allowed to be idle in the pool. After this time, the bean is
352
+ passivated to backup store. This is a hint to server. Default value for
353
+ pool-idle-timeout-in-seconds is 600 seconds.
354
+ -->
355
+ <!ELEMENT pool-idle-timeout-in-seconds (#PCDATA)>
356
+
357
+ <!--
358
+ A string field whose valid values are either "B", or "C". Default is "B"
359
+ -->
360
+ <!ELEMENT commit-option (#PCDATA)>
361
+
362
+ <!--
363
+ Specifies the timeout for transactions started by the container. This value must be greater than zero, else it will be ignored by the container.
364
+ -->
365
+ <!ELEMENT cmt-timeout-in-seconds (#PCDATA)>
366
+
367
+ <!--
368
+ Specifes the thread pool that will be used to process any invocation on this ejb
369
+ -->
370
+ <!ELEMENT use-thread-pool-id (#PCDATA)>
371
+
372
+ <!--
373
+ Specifies the maximum time that the caller is willing to wait to get a bean from the pool.
374
+ Wait time is infinite, if the value specified is 0. Deprecated.
375
+ -->
376
+ <!ELEMENT max-wait-time-in-millis (#PCDATA)>
377
+
378
+ <!--
379
+ refresh-period-in-seconds specifies the rate at which the read-only-bean must be refreshed
380
+ from the data source. 0 (never refreshed) and positive (refreshed at specified intervals).
381
+ Specified value is a hint to the container. Default is 600 seconds.
382
+ -->
383
+ <!ELEMENT refresh-period-in-seconds (#PCDATA)>
384
+
385
+ <!--
386
+ Specifies the jndi name string.
387
+ -->
388
+ <!ELEMENT jndi-name (#PCDATA)>
389
+
390
+ <!--
391
+ This text nodes holds a name string.
392
+ -->
393
+ <!ELEMENT name (#PCDATA)>
394
+
395
+ <!--
396
+ This element holds password text.
397
+ -->
398
+ <!ELEMENT password (#PCDATA)>
399
+
400
+ <!--
401
+ This node describes a username on the platform.
402
+ -->
403
+ <!ELEMENT principal (name)>
404
+
405
+ <!--
406
+ security-role-mapping element maps the user principal or group
407
+ to a different principal on the server.
408
+ -->
409
+ <!ELEMENT security-role-mapping (role-name, (principal-name | group-name)+)>
410
+
411
+ <!--
412
+ role-name specifies an accepted role
413
+ -->
414
+ <!ELEMENT role-name (#PCDATA)>
415
+
416
+ <!--
417
+ principal-name specifies a valid principal
418
+ -->
419
+ <!ELEMENT principal-name (#PCDATA)>
420
+ <!ATTLIST principal-name class-name CDATA #IMPLIED>
421
+
422
+ <!--
423
+ group-name specifies a valid group name
424
+ -->
425
+ <!ELEMENT group-name (#PCDATA)>
426
+
427
+ <!--
428
+ The name of a resource reference.
429
+ -->
430
+ <!ELEMENT res-ref-name (#PCDATA)>
431
+
432
+ <!--
433
+ resource-env-ref holds all the runtime bindings of a resource env reference.
434
+ -->
435
+ <!ELEMENT resource-env-ref ( resource-env-ref-name, jndi-name )>
436
+
437
+ <!--
438
+ name of a resource env reference.
439
+ -->
440
+ <!ELEMENT resource-env-ref-name (#PCDATA)>
441
+
442
+ <!--
443
+ resource-ref node holds all the runtime bindings of a resource reference.
444
+ -->
445
+ <!ELEMENT resource-ref (res-ref-name, jndi-name, default-resource-principal?)>
446
+
447
+ <!--
448
+ user name and password to be used when none are specified while accesing a resource
449
+ -->
450
+ <!ELEMENT default-resource-principal ( name, password)>
451
+
452
+ <!--
453
+ ior-security-config element describes the security configuration information for the IOR.
454
+ -->
455
+ <!ELEMENT ior-security-config ( transport-config? , as-context?, sas-context? )>
456
+
457
+ <!--
458
+ transport-config is the root element for security between the end points
459
+ -->
460
+ <!ELEMENT transport-config ( integrity, confidentiality, establish-trust-in-target, establish-trust-in-client )>
461
+
462
+ <!--
463
+ integrity element indicates if the server (target) supports integrity protected messages.
464
+ The valid values are NONE, SUPPORTED or REQUIRED
465
+ -->
466
+ <!ELEMENT integrity ( #PCDATA)>
467
+
468
+ <!--
469
+ confidentiality element indicates if the server (target) supports privacy protected
470
+ messages. The values are NONE, SUPPORTED or REQUIRED
471
+ -->
472
+ <!ELEMENT confidentiality ( #PCDATA)>
473
+
474
+ <!--
475
+ establish-trust-in-target element indicates if the target is capable of authenticating to a client.
476
+ The values are NONE or SUPPORTED.
477
+ -->
478
+ <!ELEMENT establish-trust-in-target ( #PCDATA)>
479
+
480
+ <!--
481
+ establish-trust-in-client element indicates if the target is capable of authenticating a client. The
482
+ values are NONE, SUPPORTED or REQUIRED.
483
+ -->
484
+ <!ELEMENT establish-trust-in-client ( #PCDATA)>
485
+
486
+ <!--
487
+ as-context (CSIv2 authentication service) is the element describing the authentication
488
+ mechanism that will be used to authenticate the client. If specified it will be the
489
+ username-password mechanism.
490
+ -->
491
+ <!ELEMENT as-context ( auth-method, realm, required )>
492
+
493
+ <!--
494
+ required element specifies if the authentication method specified is required
495
+ to be used for client authentication. If so the EstablishTrustInClient bit
496
+ will be set in the target_requires field of the AS_Context. The element value
497
+ is either true or false.
498
+ -->
499
+ <!ELEMENT required ( #PCDATA )>
500
+
501
+ <!--
502
+ auth-method element describes the authentication method.
503
+ For CSIv2, the only supported value is USERNAME_PASSWORD.
504
+ For EJB web service endpoint, supported values are BASIC and CLIENT-CERT.
505
+ -->
506
+ <!ELEMENT auth-method ( #PCDATA )>
507
+
508
+ <!--
509
+ realm element describes the realm in which the user is authenticated. Must be
510
+ a valid realm that is registered in server configuration.
511
+ -->
512
+ <!ELEMENT realm ( #PCDATA )>
513
+
514
+ <!--
515
+ sas-context (related to CSIv2 security attribute service) element describes
516
+ the sas-context fields.
517
+ -->
518
+ <!ELEMENT sas-context ( caller-propagation )>
519
+
520
+ <!--
521
+ caller-propagation element indicates if the target will accept propagated caller identities
522
+ The values are NONE or SUPPORTED.
523
+ -->
524
+ <!ELEMENT caller-propagation ( #PCDATA) >
525
+
526
+ <!--
527
+ pass-by-reference elements controls use of Pass by Reference semantics.
528
+ EJB spec requires pass by value, which will be the default mode of operation.
529
+ This can be set to true for non-compliant operation and possibly higher
530
+ performance. For a stand-alone server, this can be used. By setting a similarly
531
+ named element at sun-application.xml, it can apply to all the enclosed ejb
532
+ modules. Allowed values are true and false. Default will be false.
533
+ -->
534
+ <!ELEMENT pass-by-reference (#PCDATA)>
535
+
536
+ <!--
537
+ PM descriptors contain one or more pm descriptors, but only one of them must
538
+ be in use at any given time. If not specified, the Sun CMP is used.
539
+ -->
540
+ <!ELEMENT pm-descriptors ( pm-descriptor+, pm-inuse)>
541
+
542
+ <!--
543
+ pm-descriptor describes the pluggable vendor implementation for the CMP
544
+ support of the CMP entity beans in this module.
545
+ -->
546
+ <!ELEMENT pm-descriptor ( pm-identifier, pm-version, pm-config?, pm-class-generator?, pm-mapping-factory?)>
547
+
548
+ <!--
549
+ pm-identifier element identifies the vendor who provides the CMP implementation
550
+ -->
551
+ <!ELEMENT pm-identifier (#PCDATA)>
552
+
553
+ <!--
554
+ pm-version further specifies which version of PM vendor product to be used
555
+ -->
556
+ <!ELEMENT pm-version (#PCDATA)>
557
+
558
+ <!--
559
+ pm-config specifies the vendor specific config file to be used
560
+ -->
561
+ <!ELEMENT pm-config (#PCDATA)>
562
+
563
+ <!--
564
+ pm-class-generator specifies the vendor specific class generator to be used
565
+ at the module deploymant time. This is the name of the class specific to this
566
+ vendor.
567
+ -->
568
+ <!ELEMENT pm-class-generator (#PCDATA)>
569
+
570
+ <!--
571
+ pm-mapping-factory specifies the vendor specific mapping factory
572
+ This is the name of the class specific to a vendor.
573
+ -->
574
+ <!ELEMENT pm-mapping-factory (#PCDATA)>
575
+
576
+ <!--
577
+ pm-inuse specifies which CMP vendor is used.
578
+ -->
579
+ <!ELEMENT pm-inuse (pm-identifier, pm-version)>
580
+
581
+
582
+ <!--
583
+ This holds the runtime configuration properties of the message-driven bean
584
+ in its operation environment. For example, this may include information
585
+ about the name of a physical JMS destination etc.
586
+ Defined this way to match the activation-config on the standard
587
+ deployment descriptor for message-driven bean.
588
+ -->
589
+ <!ELEMENT activation-config ( description?, activation-config-property+ ) >
590
+
591
+ <!--
592
+ provide an element description
593
+
594
+ Used in activation-config, method
595
+ -->
596
+ <!ELEMENT description (#PCDATA)>
597
+
598
+ <!--
599
+ This hold a particular activation config propery name-value pair
600
+ -->
601
+ <!ELEMENT activation-config-property (
602
+ activation-config-property-name, activation-config-property-value ) >
603
+
604
+ <!--
605
+ This holds the name of a runtime activation-config property
606
+ -->
607
+ <!ELEMENT activation-config-property-name ( #PCDATA ) >
608
+
609
+ <!--
610
+ This holds the value of a runtime activation-config property
611
+ -->
612
+ <!ELEMENT activation-config-property-value ( #PCDATA ) >
613
+
614
+ <!--
615
+ This node holds the module ID of the resource adapter that
616
+ is responsible for delivering messages to the message-driven
617
+ bean, as well as the runtime configuration information for
618
+ the mdb.
619
+ -->
620
+ <!ELEMENT mdb-resource-adapter ( resource-adapter-mid, activation-config? )>
621
+
622
+ <!--
623
+ This node holds the module ID of the resource adapter that is responsible
624
+ for delivering messages to the message-driven bean.
625
+ -->
626
+ <!ELEMENT resource-adapter-mid ( #PCDATA ) >
627
+
628
+ <!--
629
+ Generic name-value pairs property
630
+ -->
631
+ <!ELEMENT property ( name, value ) >
632
+
633
+ <!--
634
+ This text nodes holds a value string.
635
+ -->
636
+ <!ELEMENT value (#PCDATA)>
637
+
638
+ <!--
639
+ This declares the list of methods that would be allowed to be flushed at the
640
+ completion of the method. Applicable to entity beans with container managed
641
+ persistence
642
+
643
+ Used in: ejb
644
+ -->
645
+ <!ELEMENT flush-at-end-of-method (method+)>
646
+
647
+
648
+ <!--
649
+ Used in: flush-at-end-of-method, checkpoint-at-end-of-method, prefetch-disabled
650
+ -->
651
+ <!ELEMENT method (description?, ejb-name?, method-name, method-intf?, method-params?)>
652
+
653
+
654
+ <!--
655
+ The method-intf element allows a method element to differentiate
656
+ between the methods with the same name and signature that are multiply
657
+ defined across the component and home interfaces (e.g., in both an
658
+ enterprise bean's remote and local interfaces; in both an enterprise bean's
659
+ home and remote interfaces, etc.)
660
+
661
+ The method-intf element must be one of the following:
662
+ <method-intf>Home</method-intf>
663
+ <method-intf>Remote</method-intf>
664
+ <method-intf>LocalHome</method-intf>
665
+ <method-intf>Local</method-intf>
666
+
667
+ Used in: method
668
+ -->
669
+ <!ELEMENT method-intf (#PCDATA)>
670
+
671
+
672
+ <!--
673
+ The method-params element contains a list of the fully-qualified Java
674
+ type names of the method parameters.
675
+
676
+ Used in: method, query-method, java-method
677
+ -->
678
+ <!ELEMENT method-params (method-param*)>
679
+
680
+
681
+ <!--
682
+ The method-param element contains the fully-qualified Java type name
683
+ of a method parameter.
684
+
685
+ Used in: method-params
686
+ -->
687
+ <!ELEMENT method-param (#PCDATA)>
688
+
689
+
690
+ <!--
691
+ W E B S E R V I C E S
692
+ -->
693
+ <!--
694
+ Information about a web service endpoint.
695
+
696
+ The optional message-security-binding element is used to customize the
697
+ webservice-endpoint to provider binding; either by binding the
698
+ webservice-endpoint to a specific provider or by providing a
699
+ definition of the message security requirements to be enforced by the
700
+ provider.
701
+
702
+ When login-config is specified, a default message-security provider
703
+ is not applied to the endpoint.
704
+ -->
705
+ <!ELEMENT webservice-endpoint ( port-component-name, endpoint-address-uri?, (login-config | message-security-binding)?, transport-guarantee?, service-qname?, tie-class?, servlet-impl-class?, debugging-enabled? )>
706
+
707
+ <!--
708
+ Unique name of a port component within a module
709
+ -->
710
+ <!ELEMENT port-component-name ( #PCDATA )>
711
+
712
+ <!--
713
+ Relative path combined with web server root to form fully qualified
714
+ endpoint address for a web service endpoint. For servlet endpoints, this
715
+ value is relative to the servlet's web application context root. In
716
+ all cases, this value must be a fixed pattern(i.e. no "*" allowed).
717
+ If the web service endpoint is a servlet that only implements a single
718
+ endpoint has only one url-pattern, it is not necessary to set
719
+ this value since the container can derive it from web.xml.
720
+ -->
721
+ <!ELEMENT endpoint-address-uri ( #PCDATA )>
722
+
723
+ <!--
724
+ The name of tie implementation class for a port-component. This is
725
+ not specified by the deployer. It is derived during deployment.
726
+ -->
727
+ <!ELEMENT tie-class (#PCDATA)>
728
+
729
+ <!--
730
+ The service-qname element declares the specific WSDL service
731
+ element that is being refered to. It is not set by the deployer.
732
+ It is derived during deployment.
733
+ -->
734
+ <!ELEMENT service-qname (namespaceURI, localpart)>
735
+
736
+ <!--
737
+ The localpart element indicates the local part of a QNAME.
738
+ -->
739
+ <!ELEMENT localpart (#PCDATA)>
740
+
741
+ <!--
742
+ The namespaceURI element indicates a URI.
743
+ -->
744
+ <!ELEMENT namespaceURI (#PCDATA)>
745
+
746
+ <!--
747
+ Optional authentication configuration for an EJB web service endpoint.
748
+ Not needed for servet web service endpoints. Their security configuration
749
+ is contained in the standard web application descriptor.
750
+ -->
751
+ <!ELEMENT login-config ( auth-method, realm? )>
752
+
753
+ <!--
754
+ Name of application-written servlet impl class contained in deployed war.
755
+ This is not set by the deployer. It is derived by the container
756
+ during deployment.
757
+ -->
758
+ <!ELEMENT servlet-impl-class (#PCDATA)>
759
+
760
+ <!--
761
+ Specify whether or not the debugging servlet should be enabled for this
762
+ Web Service endpoint.
763
+
764
+ Supported values : "true" to debug the endpoint
765
+ -->
766
+ <!ELEMENT debugging-enabled (#PCDATA)>
767
+
768
+ <!--
769
+ Runtime settings for a web service reference. In the simplest case,
770
+ there is no runtime information required for a service ref. Runtime info
771
+ is only needed in the following cases :
772
+ * to define the port that should be used to resolve a container-managed port
773
+ * to define default Stub/Call property settings for Stub objects
774
+ * to define the URL of a final WSDL document to be used instead of
775
+ the one packaged with a service-ref
776
+ -->
777
+ <!ELEMENT service-ref ( service-ref-name, port-info*, call-property*, wsdl-override?, service-impl-class?, service-qname? )>
778
+
779
+ <!--
780
+ Coded name (relative to java:comp/env) for a service-reference
781
+ -->
782
+ <!ELEMENT service-ref-name ( #PCDATA )>
783
+
784
+ <!--
785
+ Name of generated service implementation class. This is not set by the
786
+ deployer. It is derived during deployment.
787
+ -->
788
+ <!ELEMENT service-impl-class ( #PCDATA )>
789
+
790
+ <!--
791
+ Information for a port within a service-reference.
792
+
793
+ Either service-endpoint-interface or wsdl-port or both
794
+ (service-endpoint-interface and wsdl-port) should be specified.
795
+
796
+ If both are specified, wsdl-port represents the
797
+ port the container should choose for container-managed port selection.
798
+
799
+ The same wsdl-port value must not appear in
800
+ more than one port-info entry within the same service-ref.
801
+
802
+ If a particular service-endpoint-interface is using container-managed port
803
+ selection, it must not appear in more than one port-info entry
804
+ within the same service-ref.
805
+
806
+ The optional message-security-binding element is used to customize the
807
+ port to provider binding; either by binding the port to a specific provider
808
+ or by providing a definition of the message security requirements to be
809
+ enforced by the provider.
810
+
811
+ -->
812
+ <!ELEMENT port-info ( service-endpoint-interface?, wsdl-port?, stub-property*, call-property*, message-security-binding? )>
813
+
814
+ <!--
815
+ Fully qualified name of service endpoint interface
816
+ -->
817
+ <!ELEMENT service-endpoint-interface ( #PCDATA )>
818
+
819
+ <!--
820
+ Specifies that the communication between client and server should
821
+ be NONE, INTEGRAL, or CONFIDENTIAL. NONE means that the application
822
+ does not require any transport guarantees. A value of INTEGRAL means
823
+ that the application requires that the data sent between the client
824
+ and server be sent in such a way that it can't be changed in transit.
825
+ CONFIDENTIAL means that the application requires that the data be
826
+ transmitted in a fashion that prevents other entities from observing
827
+ the contents of the transmission. In most cases, the presence of the
828
+ INTEGRAL or CONFIDENTIAL flag will indicate that the use of SSL is
829
+ required.
830
+ -->
831
+ <!ELEMENT transport-guarantee ( #PCDATA )>
832
+
833
+
834
+ <!--
835
+ Port used in port-info.
836
+ -->
837
+ <!ELEMENT wsdl-port ( namespaceURI, localpart )>
838
+
839
+ <!--
840
+ JAXRPC property values that should be set on a stub before it's returned to
841
+ to the web service client. The property names can be any properties supported
842
+ by the JAXRPC Stub implementation. See javadoc for javax.xml.rpc.Stub
843
+ -->
844
+ <!ELEMENT stub-property ( name, value )>
845
+
846
+ <!--
847
+ JAXRPC property values that should be set on a Call object before it's
848
+ returned to the web service client. The property names can be any
849
+ properties supported by the JAXRPC Call implementation. See javadoc
850
+ for javax.xml.rpc.Call
851
+ -->
852
+ <!ELEMENT call-property ( name, value )>
853
+
854
+ <!--
855
+ Runtime information about a web service.
856
+
857
+ wsdl-publish-location is optionally used to specify
858
+ where the final wsdl and any dependent files should be stored. This location
859
+ resides on the file system from which deployment is initiated.
860
+
861
+ -->
862
+ <!ELEMENT webservice-description ( webservice-description-name, wsdl-publish-location? )>
863
+
864
+ <!--
865
+ Unique name of a webservice within a module
866
+ -->
867
+ <!ELEMENT webservice-description-name ( #PCDATA )>
868
+
869
+ <!--
870
+ This is a valid URL pointing to a final WSDL document. It is optional.
871
+ If specified, the WSDL document at this URL will be used during
872
+ deployment instead of the WSDL document associated with the
873
+ service-ref in the standard deployment descriptor.
874
+
875
+ Examples :
876
+
877
+ // available via HTTP
878
+ <wsdl-override>http://localhost:8000/myservice/myport?WSDL</wsdl-override>
879
+
880
+ // in a file
881
+ <wsdl-override>file:/home/user1/myfinalwsdl.wsdl</wsdl-override>
882
+
883
+ -->
884
+ <!ELEMENT wsdl-override ( #PCDATA )>
885
+
886
+ <!--
887
+ file: URL of a directory to which a web-service-description's wsdl should be
888
+ published during deployment. Any required files will be published to this
889
+ directory, preserving their location relative to the module-specific
890
+ wsdl directory(META-INF/wsdl or WEB-INF/wsdl).
891
+
892
+ Example :
893
+
894
+ For an ejb.jar whose webservices.xml wsdl-file element contains
895
+ META-INF/wsdl/a/Foo.wsdl
896
+
897
+ <wsdl-publish-location>file:/home/user1/publish
898
+ </wsdl-publish-location>
899
+
900
+ The final wsdl will be stored in /home/user1/publish/a/Foo.wsdl
901
+
902
+ -->
903
+ <!ELEMENT wsdl-publish-location ( #PCDATA )>
904
+
905
+ <!--
906
+ The message-layer entity is used to define the value of the
907
+ auth-layer attribute of message-security-config elements.
908
+
909
+ Used in: message-security-config
910
+ -->
911
+ <!ENTITY % message-layer "(SOAP)">
912
+
913
+ <!--
914
+ The message-security-binding element is used to customize the
915
+ webservice-endpoint or port to provider binding; either by binding the
916
+ webservice-endpoint or port to a specific provider or by providing a
917
+ definition of the message security requirements to be enforced by the
918
+ provider.
919
+
920
+ These elements are typically NOT created as a result of the
921
+ deployment of an application. They need only be created when the
922
+ deployer or system administrator chooses to customize the
923
+ webservice-endpoint or port to provider binding.
924
+
925
+ The optional (repeating) message-security sub-element is used
926
+ to accomplish the latter; in which case the specified
927
+ message-security requirements override any defined with the
928
+ provider.
929
+
930
+ The auth-layer attribute identifies the message layer at which the
931
+ message-security requirements are to be enforced.
932
+
933
+ The optional provider-id attribute identifies the provider-config
934
+ and thus the authentication provider that is to be used to satisfy
935
+ the application specific message security requirements. If a value for
936
+ the provider-id attribute is not specified, and a default
937
+ provider is defined for the message layer, then it is used.
938
+ if a value for the provider-id attribute is not specified, and a
939
+ default provider is not defined at the layer, the authentication
940
+ requirements defined in the message-security-binding are not
941
+ enforced.
942
+
943
+ Default:
944
+ Used in: webservice-endpoint, port-info
945
+ -->
946
+ <!ELEMENT message-security-binding ( message-security* )>
947
+ <!ATTLIST message-security-binding
948
+ auth-layer %message-layer; #REQUIRED
949
+ provider-id CDATA #IMPLIED >
950
+
951
+ <!--
952
+ The message-security element describes message security requirements
953
+ that pertain to the request and response messages of the containing
954
+ endpoint, or port
955
+
956
+ When contained within a webservice-endpoint this element describes
957
+ the message security requirements that pertain to the request and
958
+ response messages of the containing endpoint. When contained within a
959
+ port-info of a service-ref this element describes the message security
960
+ requirements of the port of the referenced service.
961
+
962
+ The one or more contained message elements define the methods or operations
963
+ of the containing application, endpoint, or referenced service to which
964
+ the message security requirements apply.
965
+
966
+ Multiple message-security elements occur within a containing
967
+ element when it is necessary to define different message
968
+ security requirements for different messages within the encompassing
969
+ context. In such circumstances, the peer elements should not overlap
970
+ in the messages they pertain to. If there is any overlap in the
971
+ identified messages, no message security requirements apply to
972
+ the messages for which more than one message-security element apply.
973
+
974
+ Also, no message security requirements apply to any messages of
975
+ the encompassing context that are not identified by a message element.
976
+
977
+ Default:
978
+ Used in: webservice-endpoint, and port-info
979
+ -->
980
+ <!ELEMENT message-security ( message+, request-protection?, response-protection? )>
981
+
982
+ <!--
983
+ The message element identifies the methods or operations to which
984
+ the message security requirements apply.
985
+
986
+ The identified methods or operations are methods or operations of
987
+ the resource identified by the context in which the message-security
988
+ element is defined (e.g. the the resource identified by the
989
+ service-qname of the containing webservice-endpoint or service-ref).
990
+
991
+ An empty message element indicates that the security requirements
992
+ apply to all the methods or operations of the identified resource.
993
+
994
+ When operation-name is specified, the security
995
+ requirements defined in the containing message-security
996
+ element apply to all the operations of the endpoint
997
+ with the specified (and potentially overloaded) operation name.
998
+
999
+ Default:
1000
+ Used in: message-security
1001
+ -->
1002
+ <!ELEMENT message ( java-method? | operation-name? )>
1003
+
1004
+ <!--
1005
+ The java-method element is used to identify a method (or methods
1006
+ in the case of an overloaded method-name) of the java class
1007
+ indicated by the context in which the java-method is contained.
1008
+
1009
+ Default:
1010
+ Used in: message
1011
+ -->
1012
+ <!ELEMENT java-method ( method-name, method-params? )>
1013
+
1014
+ <!--
1015
+ The operation-name element is used to identify the WSDL name of an
1016
+ operation of a web service.
1017
+
1018
+ Default:
1019
+ Used in: message
1020
+ -->
1021
+ <!ELEMENT operation-name ( #PCDATA )>
1022
+
1023
+ <!--
1024
+ The request-protection element describes the authentication requirements
1025
+ that apply to a request.
1026
+
1027
+ The auth-source attribute defines a requirement for message layer
1028
+ sender authentication (e.g. username password) or content authentication
1029
+ (e.g. digital signature).
1030
+
1031
+ The auth-recipient attribute defines a requirement for message
1032
+ layer authentication of the reciever of a message to its sender (e.g. by
1033
+ XML encryption).
1034
+
1035
+ The before-content attribute value indicates that recipient
1036
+ authentication (e.g. encryption) is to occur before any
1037
+ content authentication (e.g. encrypt then sign) with respect
1038
+ to the target of the containing auth-policy.
1039
+
1040
+ An absent request-protection element is the recommended shorthand
1041
+ for a request-protection element with unspecified values for both the
1042
+ auth-source and auth-recipient attributes.
1043
+
1044
+ Default:
1045
+ Used in: message-security
1046
+
1047
+ * Expected evolution to support partial message protection:
1048
+ *
1049
+ * request-protection ( content-auth-policy* )
1050
+ *
1051
+ * If the request-protection element contains one or more
1052
+ * content-auth-policy sub-elements, they define the authentication
1053
+ * requirements to be applied to the identified request content. If multiple
1054
+ * content-auth-policy sub-elements are defined, a request sender must
1055
+ * satisfy the requirements independently, and in the specified order.
1056
+ *
1057
+ * The content-auth-policy element would be used to associate authentication
1058
+ * requirements with the parts of the request or response object identified
1059
+ * by the contained method-params or part-name-list sub-elements.
1060
+ *
1061
+ * The content-auth-policy element would be defined as follows:
1062
+ *
1063
+ * content-auth-policy ( method-params | part-name-list )
1064
+ * ATTLIST content-auth-policy
1065
+ * auth-source (sender | content) #IMPLIED
1066
+ * auth-recipient (before-content | after-content) #IMPLIED
1067
+ *
1068
+ * The part-name-list and part-name elements would be defined as follows:
1069
+ *
1070
+ * part-name-list ( part-name* )
1071
+ * part-name ( #PCDATA )
1072
+ *
1073
+ -->
1074
+ <!ELEMENT request-protection EMPTY >
1075
+ <!ATTLIST request-protection
1076
+ auth-source (sender | content) #IMPLIED
1077
+ auth-recipient (before-content | after-content) #IMPLIED>
1078
+
1079
+ <!--
1080
+ The response-protection element describes the authentication requirements
1081
+ that apply to a response.
1082
+
1083
+ The auth-source attribute defines a requirement for message layer
1084
+ sender authentication (e.g. username password) or content authentication
1085
+ (e.g. digital signature).
1086
+
1087
+ The auth-recipient attribute defines a requirement for message
1088
+ layer authentication of the reciever of a message to its sender (e.g. by
1089
+ XML encryption).
1090
+
1091
+ The before-content attribute value indicates that recipient
1092
+ authentication (e.g. encryption) is to occur before any
1093
+ content authentication (e.g. encrypt then sign) with respect
1094
+ to the target of the containing auth-policy.
1095
+
1096
+ An absent response-protection element is the recommended shorthand
1097
+ for a request-protection element with unspecified values for both the
1098
+ auth-source and auth-recipient attributes.
1099
+
1100
+ Default:
1101
+ Used in: message-security
1102
+
1103
+ * Expected evolution to support partial message protection:
1104
+ *
1105
+ * response-protection ( content-auth-policy* )
1106
+ *
1107
+ * see request-protection element for more details
1108
+ *
1109
+ -->
1110
+ <!ELEMENT response-protection EMPTY >
1111
+ <!ATTLIST response-protection
1112
+ auth-source (sender | content) #IMPLIED
1113
+ auth-recipient (before-content | after-content) #IMPLIED>