Blame SOURCES/web-app_2_4.xsd

fd6af7
fd6af7
fd6af7
 Licensed to the Apache Software Foundation (ASF) under one or more
fd6af7
  contributor license agreements.  See the NOTICE file distributed with
fd6af7
  this work for additional information regarding copyright ownership.
fd6af7
  The ASF licenses this file to You under the Apache License, Version 2.0
fd6af7
  (the "License"); you may not use this file except in compliance with
fd6af7
  the License.  You may obtain a copy of the License at
fd6af7
fd6af7
      http://www.apache.org/licenses/LICENSE-2.0
fd6af7
fd6af7
  Unless required by applicable law or agreed to in writing, software
fd6af7
  distributed under the License is distributed on an "AS IS" BASIS,
fd6af7
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
fd6af7
  See the License for the specific language governing permissions and
fd6af7
  limitations under the License.
fd6af7
-->
fd6af7
fd6af7
            targetNamespace="http://java.sun.com/xml/ns/j2ee"
fd6af7
            xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
fd6af7
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
fd6af7
            elementFormDefault="qualified"
fd6af7
            attributeFormDefault="unqualified"
fd6af7
            version="2.4">
fd6af7
  <xsd:annotation>
fd6af7
    <xsd:documentation>
fd6af7
      %W% %E%
fd6af7
    </xsd:documentation>
fd6af7
  </xsd:annotation>
fd6af7
fd6af7
  <xsd:annotation>
fd6af7
    <xsd:documentation>
fd6af7
      
fd6af7
fd6af7
        This is the XML Schema for the Servlet 2.4 deployment descriptor.
fd6af7
        The deployment descriptor must be named "WEB-INF/web.xml" in the
fd6af7
        web application's war file.  All Servlet deployment descriptors
fd6af7
        must indicate the web application schema by using the J2EE
fd6af7
        namespace:
fd6af7
fd6af7
        http://java.sun.com/xml/ns/j2ee
fd6af7
fd6af7
        and by indicating the version of the schema by
fd6af7
        using the version element as shown below:
fd6af7
fd6af7
            
fd6af7
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
fd6af7
              xsi:schemaLocation="..."
fd6af7
              version="2.4">
fd6af7
              ...
fd6af7
            </web-app>
fd6af7
fd6af7
        The instance documents may indicate the published version of
fd6af7
        the schema using the xsi:schemaLocation attribute for J2EE
fd6af7
        namespace with the following location:
fd6af7
fd6af7
        http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
fd6af7
fd6af7
        ]]>
fd6af7
    </xsd:documentation>
fd6af7
  </xsd:annotation>
fd6af7
fd6af7
  <xsd:annotation>
fd6af7
    <xsd:documentation>
fd6af7
fd6af7
      The following conventions apply to all J2EE
fd6af7
      deployment descriptor elements unless indicated otherwise.
fd6af7
fd6af7
      - In elements that specify a pathname to a file within the
fd6af7
        same JAR file, relative filenames (i.e., those not
fd6af7
        starting with "/") are considered relative to the root of
fd6af7
        the JAR file's namespace.  Absolute filenames (i.e., those
fd6af7
        starting with "/") also specify names in the root of the
fd6af7
        JAR file's namespace.  In general, relative names are
fd6af7
        preferred.  The exception is .war files where absolute
fd6af7
        names are preferred for consistency with the Servlet API.
fd6af7
fd6af7
    </xsd:documentation>
fd6af7
  </xsd:annotation>
fd6af7
fd6af7
  <xsd:include schemaLocation="j2ee_1_4.xsd"/>
fd6af7
  <xsd:include schemaLocation="jsp_2_0.xsd"/>
fd6af7
fd6af7
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:element name="web-app" type="j2ee:web-appType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The web-app element is the root of the deployment
fd6af7
        descriptor for a web application.  Note that the sub-elements
fd6af7
        of this element can be in the arbitrary order. Because of
fd6af7
        that, the multiplicity of the elements of distributable,
fd6af7
        session-config, welcome-file-list, jsp-config, login-config,
fd6af7
        and locale-encoding-mapping-list was changed from "?" to "*"
fd6af7
        in this schema.  However, the deployment descriptor instance
fd6af7
        file must not contain multiple elements of session-config,
fd6af7
        jsp-config, and login-config. When there are multiple elements of
fd6af7
        welcome-file-list or locale-encoding-mapping-list, the container
fd6af7
        must concatenate the element contents.  The multiple occurrence
fd6af7
        of the element distributable is redundant and the container
fd6af7
        treats that case exactly in the same way when there is only
fd6af7
        one distributable.
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:unique name="web-app-servlet-name-uniqueness">
fd6af7
      <xsd:annotation>
fd6af7
        <xsd:documentation>
fd6af7
fd6af7
          The servlet element contains the name of a servlet.
fd6af7
          The name must be unique within the web application.
fd6af7
fd6af7
        </xsd:documentation>
fd6af7
      </xsd:annotation>
fd6af7
      <xsd:selector xpath="j2ee:servlet"/>
fd6af7
      <xsd:field    xpath="j2ee:servlet-name"/>
fd6af7
    </xsd:unique>
fd6af7
fd6af7
    <xsd:unique name="web-app-filter-name-uniqueness">
fd6af7
      <xsd:annotation>
fd6af7
        <xsd:documentation>
fd6af7
fd6af7
          The filter element contains the name of a filter.
fd6af7
          The name must be unique within the web application.
fd6af7
fd6af7
        </xsd:documentation>
fd6af7
      </xsd:annotation>
fd6af7
      <xsd:selector xpath="j2ee:filter"/>
fd6af7
      <xsd:field    xpath="j2ee:filter-name"/>
fd6af7
    </xsd:unique>
fd6af7
fd6af7
    <xsd:unique name="web-app-ejb-local-ref-name-uniqueness">
fd6af7
      <xsd:annotation>
fd6af7
        <xsd:documentation>
fd6af7
fd6af7
          The ejb-local-ref-name element contains the name of an EJB
fd6af7
          reference. The EJB reference is an entry in the web
fd6af7
          application's environment and is relative to the
fd6af7
          java:comp/env context.  The name must be unique within
fd6af7
          the web application.
fd6af7
fd6af7
          It is recommended that name is prefixed with "ejb/".
fd6af7
fd6af7
        </xsd:documentation>
fd6af7
      </xsd:annotation>
fd6af7
      <xsd:selector xpath="j2ee:ejb-local-ref"/>
fd6af7
      <xsd:field    xpath="j2ee:ejb-ref-name"/>
fd6af7
    </xsd:unique>
fd6af7
fd6af7
    <xsd:unique name="web-app-ejb-ref-name-uniqueness">
fd6af7
      <xsd:annotation>
fd6af7
        <xsd:documentation>
fd6af7
fd6af7
          The ejb-ref-name element contains the name of an EJB
fd6af7
          reference. The EJB reference is an entry in the web
fd6af7
          application's environment and is relative to the
fd6af7
          java:comp/env context.  The name must be unique within
fd6af7
          the web application.
fd6af7
fd6af7
          It is recommended that name is prefixed with "ejb/".
fd6af7
fd6af7
        </xsd:documentation>
fd6af7
      </xsd:annotation>
fd6af7
      <xsd:selector xpath="j2ee:ejb-ref"/>
fd6af7
      <xsd:field    xpath="j2ee:ejb-ref-name"/>
fd6af7
    </xsd:unique>
fd6af7
fd6af7
    <xsd:unique name="web-app-resource-env-ref-uniqueness">
fd6af7
      <xsd:annotation>
fd6af7
        <xsd:documentation>
fd6af7
fd6af7
          The resource-env-ref-name element specifies the name of
fd6af7
          a resource environment reference; its value is the
fd6af7
          environment entry name used in the web application code.
fd6af7
          The name is a JNDI name relative to the java:comp/env
fd6af7
          context and must be unique within a web application.
fd6af7
fd6af7
        </xsd:documentation>
fd6af7
      </xsd:annotation>
fd6af7
      <xsd:selector xpath="j2ee:resource-env-ref"/>
fd6af7
      <xsd:field    xpath="j2ee:resource-env-ref-name"/>
fd6af7
    </xsd:unique>
fd6af7
fd6af7
    <xsd:unique name="web-app-message-destination-ref-uniqueness">
fd6af7
      <xsd:annotation>
fd6af7
        <xsd:documentation>
fd6af7
fd6af7
          The message-destination-ref-name element specifies the name of
fd6af7
          a message destination reference; its value is the
fd6af7
          environment entry name used in the web application code.
fd6af7
          The name is a JNDI name relative to the java:comp/env
fd6af7
          context and must be unique within a web application.
fd6af7
fd6af7
        </xsd:documentation>
fd6af7
      </xsd:annotation>
fd6af7
      <xsd:selector xpath="j2ee:message-destination-ref"/>
fd6af7
      <xsd:field    xpath="j2ee:message-destination-ref-name"/>
fd6af7
    </xsd:unique>
fd6af7
fd6af7
    <xsd:unique name="web-app-res-ref-name-uniqueness">
fd6af7
      <xsd:annotation>
fd6af7
        <xsd:documentation>
fd6af7
fd6af7
          The res-ref-name element specifies the name of a
fd6af7
          resource manager connection factory reference.  The name
fd6af7
          is a JNDI name relative to the java:comp/env context.
fd6af7
          The name must be unique within a web application.
fd6af7
fd6af7
        </xsd:documentation>
fd6af7
      </xsd:annotation>
fd6af7
      <xsd:selector xpath="j2ee:resource-ref"/>
fd6af7
      <xsd:field    xpath="j2ee:res-ref-name"/>
fd6af7
    </xsd:unique>
fd6af7
fd6af7
    <xsd:unique name="web-app-env-entry-name-uniqueness">
fd6af7
      <xsd:annotation>
fd6af7
        <xsd:documentation>
fd6af7
fd6af7
          The env-entry-name element contains the name of a web
fd6af7
          application's environment entry.  The name is a JNDI
fd6af7
          name relative to the java:comp/env context.  The name
fd6af7
          must be unique within a web application.
fd6af7
fd6af7
        </xsd:documentation>
fd6af7
      </xsd:annotation>
fd6af7
fd6af7
      <xsd:selector xpath="j2ee:env-entry"/>
fd6af7
      <xsd:field    xpath="j2ee:env-entry-name"/>
fd6af7
    </xsd:unique>
fd6af7
fd6af7
    <xsd:key name="web-app-role-name-key">
fd6af7
      <xsd:annotation>
fd6af7
        <xsd:documentation>
fd6af7
fd6af7
          A role-name-key is specified to allow the references
fd6af7
          from the security-role-refs.
fd6af7
fd6af7
        </xsd:documentation>
fd6af7
      </xsd:annotation>
fd6af7
      <xsd:selector xpath="j2ee:security-role"/>
fd6af7
      <xsd:field    xpath="j2ee:role-name"/>
fd6af7
    </xsd:key>
fd6af7
fd6af7
    
fd6af7
                refer="j2ee:web-app-role-name-key">
fd6af7
      <xsd:annotation>
fd6af7
        <xsd:documentation>
fd6af7
fd6af7
          The keyref indicates the references from
fd6af7
          security-role-ref to a specified role-name.
fd6af7
fd6af7
        </xsd:documentation>
fd6af7
      </xsd:annotation>
fd6af7
      <xsd:selector xpath="j2ee:servlet/j2ee:security-role-ref"/>
fd6af7
      <xsd:field    xpath="j2ee:role-link"/>
fd6af7
    </xsd:keyref>
fd6af7
  </xsd:element>
fd6af7
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="auth-constraintType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The auth-constraintType indicates the user roles that
fd6af7
        should be permitted access to this resource
fd6af7
        collection. The role-name used here must either correspond
fd6af7
        to the role-name of one of the security-role elements
fd6af7
        defined for this web application, or be the specially
fd6af7
        reserved role-name "*" that is a compact syntax for
fd6af7
        indicating all roles in the web application. If both "*"
fd6af7
        and rolenames appear, the container interprets this as all
fd6af7
        roles.  If no roles are defined, no user is allowed access
fd6af7
        to the portion of the web application described by the
fd6af7
        containing security-constraint.  The container matches
fd6af7
        role names case sensitively when determining access.
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      
fd6af7
                   type="j2ee:descriptionType"
fd6af7
                   minOccurs="0" maxOccurs="unbounded"/>
fd6af7
      
fd6af7
                   type="j2ee:role-nameType"
fd6af7
                   minOccurs="0" maxOccurs="unbounded"/>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="auth-methodType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The auth-methodType is used to configure the authentication
fd6af7
        mechanism for the web application. As a prerequisite to
fd6af7
        gaining access to any web resources which are protected by
fd6af7
        an authorization constraint, a user must have authenticated
fd6af7
        using the configured mechanism. Legal values are "BASIC",
fd6af7
        "DIGEST", "FORM", "CLIENT-CERT", or a vendor-specific
fd6af7
        authentication scheme.
fd6af7
fd6af7
        Used in: login-config
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:simpleContent>
fd6af7
      <xsd:restriction base="j2ee:string"/>
fd6af7
    </xsd:simpleContent>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="dispatcherType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The dispatcher has four legal values: FORWARD, REQUEST, INCLUDE,
fd6af7
        and ERROR. A value of FORWARD means the Filter will be applied
fd6af7
        under RequestDispatcher.forward() calls.  A value of REQUEST
fd6af7
        means the Filter will be applied under ordinary client calls to
fd6af7
        the path or servlet. A value of INCLUDE means the Filter will be
fd6af7
        applied under RequestDispatcher.include() calls.  A value of
fd6af7
        ERROR means the Filter will be applied under the error page
fd6af7
        mechanism.  The absence of any dispatcher elements in a
fd6af7
        filter-mapping indicates a default of applying filters only under
fd6af7
        ordinary client calls to the path or servlet.
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:simpleContent>
fd6af7
      <xsd:restriction base="j2ee:string">
fd6af7
        <xsd:enumeration value="FORWARD"/>
fd6af7
        <xsd:enumeration value="INCLUDE"/>
fd6af7
        <xsd:enumeration value="REQUEST"/>
fd6af7
        <xsd:enumeration value="ERROR"/>
fd6af7
      </xsd:restriction>
fd6af7
    </xsd:simpleContent>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:simpleType name="encodingType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The encodingType defines IANA character sets.
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:restriction base="xsd:string">
fd6af7
      <xsd:pattern value="[^\s]+"/>
fd6af7
    </xsd:restriction>
fd6af7
  </xsd:simpleType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="error-codeType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The error-code contains an HTTP error code, ex: 404
fd6af7
fd6af7
        Used in: error-page
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:simpleContent>
fd6af7
      <xsd:restriction base="j2ee:xsdPositiveIntegerType">
fd6af7
        <xsd:pattern value="\d{3}"/>
fd6af7
        <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
      </xsd:restriction>
fd6af7
    </xsd:simpleContent>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="error-pageType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The error-pageType contains a mapping between an error code
fd6af7
        or exception type to the path of a resource in the web
fd6af7
        application.
fd6af7
fd6af7
        Used in: web-app
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      <xsd:choice>
fd6af7
        
fd6af7
                     type="j2ee:error-codeType"/>
fd6af7
fd6af7
        
fd6af7
                     type="j2ee:fully-qualified-classType">
fd6af7
          <xsd:annotation>
fd6af7
            <xsd:documentation>
fd6af7
fd6af7
              The exception-type contains a fully qualified class
fd6af7
              name of a Java exception type.
fd6af7
fd6af7
            </xsd:documentation>
fd6af7
          </xsd:annotation>
fd6af7
        </xsd:element>
fd6af7
      </xsd:choice>
fd6af7
fd6af7
      
fd6af7
                   type="j2ee:war-pathType">
fd6af7
        <xsd:annotation>
fd6af7
          <xsd:documentation>
fd6af7
fd6af7
            The location element contains the location of the
fd6af7
            resource in the web application relative to the root of
fd6af7
            the web application. The value of the location must have
fd6af7
            a leading `/'.
fd6af7
fd6af7
          </xsd:documentation>
fd6af7
        </xsd:annotation>
fd6af7
      </xsd:element>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="filter-mappingType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        Declaration of the filter mappings in this web
fd6af7
        application is done by using filter-mappingType.
fd6af7
        The container uses the filter-mapping
fd6af7
        declarations to decide which filters to apply to a request,
fd6af7
        and in what order. The container matches the request URI to
fd6af7
        a Servlet in the normal way. To determine which filters to
fd6af7
        apply it matches filter-mapping declarations either on
fd6af7
        servlet-name, or on url-pattern for each filter-mapping
fd6af7
        element, depending on which style is used. The order in
fd6af7
        which filters are invoked is the order in which
fd6af7
        filter-mapping declarations that match a request URI for a
fd6af7
        servlet appear in the list of filter-mapping elements. The
fd6af7
        filter-name value must be the value of the filter-name
fd6af7
        sub-elements of one of the filter declarations in the
fd6af7
        deployment descriptor.
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      
fd6af7
                   type="j2ee:filter-nameType"/>
fd6af7
      <xsd:choice>
fd6af7
        
fd6af7
                     type="j2ee:url-patternType"/>
fd6af7
        
fd6af7
                     type="j2ee:servlet-nameType"/>
fd6af7
      </xsd:choice>
fd6af7
      
fd6af7
                   type="j2ee:dispatcherType"
fd6af7
                   minOccurs="0" maxOccurs="4"/>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="filter-nameType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The logical name of the filter is declare
fd6af7
        by using filter-nameType. This name is used to map the
fd6af7
        filter.  Each filter name is unique within the web
fd6af7
        application.
fd6af7
fd6af7
        Used in: filter, filter-mapping
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:simpleContent>
fd6af7
      <xsd:extension base="j2ee:nonEmptyStringType"/>
fd6af7
    </xsd:simpleContent>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="filterType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The filterType is used to declare a filter in the web
fd6af7
        application. The filter is mapped to either a servlet or a
fd6af7
        URL pattern in the filter-mapping element, using the
fd6af7
        filter-name value to reference. Filters can access the
fd6af7
        initialization parameters declared in the deployment
fd6af7
        descriptor at runtime via the FilterConfig interface.
fd6af7
fd6af7
        Used in: web-app
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      <xsd:group ref="j2ee:descriptionGroup"/>
fd6af7
      
fd6af7
                   type="j2ee:filter-nameType"/>
fd6af7
      
fd6af7
                   type="j2ee:fully-qualified-classType">
fd6af7
        <xsd:annotation>
fd6af7
          <xsd:documentation>
fd6af7
fd6af7
            The fully qualified classname of the filter.
fd6af7
fd6af7
          </xsd:documentation>
fd6af7
        </xsd:annotation>
fd6af7
      </xsd:element>
fd6af7
fd6af7
      
fd6af7
                   type="j2ee:param-valueType"
fd6af7
                   minOccurs="0" maxOccurs="unbounded">
fd6af7
        <xsd:annotation>
fd6af7
          <xsd:documentation>
fd6af7
fd6af7
            The init-param element contains a name/value pair as
fd6af7
            an initialization param of a servlet filter
fd6af7
fd6af7
          </xsd:documentation>
fd6af7
        </xsd:annotation>
fd6af7
      </xsd:element>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="form-login-configType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The form-login-configType specifies the login and error
fd6af7
        pages that should be used in form based login. If form based
fd6af7
        authentication is not used, these elements are ignored.
fd6af7
fd6af7
        Used in: login-config
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
fd6af7
      
fd6af7
                   type="j2ee:war-pathType">
fd6af7
        <xsd:annotation>
fd6af7
          <xsd:documentation>
fd6af7
fd6af7
            The form-login-page element defines the location in the web
fd6af7
            app where the page that can be used for login can be
fd6af7
            found.  The path begins with a leading / and is interpreted
fd6af7
            relative to the root of the WAR.
fd6af7
fd6af7
          </xsd:documentation>
fd6af7
        </xsd:annotation>
fd6af7
      </xsd:element>
fd6af7
fd6af7
      
fd6af7
                   type="j2ee:war-pathType">
fd6af7
        <xsd:annotation>
fd6af7
          <xsd:documentation>
fd6af7
fd6af7
            The form-error-page element defines the location in
fd6af7
            the web app where the error page that is displayed
fd6af7
            when login is not successful can be found.
fd6af7
            The path begins with a leading / and is interpreted
fd6af7
            relative to the root of the WAR.
fd6af7
fd6af7
          </xsd:documentation>
fd6af7
        </xsd:annotation>
fd6af7
      </xsd:element>
fd6af7
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="http-methodType">
fd6af7
    <xsd:annotation>
fd6af7
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The http-method contains an HTTP method recognized by the
fd6af7
        web-app, for example GET, POST, ...
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:simpleContent>
fd6af7
      <xsd:restriction base="j2ee:string">
fd6af7
        <xsd:enumeration value="GET"/>
fd6af7
        <xsd:enumeration value="POST"/>
fd6af7
        <xsd:enumeration value="PUT"/>
fd6af7
        <xsd:enumeration value="DELETE"/>
fd6af7
        <xsd:enumeration value="HEAD"/>
fd6af7
        <xsd:enumeration value="OPTIONS"/>
fd6af7
        <xsd:enumeration value="TRACE"/>
fd6af7
      </xsd:restriction>
fd6af7
    </xsd:simpleContent>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="locale-encoding-mapping-listType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The locale-encoding-mapping-list contains one or more
fd6af7
        locale-encoding-mapping(s).
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      
fd6af7
                   type="j2ee:locale-encoding-mappingType"
fd6af7
                   maxOccurs="unbounded"/>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="locale-encoding-mappingType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The locale-encoding-mapping contains locale name and
fd6af7
        encoding name. The locale name must be either "Language-code",
fd6af7
        such as "ja", defined by ISO-639 or "Language-code_Country-code",
fd6af7
        such as "ja_JP".  "Country code" is defined by ISO-3166.
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      
fd6af7
                   type="j2ee:localeType"/>
fd6af7
      
fd6af7
                   type="j2ee:encodingType"/>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:simpleType name="localeType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The localeType defines valid locale defined by ISO-639-1
fd6af7
        and ISO-3166.
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:restriction base="xsd:string">
fd6af7
      <xsd:pattern value="[a-z]{2}(_|-)?([\p{L}\-\p{Nd}]{2})?"/>
fd6af7
    </xsd:restriction>
fd6af7
  </xsd:simpleType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="login-configType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The login-configType is used to configure the authentication
fd6af7
        method that should be used, the realm name that should be
fd6af7
        used for this application, and the attributes that are
fd6af7
        needed by the form login mechanism.
fd6af7
fd6af7
        Used in: web-app
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      
fd6af7
                   type="j2ee:auth-methodType"
fd6af7
                   minOccurs="0"/>
fd6af7
      
fd6af7
                   type="j2ee:string" minOccurs="0">
fd6af7
        <xsd:annotation>
fd6af7
          <xsd:documentation>
fd6af7
fd6af7
            The realm name element specifies the realm name to
fd6af7
            use in HTTP Basic authorization.
fd6af7
fd6af7
          </xsd:documentation>
fd6af7
        </xsd:annotation>
fd6af7
      </xsd:element>
fd6af7
      
fd6af7
                   type="j2ee:form-login-configType"
fd6af7
                   minOccurs="0"/>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="mime-mappingType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The mime-mappingType defines a mapping between an extension
fd6af7
        and a mime type.
fd6af7
fd6af7
        Used in: web-app
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      <xsd:annotation>
fd6af7
        <xsd:documentation>
fd6af7
fd6af7
          The extension element contains a string describing an
fd6af7
          extension. example: "txt"
fd6af7
fd6af7
        </xsd:documentation>
fd6af7
      </xsd:annotation>
fd6af7
fd6af7
      
fd6af7
                   type="j2ee:string"/>
fd6af7
      
fd6af7
                   type="j2ee:mime-typeType"/>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="mime-typeType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The mime-typeType is used to indicate a defined mime type.
fd6af7
fd6af7
        Example:
fd6af7
        "text/plain"
fd6af7
fd6af7
        Used in: mime-mapping
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:simpleContent>
fd6af7
      <xsd:restriction base="j2ee:string">
fd6af7
          <xsd:pattern value="[^\p{Cc}^\s]+/[^\p{Cc}^\s]+"/>
fd6af7
      </xsd:restriction>
fd6af7
    </xsd:simpleContent>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="nonEmptyStringType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
        This type defines a string which contains at least one
fd6af7
        character.
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
    <xsd:simpleContent>
fd6af7
      <xsd:restriction base="j2ee:string">
fd6af7
        <xsd:minLength value="1"/>
fd6af7
      </xsd:restriction>
fd6af7
    </xsd:simpleContent>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="security-constraintType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The security-constraintType is used to associate
fd6af7
        security constraints with one or more web resource
fd6af7
        collections
fd6af7
fd6af7
        Used in: web-app
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      
fd6af7
                   type="j2ee:display-nameType"
fd6af7
                   minOccurs="0"
fd6af7
                   maxOccurs="unbounded"/>
fd6af7
      
fd6af7
                   type="j2ee:web-resource-collectionType"
fd6af7
                   maxOccurs="unbounded"/>
fd6af7
      
fd6af7
                   type="j2ee:auth-constraintType"
fd6af7
                   minOccurs="0"/>
fd6af7
      
fd6af7
                   type="j2ee:user-data-constraintType"
fd6af7
                   minOccurs="0"/>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="servlet-mappingType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The servlet-mappingType defines a mapping between a
fd6af7
        servlet and a url pattern.
fd6af7
fd6af7
        Used in: web-app
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      
fd6af7
                   type="j2ee:servlet-nameType"/>
fd6af7
      
fd6af7
                   type="j2ee:url-patternType"/>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="servlet-nameType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The servlet-name element contains the canonical name of the
fd6af7
        servlet. Each servlet name is unique within the web
fd6af7
        application.
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:simpleContent>
fd6af7
      <xsd:extension base="j2ee:nonEmptyStringType"/>
fd6af7
    </xsd:simpleContent>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="servletType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The servletType is used to declare a servlet.
fd6af7
        It contains the declarative data of a
fd6af7
        servlet. If a jsp-file is specified and the load-on-startup
fd6af7
        element is present, then the JSP should be pre-compiled and
fd6af7
        loaded.
fd6af7
fd6af7
        Used in: web-app
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      <xsd:group ref="j2ee:descriptionGroup"/>
fd6af7
      
fd6af7
                   type="j2ee:servlet-nameType"/>
fd6af7
      <xsd:choice>
fd6af7
        
fd6af7
                     type="j2ee:fully-qualified-classType">
fd6af7
          <xsd:annotation>
fd6af7
            <xsd:documentation>
fd6af7
fd6af7
              The servlet-class element contains the fully
fd6af7
              qualified class name of the servlet.
fd6af7
fd6af7
            </xsd:documentation>
fd6af7
          </xsd:annotation>
fd6af7
        </xsd:element>
fd6af7
fd6af7
        
fd6af7
                     type="j2ee:jsp-fileType"/>
fd6af7
fd6af7
      </xsd:choice>
fd6af7
fd6af7
      
fd6af7
                   type="j2ee:param-valueType"
fd6af7
                   minOccurs="0" maxOccurs="unbounded"/>
fd6af7
      
fd6af7
                   type="j2ee:xsdIntegerType"
fd6af7
                   minOccurs="0">
fd6af7
        <xsd:annotation>
fd6af7
          <xsd:documentation>
fd6af7
fd6af7
            The load-on-startup element indicates that this
fd6af7
            servlet should be loaded (instantiated and have
fd6af7
            its init() called) on the start-up of the web
fd6af7
            application. The optional contents of these
fd6af7
            element must be an integer indicating the order in
fd6af7
            which the servlet should be loaded. If the value
fd6af7
            is a negative integer, or the element is not
fd6af7
            present, the container is free to load the servlet
fd6af7
            whenever it chooses. If the value is a positive
fd6af7
            integer or 0, the container must load and
fd6af7
            initialize the servlet as the application is
fd6af7
            deployed. The container must guarantee that
fd6af7
            servlets marked with lower integers are loaded
fd6af7
            before servlets marked with higher integers. The
fd6af7
            container may choose the order of loading of
fd6af7
            servlets with the same load-on-start-up value.
fd6af7
fd6af7
          </xsd:documentation>
fd6af7
        </xsd:annotation>
fd6af7
      </xsd:element>
fd6af7
      
fd6af7
                   type="j2ee:run-asType"
fd6af7
                   minOccurs="0"/>
fd6af7
      
fd6af7
                   type="j2ee:security-role-refType"
fd6af7
                   minOccurs="0" maxOccurs="unbounded"/>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="session-configType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The session-configType defines the session parameters
fd6af7
        for this web application.
fd6af7
fd6af7
        Used in: web-app
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      
fd6af7
                   type="j2ee:xsdIntegerType"
fd6af7
                   minOccurs="0">
fd6af7
        <xsd:annotation>
fd6af7
          <xsd:documentation>
fd6af7
fd6af7
            The session-timeout element defines the default
fd6af7
            session timeout interval for all sessions created
fd6af7
            in this web application. The specified timeout
fd6af7
            must be expressed in a whole number of minutes.
fd6af7
            If the timeout is 0 or less, the container ensures
fd6af7
            the default behaviour of sessions is never to time
fd6af7
            out. If this element is not specified, the container
fd6af7
            must set its default timeout period.
fd6af7
fd6af7
          </xsd:documentation>
fd6af7
        </xsd:annotation>
fd6af7
      </xsd:element>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="transport-guaranteeType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The transport-guaranteeType specifies that the communication
fd6af7
        between client and server should be NONE, INTEGRAL, or
fd6af7
        CONFIDENTIAL. NONE means that the application does not
fd6af7
        require any transport guarantees. A value of INTEGRAL means
fd6af7
        that the application requires that the data sent between the
fd6af7
        client and server be sent in such a way that it can't be
fd6af7
        changed in transit. CONFIDENTIAL means that the application
fd6af7
        requires that the data be transmitted in a fashion that
fd6af7
        prevents other entities from observing the contents of the
fd6af7
        transmission. In most cases, the presence of the INTEGRAL or
fd6af7
        CONFIDENTIAL flag will indicate that the use of SSL is
fd6af7
        required.
fd6af7
fd6af7
        Used in: user-data-constraint
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:simpleContent>
fd6af7
      <xsd:restriction base="j2ee:string">
fd6af7
        <xsd:enumeration value="NONE"/>
fd6af7
        <xsd:enumeration value="INTEGRAL"/>
fd6af7
        <xsd:enumeration value="CONFIDENTIAL"/>
fd6af7
      </xsd:restriction>
fd6af7
    </xsd:simpleContent>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="user-data-constraintType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The user-data-constraintType is used to indicate how
fd6af7
        data communicated between the client and container should be
fd6af7
        protected.
fd6af7
fd6af7
        Used in: security-constraint
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      
fd6af7
                   type="j2ee:descriptionType"
fd6af7
                   minOccurs="0"
fd6af7
                   maxOccurs="unbounded"/>
fd6af7
      
fd6af7
                   type="j2ee:transport-guaranteeType"/>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="war-pathType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The elements that use this type designate a path starting
fd6af7
        with a "/" and interpreted relative to the root of a WAR
fd6af7
        file.
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
    <xsd:simpleContent>
fd6af7
      <xsd:restriction base="j2ee:string">
fd6af7
        <xsd:pattern value="/.*"/>
fd6af7
      </xsd:restriction>
fd6af7
    </xsd:simpleContent>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:simpleType name="web-app-versionType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        This type contains the recognized versions of
fd6af7
        web-application supported. It is used to designate the
fd6af7
        version of the web application.
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
    <xsd:restriction base="xsd:token">
fd6af7
      <xsd:enumeration value="2.4"/>
fd6af7
    </xsd:restriction>
fd6af7
  </xsd:simpleType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="web-appType">
fd6af7
fd6af7
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
fd6af7
      <xsd:group ref="j2ee:descriptionGroup"/>
fd6af7
      
fd6af7
                   type="j2ee:emptyType"/>
fd6af7
      
fd6af7
                   type="j2ee:param-valueType">
fd6af7
fd6af7
        <xsd:annotation>
fd6af7
          <xsd:documentation>
fd6af7
fd6af7
            The context-param element contains the declaration
fd6af7
            of a web application's servlet context
fd6af7
            initialization parameters.
fd6af7
fd6af7
          </xsd:documentation>
fd6af7
        </xsd:annotation>
fd6af7
      </xsd:element>
fd6af7
fd6af7
      
fd6af7
                   type="j2ee:filterType"/>
fd6af7
      
fd6af7
                   type="j2ee:filter-mappingType"/>
fd6af7
      
fd6af7
                   type="j2ee:listenerType"/>
fd6af7
      
fd6af7
                   type="j2ee:servletType"/>
fd6af7
      
fd6af7
                   type="j2ee:servlet-mappingType"/>
fd6af7
      
fd6af7
                   type="j2ee:session-configType"/>
fd6af7
      
fd6af7
                   type="j2ee:mime-mappingType"/>
fd6af7
      
fd6af7
                   type="j2ee:welcome-file-listType"/>
fd6af7
      
fd6af7
                   type="j2ee:error-pageType"/>
fd6af7
      
fd6af7
                   type="j2ee:jsp-configType"/>
fd6af7
      
fd6af7
                   type="j2ee:security-constraintType"/>
fd6af7
      
fd6af7
                   type="j2ee:login-configType"/>
fd6af7
      
fd6af7
                   type="j2ee:security-roleType"/>
fd6af7
      <xsd:group ref="j2ee:jndiEnvironmentRefsGroup"/>
fd6af7
      
fd6af7
                   type="j2ee:message-destinationType"/>
fd6af7
      
fd6af7
                   type="j2ee:locale-encoding-mapping-listType"/>
fd6af7
    </xsd:choice>
fd6af7
fd6af7
    
fd6af7
                   type="j2ee:web-app-versionType"
fd6af7
                   use="required"/>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="web-resource-collectionType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The web-resource-collectionType is used to identify a subset
fd6af7
        of the resources and HTTP methods on those resources within
fd6af7
        a web application to which a security constraint applies. If
fd6af7
        no HTTP methods are specified, then the security constraint
fd6af7
        applies to all HTTP methods.
fd6af7
fd6af7
        Used in: security-constraint
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      
fd6af7
                   type="j2ee:string">
fd6af7
        <xsd:annotation>
fd6af7
          <xsd:documentation>
fd6af7
fd6af7
            The web-resource-name contains the name of this web
fd6af7
            resource collection.
fd6af7
fd6af7
          </xsd:documentation>
fd6af7
        </xsd:annotation>
fd6af7
      </xsd:element>
fd6af7
      
fd6af7
                   type="j2ee:descriptionType"
fd6af7
                   minOccurs="0"
fd6af7
                   maxOccurs="unbounded"/>
fd6af7
      
fd6af7
                   type="j2ee:url-patternType"
fd6af7
                   maxOccurs="unbounded"/>
fd6af7
      
fd6af7
                   type="j2ee:http-methodType"
fd6af7
                   minOccurs="0" maxOccurs="unbounded"/>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
fd6af7
fd6af7
  <xsd:complexType name="welcome-file-listType">
fd6af7
    <xsd:annotation>
fd6af7
      <xsd:documentation>
fd6af7
fd6af7
        The welcome-file-list contains an ordered list of welcome
fd6af7
        files elements.
fd6af7
fd6af7
        Used in: web-app
fd6af7
fd6af7
      </xsd:documentation>
fd6af7
    </xsd:annotation>
fd6af7
fd6af7
    <xsd:sequence>
fd6af7
      
fd6af7
                   type="xsd:string"
fd6af7
                   maxOccurs="unbounded">
fd6af7
        <xsd:annotation>
fd6af7
          <xsd:documentation>
fd6af7
fd6af7
            The welcome-file element contains file name to use
fd6af7
            as a default welcome file, such as index.html
fd6af7
fd6af7
          </xsd:documentation>
fd6af7
        </xsd:annotation>
fd6af7
      </xsd:element>
fd6af7
    </xsd:sequence>
fd6af7
    <xsd:attribute name="id" type="xsd:ID"/>
fd6af7
  </xsd:complexType>
fd6af7
fd6af7
</xsd:schema>
fd6af7