ibm-common-bnd_1_1.xsd 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema targetNamespace="http://websphere.ibm.com/xml/ns/javaee"
  3. xmlns="http://websphere.ibm.com/xml/ns/javaee"
  4. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  5. elementFormDefault="qualified" attributeFormDefault="unqualified"
  6. version="1.1">
  7. <!-- ******************************************************* -->
  8. <xsd:annotation>
  9. <xsd:documentation>
  10. Copyright (c) 2010 IBM Corporation and others.
  11. All rights reserved. This program and the accompanying materials
  12. are made available under the terms of the Eclipse Public License v1.0
  13. which accompanies this distribution, and is available at
  14. http://www.eclipse.org/legal/epl-v10.html
  15. Contributors:
  16. IBM Corporation - initial API and implementation
  17. </xsd:documentation>
  18. </xsd:annotation>
  19. <!-- ******************************************************* -->
  20. <xsd:complexType name="data-sourceType">
  21. <xsd:annotation>
  22. <xsd:documentation>
  23. Specifies the binding for a data source.
  24. The name attribute specfies the name of the data-source,
  25. while the binding name specifies the binding (jndi) name for the data source.
  26. </xsd:documentation>
  27. </xsd:annotation>
  28. <xsd:attribute name="name" type="xsd:string" use="required" />
  29. <xsd:attribute name="binding-name" type="xsd:string" use="required" />
  30. <xsd:attribute name="id" type="xsd:ID"/>
  31. </xsd:complexType>
  32. <xsd:complexType name="env-entryType">
  33. <xsd:annotation>
  34. <xsd:documentation>
  35. Specifies the value or binding for a env-entry.
  36. The name attribute specfies the name of the env-entry.
  37. The value attribute specifies the value of the env-entry,
  38. while the binding name specifies the binding (jndi) name for the env-entry.
  39. The env-entry attributes 'value' and 'binding-name' can only have 1 or the other, but must have 1 of them.
  40. </xsd:documentation>
  41. </xsd:annotation>
  42. <xsd:attribute name="name" type="xsd:string" use="required" />
  43. <xsd:attribute name="value" type="xsd:string"/>
  44. <xsd:attribute name="binding-name" type="xsd:string" />
  45. <xsd:attribute name="id" type="xsd:ID"/>
  46. </xsd:complexType>
  47. <xsd:complexType name="ejb-refType">
  48. <xsd:annotation>
  49. <xsd:documentation>
  50. Specifies the binding for an ejb-ref or ejb-local-ref.
  51. The name attribute specfies the name of the ejb-ref or the ejb-local-ref,
  52. while the binding name specifies the binding (jndi) name for the target
  53. of the reference.
  54. </xsd:documentation>
  55. </xsd:annotation>
  56. <xsd:attribute name="name" type="xsd:string" use="required" />
  57. <xsd:attribute name="binding-name" type="xsd:string" use="required" />
  58. <xsd:attribute name="id" type="xsd:ID"/>
  59. </xsd:complexType>
  60. <!-- ******************************************************* -->
  61. <xsd:complexType name="resource-refType">
  62. <xsd:annotation>
  63. <xsd:documentation>
  64. Specifies the binding for a resource-ref.
  65. The name attribute specfies the name of the resource-ref, while the binding
  66. name specifies the binding (jndi) name for the target of the reference.
  67. If the resource reference is for a connection factory, then an optional
  68. JAAS login configuration may be specified. The authentication element
  69. allows the specification of a simple authentication alias as the JAAS
  70. login configuration, while custom-login-configuration allows a more complex
  71. JAAS login configuration to be specified.
  72. </xsd:documentation>
  73. </xsd:annotation>
  74. <xsd:sequence>
  75. <xsd:choice minOccurs="0" maxOccurs="1">
  76. <xsd:element name="authentication-alias" type="authentication-aliasType" />
  77. <xsd:element name="custom-login-configuration" type="custom-login-configurationType" />
  78. </xsd:choice>
  79. <!-- Default-auth is for backward compatibility and should not be used. -->
  80. <xsd:element name="default-auth" minOccurs="0" maxOccurs="1">
  81. <xsd:complexType>
  82. <xsd:attribute name="userid" type="xsd:string"/>
  83. <xsd:attribute name="password" type="xsd:string" />
  84. </xsd:complexType>
  85. </xsd:element>
  86. </xsd:sequence>
  87. <xsd:attribute name="name" type="xsd:string" use="required" />
  88. <xsd:attribute name="binding-name" type="xsd:string" use="required" />
  89. <xsd:attribute name="id" type="xsd:ID"/>
  90. </xsd:complexType>
  91. <!-- ******************************************************* -->
  92. <xsd:complexType name="resource-env-refType">
  93. <xsd:annotation>
  94. <xsd:documentation>
  95. Specifies the binding for a resource-env-ref.
  96. The name attribute specfies the name of the resource-env-ref,
  97. while the binding name specifies the binding (jndi) name for the target
  98. of the reference.
  99. </xsd:documentation>
  100. </xsd:annotation>
  101. <xsd:attribute name="name" type="xsd:string" use="required" />
  102. <xsd:attribute name="binding-name" type="xsd:string" use="required" />
  103. <xsd:attribute name="id" type="xsd:ID"/>
  104. </xsd:complexType>
  105. <!-- ******************************************************* -->
  106. <xsd:complexType name="message-destination-refType">
  107. <xsd:annotation>
  108. <xsd:documentation>
  109. Specifies the binding for a message-destination-ref.
  110. The name attribute specfies the name of the message-destination-ref,
  111. while the binding name specifies the binding (jndi) name for the target
  112. of the reference.
  113. </xsd:documentation>
  114. </xsd:annotation>
  115. <xsd:attribute name="name" type="xsd:string" use="required" />
  116. <xsd:attribute name="binding-name" type="xsd:string" use="required" />
  117. <xsd:attribute name="id" type="xsd:ID"/>
  118. </xsd:complexType>
  119. <!-- ******************************************************* -->
  120. <xsd:complexType name="custom-login-configurationType">
  121. <xsd:annotation>
  122. <xsd:documentation>
  123. Specifies a custom login configuration.
  124. The name attribute specifies the name of the custom login configuration,
  125. The login configuration is defined by a set of properties (name/value pairs).
  126. </xsd:documentation>
  127. </xsd:annotation>
  128. <xsd:sequence>
  129. <xsd:element name="property" type= "propertyType" minOccurs="0" maxOccurs="unbounded" />
  130. </xsd:sequence>
  131. <xsd:attribute name="name" type="xsd:string" use="required" />
  132. <xsd:attribute name="id" type="xsd:ID"/>
  133. </xsd:complexType>
  134. <!-- ******************************************************* -->
  135. <xsd:complexType name="authentication-aliasType">
  136. <xsd:attribute name="name" type="xsd:string" use="required" />
  137. <xsd:attribute name="id" type="xsd:ID"/>
  138. </xsd:complexType>
  139. <!-- ******************************************************* -->
  140. <xsd:complexType name="propertyType">
  141. <xsd:attribute name="name" type="xsd:string" use="required" />
  142. <xsd:attribute name="value" type="xsd:string" use="required" />
  143. <xsd:attribute name="description" type="xsd:string" />
  144. <xsd:attribute name="id" type="xsd:ID"/>
  145. </xsd:complexType>
  146. <!-- ******************************************************* -->
  147. <xsd:group name="ref-bindingsGroup">
  148. <xsd:sequence>
  149. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  150. <xsd:element name="ejb-ref" type="ejb-refType" />
  151. <xsd:element name="resource-ref" type="resource-refType" />
  152. <xsd:element name="resource-env-ref" type="resource-env-refType" />
  153. <xsd:element name="message-destination-ref" type="message-destination-refType" />
  154. </xsd:choice>
  155. </xsd:sequence>
  156. </xsd:group>
  157. <!-- ******************************************************* -->
  158. <xsd:complexType name="message-destinationType">
  159. <xsd:annotation>
  160. <xsd:documentation>
  161. Specifies the binding for an message-destination. The name attribute
  162. identifies the message destination to which the binding applies. The
  163. binding-name attribute specifies the jndi name to be associated with
  164. the message destination.
  165. </xsd:documentation>
  166. </xsd:annotation>
  167. <xsd:attribute name="id" type="xsd:ID"/>
  168. <xsd:attribute name="name" type="xsd:string" use="required" />
  169. <xsd:attribute name="binding-name" type="xsd:string" use="required" />
  170. </xsd:complexType>
  171. <!-- ******************************************************* -->
  172. <xsd:complexType name="interceptorType">
  173. <xsd:annotation>
  174. <xsd:documentation>
  175. Specifies the binding for an interceptor. The class
  176. attribute specifies the fully qualified name of the interceptor.
  177. </xsd:documentation>
  178. </xsd:annotation>
  179. <xsd:sequence>
  180. <xsd:group ref="ref-bindingsGroup"/>
  181. </xsd:sequence>
  182. <xsd:attribute name="id" type="xsd:ID"/>
  183. <xsd:attribute name="class" type="xsd:string" use="required" />
  184. </xsd:complexType>
  185. <!-- ******************************************************* -->
  186. <xsd:complexType name="jaspi-refType">
  187. <xsd:annotation>
  188. <xsd:documentation> Specifies the binding for a JASPI provider.
  189. The provider-name attribute specifies the name of the JASPI authentication provider to be
  190. used for the given application or web module. The provider name must correspond to the
  191. name of a JASPI authentication provider that is defined in the security configuration.
  192. The use-jaspi attribute specifies whether or not JASPI authentication should be used for the
  193. given application or web module. The three value options are yes, no, and inherit. By default,
  194. the application inherits the JASPI settings in the security configuration, and all web modules
  195. inherit the JASPI settings in the application. </xsd:documentation>
  196. </xsd:annotation>
  197. <xsd:attribute name="provider-name" type="xsd:string"></xsd:attribute>
  198. <xsd:attribute name="use-jaspi" default="inherit">
  199. <xsd:simpleType>
  200. <xsd:restriction base="xsd:string">
  201. <xsd:enumeration value="yes"></xsd:enumeration>
  202. <xsd:enumeration value="no"></xsd:enumeration>
  203. <xsd:enumeration value="inherit"></xsd:enumeration>
  204. </xsd:restriction>
  205. </xsd:simpleType>
  206. </xsd:attribute>
  207. <xsd:attribute name="id" type="xsd:ID"></xsd:attribute>
  208. </xsd:complexType>
  209. </xsd:schema>