You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by hc...@apache.org on 2007/10/01 16:34:47 UTC
svn commit: r580976 [1/2] - in
/geronimo/site/trunk/docs/xml/ns/j2ee/openejb: ./ corba-css-config-2.0.xsd
corba-css-config-2.1.xsd corba-tss-config-2.0.xsd corba-tss-config-2.1.xsd
openejb-jar-2.0.xsd openejb-jar-2.1.xsd openejb-pkgen-2.0.xsd
Author: hcunico
Date: Mon Oct 1 07:34:40 2007
New Revision: 580976
URL: http://svn.apache.org/viewvc?rev=580976&view=rev
Log:
reorganizing xml schemas
Added:
geronimo/site/trunk/docs/xml/ns/j2ee/openejb/
geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-css-config-2.0.xsd
geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-css-config-2.1.xsd
geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-tss-config-2.0.xsd
geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-tss-config-2.1.xsd
geronimo/site/trunk/docs/xml/ns/j2ee/openejb/openejb-jar-2.0.xsd
geronimo/site/trunk/docs/xml/ns/j2ee/openejb/openejb-jar-2.1.xsd
geronimo/site/trunk/docs/xml/ns/j2ee/openejb/openejb-pkgen-2.0.xsd
Added: geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-css-config-2.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-css-config-2.0.xsd?rev=580976&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-css-config-2.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-css-config-2.0.xsd Mon Oct 1 07:34:40 2007
@@ -0,0 +1,248 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ================================================================
+ Redistribution and use of this software and associated documentation
+ ("Software"), with or without modification, are permitted provided
+ that the following conditions are met:
+
+ 1. Redistributions of source code must retain copyright
+ statements and notices. Redistributions must also contain a
+ copy of this document.
+
+ 2. Redistributions in binary form must reproduce this list of
+ conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ 3. The name "OpenEJB" must not be used to endorse or promote
+ products derived from this Software without prior written
+ permission of The OpenEJB Group. For written permission,
+ please contact openejb-group@openejb.sf.net.
+
+ 4. Products derived from this Software may not be called "OpenEJB"
+ nor may "OpenEJB" appear in their names without prior written
+ permission of The OpenEJB Group. OpenEJB is a registered
+ trademark of The OpenEJB Group.
+
+ 5. Due credit should be given to the OpenEJB Project
+ (http://openejb.org/).
+
+ THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+ NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+ THE OPENEJB GROUP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ ====================================================================
+
+ This software consists of voluntary contributions made by many
+ individuals on behalf of the OpenEJB Project. For more information
+ please see <http://openejb.org/>.
+
+ ================================================================ -->
+
+<xsd:schema
+ xmlns:css="http://www.openejb.org/xml/ns/corba-css-config-2.0"
+ targetNamespace="http://www.openejb.org/xml/ns/corba-css-config-2.0"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="1.0">
+
+ <xsd:element name="css" type="css:cssType"/>
+
+ <xsd:complexType name="cssType">
+ <xsd:sequence>
+ <xsd:element name="description" type="css:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="compoundSecMechTypeList" minOccurs="0">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="compoundSecMech" type="css:compoundSecMechType" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="stateful" type="xsd:boolean" use="optional" default="false"/>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="descriptionType">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute ref="xml:lang"/>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="compoundSecMechType">
+ <xsd:sequence>
+ <xsd:element name="description" type="css:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:group ref="css:transportMechGroup" minOccurs="0"/>
+ <xsd:group ref="css:asMechGroup" minOccurs="0"/>
+ <xsd:element name="sasMech" type="css:sasMechType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:group name="transportMechGroup">
+ <xsd:choice>
+ <xsd:element name="SSL" type="css:SSLType"/>
+ <xsd:element name="SECIOP" type="css:SECIOPType"/>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="SSLType">
+ <xsd:sequence>
+ <xsd:element name="description" type="css:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="supports" type="css:associationOptionList"/>
+ <xsd:element name="requires" type="css:associationOptionList"/>
+ <xsd:group ref="css:trustGroup" minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="handshakeTimeout" type="xsd:short"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="SECIOPType">
+ <xsd:sequence>
+ <xsd:element name="description" type="css:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="supports" type="css:associationOptionList"/>
+ <xsd:element name="requires" type="css:associationOptionList"/>
+ <xsd:group ref="css:trustGroup"/>
+ </xsd:sequence>
+ <xsd:attribute name="mechOID" type="xsd:string"/>
+ <xsd:attribute name="targetName" type="xsd:string"/>
+ </xsd:complexType>
+
+ <xsd:group name="trustGroup">
+ <xsd:choice>
+ <xsd:element name="trustEveryone" type="css:trustEveryoneType"/>
+ <xsd:element name="trustNoone" type="css:trustNooneType"/>
+ <xsd:element name="trustList">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="entity" type="css:entityType" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="trustEveryoneType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="trustNooneType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="entityType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="hostname" type="xsd:string" use="optional"/>
+ <xsd:attribute name="distinguishedName" type="xsd:string" use="optional"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:group name="asMechGroup">
+ <xsd:choice>
+ <xsd:element name="GSSUPStatic" type="css:GSSUPStaticType"/>
+ <xsd:element name="GSSUPDynamic" type="css:GSSUPDynamicType"/>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="GSSUPStaticType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="username" type="xsd:string"/>
+ <xsd:attribute name="password" type="xsd:string"/>
+ <xsd:attribute name="domain" type="xsd:string"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="GSSUPDynamicType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="domain" type="xsd:string" use="optional"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="sasMechType">
+ <xsd:sequence>
+ <xsd:element name="description" type="css:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:group ref="css:ittGroup"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:group name="ittGroup">
+ <xsd:choice>
+ <xsd:element name="ITTAbsent" type="css:ITTAbsentType"/>
+ <xsd:element name="ITTAnonymous" type="css:ITTAnonymousType"/>
+ <xsd:element name="ITTPrincipalNameStatic" type="css:ITTPrincipalNameStaticType"/>
+ <xsd:element name="ITTPrincipalNameDynamic" type="css:ITTPrincipalNameDynamicType"/>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="ITTAbsentType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTAnonymousType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTPrincipalNameStaticType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="name" type="xsd:string"/>
+ <xsd:attribute name="oid" type="xsd:string" use="optional"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTPrincipalNameDynamicType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="principal-class" type="xsd:string"/>
+ <xsd:attribute name="domain" type="xsd:string" use="optional"/>
+ <xsd:attribute name="realm" type="xsd:string" use="optional"/>
+ <xsd:attribute name="oid" type="xsd:string" use="optional"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:simpleType name="associationOption">
+ <xsd:restriction base="xsd:token">
+ <xsd:enumeration value="NoProtection"/>
+ <xsd:enumeration value="Integrity"/>
+ <xsd:enumeration value="Confidentiality"/>
+ <xsd:enumeration value="DetectReplay"/>
+ <xsd:enumeration value="DetectMisordering"/>
+ <xsd:enumeration value="EstablishTrustInTarget"/>
+ <xsd:enumeration value="EstablishTrustInClient"/>
+ <xsd:enumeration value="NoDelegation"/>
+ <xsd:enumeration value="SimpleDelegation"/>
+ <xsd:enumeration value="CompositeDelegation"/>
+ <xsd:enumeration value="IdentityAssertion"/>
+ <xsd:enumeration value="DelegationByClient"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:simpleType name="associationOptionList">
+ <xsd:list itemType="css:associationOption"/>
+ </xsd:simpleType>
+
+</xsd:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-css-config-2.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-css-config-2.1.xsd?rev=580976&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-css-config-2.1.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-css-config-2.1.xsd Mon Oct 1 07:34:40 2007
@@ -0,0 +1,219 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+
+<xsd:schema
+ xmlns:css="http://openejb.apache.org/xml/ns/corba-css-config-2.1"
+ targetNamespace="http://openejb.apache.org/xml/ns/corba-css-config-2.1"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="1.0">
+
+ <xsd:element name="css" type="css:cssType"/>
+
+ <xsd:complexType name="cssType">
+ <xsd:sequence>
+ <xsd:element name="description" type="css:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="compoundSecMechTypeList" minOccurs="0">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="compoundSecMech" type="css:compoundSecMechType" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="stateful" type="xsd:boolean" use="optional" default="false"/>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="descriptionType">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute ref="xml:lang"/>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="compoundSecMechType">
+ <xsd:sequence>
+ <xsd:element name="description" type="css:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:group ref="css:transportMechGroup" minOccurs="0"/>
+ <xsd:group ref="css:asMechGroup" minOccurs="0"/>
+ <xsd:element name="sasMech" type="css:sasMechType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:group name="transportMechGroup">
+ <xsd:choice>
+ <xsd:element name="SSL" type="css:SSLType"/>
+ <xsd:element name="SECIOP" type="css:SECIOPType"/>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="SSLType">
+ <xsd:sequence>
+ <xsd:element name="description" type="css:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="supports" type="css:associationOptionList"/>
+ <xsd:element name="requires" type="css:associationOptionList"/>
+ <xsd:group ref="css:trustGroup" minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="handshakeTimeout" type="xsd:short"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="SECIOPType">
+ <xsd:sequence>
+ <xsd:element name="description" type="css:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="supports" type="css:associationOptionList"/>
+ <xsd:element name="requires" type="css:associationOptionList"/>
+ <xsd:group ref="css:trustGroup"/>
+ </xsd:sequence>
+ <xsd:attribute name="mechOID" type="xsd:string"/>
+ <xsd:attribute name="targetName" type="xsd:string"/>
+ </xsd:complexType>
+
+ <xsd:group name="trustGroup">
+ <xsd:choice>
+ <xsd:element name="trustEveryone" type="css:trustEveryoneType"/>
+ <xsd:element name="trustNoone" type="css:trustNooneType"/>
+ <xsd:element name="trustList">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="entity" type="css:entityType" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="trustEveryoneType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="trustNooneType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="entityType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="hostname" type="xsd:string" use="optional"/>
+ <xsd:attribute name="distinguishedName" type="xsd:string" use="optional"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:group name="asMechGroup">
+ <xsd:choice>
+ <xsd:element name="GSSUPStatic" type="css:GSSUPStaticType"/>
+ <xsd:element name="GSSUPDynamic" type="css:GSSUPDynamicType"/>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="GSSUPStaticType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="username" type="xsd:string"/>
+ <xsd:attribute name="password" type="xsd:string"/>
+ <xsd:attribute name="domain" type="xsd:string"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="GSSUPDynamicType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="domain" type="xsd:string" use="optional"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="sasMechType">
+ <xsd:sequence>
+ <xsd:element name="description" type="css:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:group ref="css:ittGroup"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:group name="ittGroup">
+ <xsd:choice>
+ <xsd:element name="ITTAbsent" type="css:ITTAbsentType"/>
+ <xsd:element name="ITTAnonymous" type="css:ITTAnonymousType"/>
+ <xsd:element name="ITTPrincipalNameStatic" type="css:ITTPrincipalNameStaticType"/>
+ <xsd:element name="ITTPrincipalNameDynamic" type="css:ITTPrincipalNameDynamicType"/>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="ITTAbsentType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTAnonymousType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTPrincipalNameStaticType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="name" type="xsd:string"/>
+ <xsd:attribute name="oid" type="xsd:string" use="optional"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTPrincipalNameDynamicType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="principal-class" type="xsd:string"/>
+ <xsd:attribute name="domain" type="xsd:string" use="optional"/>
+ <xsd:attribute name="realm" type="xsd:string" use="optional"/>
+ <xsd:attribute name="oid" type="xsd:string" use="optional"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:simpleType name="associationOption">
+ <xsd:restriction base="xsd:token">
+ <xsd:enumeration value="NoProtection"/>
+ <xsd:enumeration value="Integrity"/>
+ <xsd:enumeration value="Confidentiality"/>
+ <xsd:enumeration value="DetectReplay"/>
+ <xsd:enumeration value="DetectMisordering"/>
+ <xsd:enumeration value="EstablishTrustInTarget"/>
+ <xsd:enumeration value="EstablishTrustInClient"/>
+ <xsd:enumeration value="NoDelegation"/>
+ <xsd:enumeration value="SimpleDelegation"/>
+ <xsd:enumeration value="CompositeDelegation"/>
+ <xsd:enumeration value="IdentityAssertion"/>
+ <xsd:enumeration value="DelegationByClient"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:simpleType name="associationOptionList">
+ <xsd:list itemType="css:associationOption"/>
+ </xsd:simpleType>
+
+</xsd:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-tss-config-2.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-tss-config-2.0.xsd?rev=580976&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-tss-config-2.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-tss-config-2.0.xsd Mon Oct 1 07:34:40 2007
@@ -0,0 +1,301 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ================================================================
+ Redistribution and use of this software and associated documentation
+ ("Software"), with or without modification, are permitted provided
+ that the following conditions are met:
+
+ 1. Redistributions of source code must retain copyright
+ statements and notices. Redistributions must also contain a
+ copy of this document.
+
+ 2. Redistributions in binary form must reproduce this list of
+ conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ 3. The name "OpenEJB" must not be used to endorse or promote
+ products derived from this Software without prior written
+ permission of The OpenEJB Group. For written permission,
+ please contact openejb-group@openejb.sf.net.
+
+ 4. Products derived from this Software may not be called "OpenEJB"
+ nor may "OpenEJB" appear in their names without prior written
+ permission of The OpenEJB Group. OpenEJB is a registered
+ trademark of The OpenEJB Group.
+
+ 5. Due credit should be given to the OpenEJB Project
+ (http://openejb.org/).
+
+ THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+ NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+ THE OPENEJB GROUP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ ====================================================================
+
+ This software consists of voluntary contributions made by many
+ individuals on behalf of the OpenEJB Project. For more information
+ please see <http://openejb.org/>.
+
+ ================================================================ -->
+
+<xsd:schema
+ xmlns:tss="http://www.openejb.org/xml/ns/corba-tss-config-2.0"
+ targetNamespace="http://www.openejb.org/xml/ns/corba-tss-config-2.0"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+ xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="1.0">
+
+ <xsd:element name="tss" type="tss:tssType"/>
+
+ <xsd:complexType name="tssType">
+ <xsd:sequence>
+ <xsd:element name="description" type="tss:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="default-principal" type="security:default-principalType" minOccurs="0"/>
+ <xsd:group ref="tss:transportMechGroup" minOccurs="0"/>
+ <xsd:element name="compoundSecMechTypeList" minOccurs="0">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="compoundSecMech" type="tss:compoundSecMechType" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="stateful" type="xsd:boolean" use="optional" default="false"/>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="inherit" type="xsd:boolean" use="optional" default="false"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="descriptionType">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute ref="xml:lang"/>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:group name="transportMechGroup">
+ <xsd:choice>
+ <xsd:element name="SSL" type="tss:SSLType"/>
+ <xsd:element name="SECIOP" type="tss:SECIOPType"/>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="SSLType">
+ <xsd:sequence>
+ <xsd:element name="description" type="tss:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="supports" type="tss:associationOptionList"/>
+ <xsd:element name="requires" type="tss:associationOptionList"/>
+ <xsd:group ref="tss:trustGroup" minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="port" type="xsd:short" use="required"/>
+ <xsd:attribute name="hostname" type="xsd:string" use="required"/>
+ <xsd:attribute name="handshakeTimeout" type="xsd:short"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="SECIOPType">
+ <xsd:sequence>
+ <xsd:element name="description" type="tss:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="supports" type="tss:associationOptionList"/>
+ <xsd:element name="requires" type="tss:associationOptionList"/>
+ <xsd:element name="transportAddress" type="tss:transportAddressType" maxOccurs="unbounded"/>
+ <xsd:group ref="tss:trustGroup"/>
+ </xsd:sequence>
+ <xsd:attribute name="mechOID" type="xsd:string"/>
+ <xsd:attribute name="targetName" type="xsd:string"/>
+ </xsd:complexType>
+
+ <xsd:group name="trustGroup">
+ <xsd:choice>
+ <xsd:element name="trustEveryone" type="tss:trustEveryoneType"/>
+ <xsd:element name="trustNoone" type="tss:trustNooneType"/>
+ <xsd:element name="trustList">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="entity" type="tss:entityType" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="trustEveryoneType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="trustNooneType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="entityType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="hostname" type="xsd:string" use="optional"/>
+ <xsd:attribute name="distinguishedName" type="xsd:string" use="optional"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="transportAddressType">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="port" type="xsd:short"/>
+ <xsd:attribute name="hostname" type="xsd:string"/>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="compoundSecMechType">
+ <xsd:sequence>
+ <xsd:element name="description" type="tss:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:group ref="tss:asMechGroup" minOccurs="0"/>
+ <xsd:element name="sasMech" type="tss:sasMechType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:group name="asMechGroup">
+ <xsd:choice>
+ <xsd:element name="GSSUP" type="tss:GSSUPType"/>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="GSSUPType">
+ <xsd:sequence>
+ <xsd:element name="description" type="tss:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="targetName" type="xsd:string"/>
+ <xsd:attribute name="required" type="xsd:boolean" use="optional" default="false"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="sasMechType">
+ <xsd:sequence>
+ <xsd:element name="description" type="tss:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="serviceConfigurationList" minOccurs="0">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:group ref="tss:serviceConfigurationGroup" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="required" type="xsd:boolean" use="optional" default="false"/>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="identityTokenTypes" type="tss:identityTokenTypeList"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:group name="serviceConfigurationGroup">
+ <xsd:choice>
+ <xsd:element name="generalName" type="tss:generalNameType"/>
+ <xsd:element name="gssExportedName" type="tss:gssExportedNameType"/>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="generalNameType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="privilegeAuthority" type="xsd:string"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="gssExportedNameType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="OID" type="xsd:string"/>
+ <xsd:attribute name="privilegeAuthority" type="xsd:string"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:simpleType name="associationOption">
+ <xsd:restriction base="xsd:token">
+ <xsd:enumeration value="NoProtection"/>
+ <xsd:enumeration value="Integrity"/>
+ <xsd:enumeration value="Confidentiality"/>
+ <xsd:enumeration value="DetectReplay"/>
+ <xsd:enumeration value="DetectMisordering"/>
+ <xsd:enumeration value="EstablishTrustInTarget"/>
+ <xsd:enumeration value="EstablishTrustInClient"/>
+ <xsd:enumeration value="NoDelegation"/>
+ <xsd:enumeration value="SimpleDelegation"/>
+ <xsd:enumeration value="CompositeDelegation"/>
+ <xsd:enumeration value="IdentityAssertion"/>
+ <xsd:enumeration value="DelegationByClient"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:simpleType name="associationOptionList">
+ <xsd:list itemType="tss:associationOption"/>
+ </xsd:simpleType>
+
+ <xsd:complexType name="identityTokenTypeList">
+ <xsd:sequence>
+ <xsd:choice>
+ <xsd:element name="ITTAbsent" type="tss:ITTAbsentType"/>
+ <xsd:group ref="tss:ittGroup"/>
+ </xsd:choice>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:group name="ittGroup">
+ <xsd:sequence>
+ <xsd:element name="ITTAnonymous" type="tss:ITTAnonymousType" minOccurs="0"/>
+ <xsd:element name="ITTPrincipalNameGSSUP" type="tss:ITTPrincipalNameGSSUPType" minOccurs="0"/>
+ <xsd:element name="ITTDistinguishedName" type="tss:ITTDistinguishedNameType" minOccurs="0"/>
+ <xsd:element name="ITTX509CertChain" type="tss:ITTX509CertChainType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:group>
+
+ <xsd:complexType name="ITTAbsentType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTAnonymousType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTPrincipalNameGSSUPType">
+ <!-- <xsd:complexContent>-->
+ <!-- <xsd:restriction base="xsd:anyType"/>-->
+ <!-- </xsd:complexContent>-->
+ <xsd:sequence/>
+ <xsd:attribute name="principal-class" type="xsd:string"/>
+ <xsd:attribute name="domain" type="xsd:string" use="optional"/>
+ <xsd:attribute name="realm" type="xsd:string" use="optional"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTDistinguishedNameType">
+<!-- <xsd:complexContent>-->
+<!-- <xsd:restriction base="xsd:anyType"/>-->
+<!-- </xsd:complexContent>-->
+ <xsd:sequence/>
+ <xsd:attribute name="realm" type="xsd:string" use="optional"/>
+ <xsd:attribute name="domain" type="xsd:string" use="optional"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTX509CertChainType">
+<!-- <xsd:complexContent>-->
+<!-- <xsd:restriction base="xsd:anyType"/>-->
+<!-- </xsd:complexContent>-->
+ <xsd:sequence/>
+ <xsd:attribute name="realm" type="xsd:string" use="optional"/>
+ <xsd:attribute name="domain" type="xsd:string" use="optional"/>
+ </xsd:complexType>
+
+</xsd:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-tss-config-2.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-tss-config-2.1.xsd?rev=580976&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-tss-config-2.1.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/openejb/corba-tss-config-2.1.xsd Mon Oct 1 07:34:40 2007
@@ -0,0 +1,271 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+
+<xsd:schema
+ xmlns:tss="http://openejb.apache.org/xml/ns/corba-tss-config-2.1"
+ targetNamespace="http://openejb.apache.org/xml/ns/corba-tss-config-2.1"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="1.0">
+
+ <xsd:element name="tss" type="tss:tssType"/>
+
+ <xsd:complexType name="tssType">
+ <xsd:sequence>
+ <xsd:element name="description" type="tss:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <!--<xsd:element name="default-principal" type="security:default-principalType" minOccurs="0"/>-->
+ <xsd:group ref="tss:transportMechGroup" minOccurs="0"/>
+ <xsd:element name="compoundSecMechTypeList" minOccurs="0">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="compoundSecMech" type="tss:compoundSecMechType" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="stateful" type="xsd:boolean" use="optional" default="false"/>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="inherit" type="xsd:boolean" use="optional" default="false"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="descriptionType">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute ref="xml:lang"/>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:group name="transportMechGroup">
+ <xsd:choice>
+ <xsd:element name="SSL" type="tss:SSLType"/>
+ <xsd:element name="SECIOP" type="tss:SECIOPType"/>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="SSLType">
+ <xsd:sequence>
+ <xsd:element name="description" type="tss:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="supports" type="tss:associationOptionList"/>
+ <xsd:element name="requires" type="tss:associationOptionList"/>
+ <xsd:group ref="tss:trustGroup" minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="port" type="xsd:short" use="required"/>
+ <xsd:attribute name="hostname" type="xsd:string" use="required"/>
+ <xsd:attribute name="handshakeTimeout" type="xsd:short"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="SECIOPType">
+ <xsd:sequence>
+ <xsd:element name="description" type="tss:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="supports" type="tss:associationOptionList"/>
+ <xsd:element name="requires" type="tss:associationOptionList"/>
+ <xsd:element name="transportAddress" type="tss:transportAddressType" maxOccurs="unbounded"/>
+ <xsd:group ref="tss:trustGroup"/>
+ </xsd:sequence>
+ <xsd:attribute name="mechOID" type="xsd:string"/>
+ <xsd:attribute name="targetName" type="xsd:string"/>
+ </xsd:complexType>
+
+ <xsd:group name="trustGroup">
+ <xsd:choice>
+ <xsd:element name="trustEveryone" type="tss:trustEveryoneType"/>
+ <xsd:element name="trustNoone" type="tss:trustNooneType"/>
+ <xsd:element name="trustList">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="entity" type="tss:entityType" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="trustEveryoneType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="trustNooneType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="entityType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="hostname" type="xsd:string" use="optional"/>
+ <xsd:attribute name="distinguishedName" type="xsd:string" use="optional"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="transportAddressType">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="port" type="xsd:short"/>
+ <xsd:attribute name="hostname" type="xsd:string"/>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="compoundSecMechType">
+ <xsd:sequence>
+ <xsd:element name="description" type="tss:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:group ref="tss:asMechGroup" minOccurs="0"/>
+ <xsd:element name="sasMech" type="tss:sasMechType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:group name="asMechGroup">
+ <xsd:choice>
+ <xsd:element name="GSSUP" type="tss:GSSUPType"/>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="GSSUPType">
+ <xsd:sequence>
+ <xsd:element name="description" type="tss:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="targetName" type="xsd:string"/>
+ <xsd:attribute name="required" type="xsd:boolean" use="optional" default="false"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="sasMechType">
+ <xsd:sequence>
+ <xsd:element name="description" type="tss:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="serviceConfigurationList" minOccurs="0">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:group ref="tss:serviceConfigurationGroup" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="required" type="xsd:boolean" use="optional" default="false"/>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="identityTokenTypes" type="tss:identityTokenTypeList"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:group name="serviceConfigurationGroup">
+ <xsd:choice>
+ <xsd:element name="generalName" type="tss:generalNameType"/>
+ <xsd:element name="gssExportedName" type="tss:gssExportedNameType"/>
+ </xsd:choice>
+ </xsd:group>
+
+ <xsd:complexType name="generalNameType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="privilegeAuthority" type="xsd:string"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="gssExportedNameType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType">
+ <xsd:attribute name="OID" type="xsd:string"/>
+ <xsd:attribute name="privilegeAuthority" type="xsd:string"/>
+ </xsd:restriction>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:simpleType name="associationOption">
+ <xsd:restriction base="xsd:token">
+ <xsd:enumeration value="NoProtection"/>
+ <xsd:enumeration value="Integrity"/>
+ <xsd:enumeration value="Confidentiality"/>
+ <xsd:enumeration value="DetectReplay"/>
+ <xsd:enumeration value="DetectMisordering"/>
+ <xsd:enumeration value="EstablishTrustInTarget"/>
+ <xsd:enumeration value="EstablishTrustInClient"/>
+ <xsd:enumeration value="NoDelegation"/>
+ <xsd:enumeration value="SimpleDelegation"/>
+ <xsd:enumeration value="CompositeDelegation"/>
+ <xsd:enumeration value="IdentityAssertion"/>
+ <xsd:enumeration value="DelegationByClient"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:simpleType name="associationOptionList">
+ <xsd:list itemType="tss:associationOption"/>
+ </xsd:simpleType>
+
+ <xsd:complexType name="identityTokenTypeList">
+ <xsd:sequence>
+ <xsd:choice>
+ <xsd:element name="ITTAbsent" type="tss:ITTAbsentType"/>
+ <xsd:group ref="tss:ittGroup"/>
+ </xsd:choice>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:group name="ittGroup">
+ <xsd:sequence>
+ <xsd:element name="ITTAnonymous" type="tss:ITTAnonymousType" minOccurs="0"/>
+ <xsd:element name="ITTPrincipalNameGSSUP" type="tss:ITTPrincipalNameGSSUPType" minOccurs="0"/>
+ <xsd:element name="ITTDistinguishedName" type="tss:ITTDistinguishedNameType" minOccurs="0"/>
+ <xsd:element name="ITTX509CertChain" type="tss:ITTX509CertChainType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:group>
+
+ <xsd:complexType name="ITTAbsentType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTAnonymousType">
+ <xsd:complexContent>
+ <xsd:restriction base="xsd:anyType"/>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTPrincipalNameGSSUPType">
+ <!-- <xsd:complexContent>-->
+ <!-- <xsd:restriction base="xsd:anyType"/>-->
+ <!-- </xsd:complexContent>-->
+ <xsd:sequence/>
+ <xsd:attribute name="principal-class" type="xsd:string"/>
+ <xsd:attribute name="domain" type="xsd:string" use="optional"/>
+ <xsd:attribute name="realm" type="xsd:string" use="optional"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTDistinguishedNameType">
+<!-- <xsd:complexContent>-->
+<!-- <xsd:restriction base="xsd:anyType"/>-->
+<!-- </xsd:complexContent>-->
+ <xsd:sequence/>
+ <xsd:attribute name="realm" type="xsd:string" use="optional"/>
+ <xsd:attribute name="domain" type="xsd:string" use="optional"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ITTX509CertChainType">
+<!-- <xsd:complexContent>-->
+<!-- <xsd:restriction base="xsd:anyType"/>-->
+<!-- </xsd:complexContent>-->
+ <xsd:sequence/>
+ <xsd:attribute name="realm" type="xsd:string" use="optional"/>
+ <xsd:attribute name="domain" type="xsd:string" use="optional"/>
+ </xsd:complexType>
+
+</xsd:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/openejb/openejb-jar-2.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/openejb/openejb-jar-2.0.xsd?rev=580976&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/openejb/openejb-jar-2.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/openejb/openejb-jar-2.0.xsd Mon Oct 1 07:34:40 2007
@@ -0,0 +1,388 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ================================================================
+ Redistribution and use of this software and associated documentation
+ ("Software"), with or without modification, are permitted provided
+ that the following conditions are met:
+
+ 1. Redistributions of source code must retain copyright
+ statements and notices. Redistributions must also contain a
+ copy of this document.
+
+ 2. Redistributions in binary form must reproduce this list of
+ conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ 3. The name "OpenEJB" must not be used to endorse or promote
+ products derived from this Software without prior written
+ permission of The OpenEJB Group. For written permission,
+ please contact openejb-group@openejb.sf.net.
+
+ 4. Products derived from this Software may not be called "OpenEJB"
+ nor may "OpenEJB" appear in their names without prior written
+ permission of The OpenEJB Group. OpenEJB is a registered
+ trademark of The OpenEJB Group.
+
+ 5. Due credit should be given to the OpenEJB Project
+ (http://openejb.org/).
+
+ THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+ NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+ THE OPENEJB GROUP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ ====================================================================
+
+ This software consists of voluntary contributions made by many
+ individuals on behalf of the OpenEJB Project. For more information
+ please see <http://openejb.org/>.
+
+ ================================================================ -->
+
+<xs:schema
+ xmlns:openejb="http://www.openejb.org/xml/ns/openejb-jar-2.0"
+ targetNamespace="http://www.openejb.org/xml/ns/openejb-jar-2.0"
+ xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.0"
+ xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0"
+ xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="1.0">
+
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.0" schemaLocation="geronimo-naming-1.0.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/security-1.1" schemaLocation="geronimo-security-1.1.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.0" schemaLocation="geronimo-config-1.0.xsd"/>
+ <xs:import namespace="http://www.openejb.org/xml/ns/pkgen-2.0" schemaLocation="openejb-pkgen-2.0.xsd"/>
+
+ <xs:element name="openejb-jar" type="openejb:openejb-jarType"/>
+
+ <xs:complexType name="emptyType"/>
+
+ <xs:complexType name="openejb-jarType">
+ <xs:sequence>
+<!-- <xs:element ref="sys:parent" minOccurs="0" maxOccurs="unbounded"/>-->
+<!-- <xs:element ref="sys:dependency" minOccurs="0" maxOccurs="unbounded"/>-->
+<!-- <xs:element ref="sys:hidden-classes" minOccurs="0" maxOccurs="unbounded"/>-->
+<!-- <xs:element ref="sys:non-overridable-classes" minOccurs="0" maxOccurs="unbounded"/>-->
+ <xs:group ref="sys:classloader-infoGroup"/>
+
+ <!-- use a ref to put this element in the naming namespace rather than openejb namespace-->
+ <xs:element ref="naming:cmp-connection-factory" minOccurs="0"/>
+ <xs:element name="ejb-ql-compiler-factory" type="xs:string" minOccurs="0"/>
+ <xs:element name="db-syntax-factory" type="xs:string" minOccurs="0"/>
+ <xs:element name="enforce-foreign-key-constraints" type="openejb:emptyType" minOccurs="0"/>
+
+ <xs:element name="enterprise-beans">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="session" type="openejb:session-beanType"/>
+ <xs:element name="entity" type="openejb:entity-beanType"/>
+ <xs:element name="message-driven" type="openejb:message-driven-beanType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="relationships" type="openejb:relationshipsType" minOccurs="0">
+ <xs:unique name="relationship-name-uniqueness">
+ <xs:selector xpath="openejb:ejb-relation"/>
+ <xs:field xpath="openejb:ejb-relation-name"/>
+ </xs:unique>
+ </xs:element>
+
+ <xs:element ref="naming:message-destination" minOccurs="0" maxOccurs="unbounded"/>
+
+ <xs:element ref="security:security" minOccurs="0"/>
+ <xs:element ref="sys:gbean" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="configId" type="xs:string" use="required"/>
+ <xs:attribute name="parentId" type="xs:string" use="optional"/>
+ <xs:attribute name="inverseClassloading" type="xs:boolean" use="optional"/>
+ </xs:complexType>
+
+ <!-- session bean section-->
+ <xs:complexType name="session-beanType">
+ <xs:sequence>
+ <xs:element name="ejb-name" type="xs:string"/>
+ <xs:element name="jndi-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="local-jndi-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:group ref="openejb:tssGroup" minOccurs="0"/>
+
+ <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
+ <xs:element name="web-service-address" type="xs:string" minOccurs="0"/>
+ <xs:element name="web-service-virtual-host" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="web-service-security" type="openejb:web-service-securityType" minOccurs="0"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ </xs:complexType>
+
+ <xs:group name="tssGroup">
+ <xs:sequence>
+ <xs:choice>
+ <xs:element name="tss-target-name" type="xs:string"/>
+ <xs:element name="tss-link" type="xs:string"/>
+ <xs:element name="tss" type="openejb:tssType"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+
+ <xs:complexType name="tssType">
+ <xs:sequence>
+ <!-- this is object name group from geronimo-naming.xsd -->
+ <xs:element name="domain" type="xs:string" minOccurs="0"/>
+ <xs:element name="server" type="xs:string" minOccurs="0"/>
+ <xs:element name="application" type="xs:string" minOccurs="0"/>
+ <xs:element name="module" type="xs:string" minOccurs="0"/>
+ <!-- <xs:element name="type" type="xs:string" minOccurs="0"/>-->
+ <xs:element name="name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="web-service-securityType">
+ <xs:sequence>
+ <xs:element name="security-realm-name" type="xs:string"/>
+ <xs:element name="realm-name" type="xs:string" minOccurs="0"/>
+ <xs:element name="transport-guarantee" type="openejb:transport-guaranteeType"/>
+ <xs:element name="auth-method" type="openejb:auth-methodType"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:simpleType name="transport-guaranteeType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="NONE"/>
+ <xs:enumeration value="INTEGRAL"/>
+ <xs:enumeration value="CONFIDENTIAL"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="auth-methodType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="BASIC"/>
+ <xs:enumeration value="DIGEST"/>
+ <xs:enumeration value="CLIENT-CERT"/>
+ <xs:enumeration value="NONE"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <!--entity bean section -->
+ <xs:complexType name="entity-beanType">
+ <xs:sequence>
+ <xs:element name="ejb-name" type="xs:string"/>
+ <xs:element name="jndi-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="local-jndi-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:group ref="openejb:tssGroup" minOccurs="0"/>
+
+ <xs:sequence minOccurs="0">
+ <xs:element name="table-name" type="xs:string"/>
+ <xs:element name="cmp-field-mapping" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="cmp-field-name" type="xs:string"/>
+ <xs:element name="cmp-field-class" type="xs:string" minOccurs="0"/>
+ <xs:element name="table-column" type="xs:string"/>
+ <xs:element name="sql-type" type="xs:string" minOccurs="0"/>
+ <xs:element name="type-converter" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="primkey-field" type="xs:string" minOccurs="0"/>
+ <xs:element ref="pkgen:key-generator" minOccurs="0"/>
+ <xs:element name="prefetch-group" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="group" minOccurs="0" maxOccurs="unbounded"
+ type="openejb:groupType"/>
+ <xs:element name="entity-group-mapping" minOccurs="0"
+ type="openejb:entity-group-mappingType"/>
+ <xs:element name="cmp-field-group-mapping" minOccurs="0" maxOccurs="unbounded"
+ type="openejb:cmp-field-group-mappingType"/>
+ <xs:element name="cmr-field-group-mapping" minOccurs="0" maxOccurs="unbounded"
+ type="openejb:cmr-field-group-mappingType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+
+ <xs:element name="cache" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="isolation-level">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="read-uncommitted"/>
+ <xs:enumeration value="read-committed"/>
+ <xs:enumeration value="repeatable-read"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="size" type="xs:int"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
+
+ <xs:element name="query" type="openejb:queryType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ </xs:complexType>
+
+ <xs:complexType name="groupType">
+ <xs:sequence>
+ <xs:element name="group-name" type="xs:string"/>
+ <xs:element name="cmp-field-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="cmr-field" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="cmr-field-name" type="xs:string"/>
+ <xs:element name="group-name" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="entity-group-mappingType">
+ <xs:sequence>
+ <xs:element name="group-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="cmp-field-group-mappingType">
+ <xs:sequence>
+ <xs:element name="group-name" type="xs:string"/>
+ <xs:element name="cmp-field-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="cmr-field-group-mappingType">
+ <xs:sequence>
+ <xs:element name="group-name" type="xs:string"/>
+ <xs:element name="cmr-field-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="queryType">
+ <xs:sequence>
+ <xs:element name="query-method">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="method-name" type="xs:string"/>
+ <xs:element name="method-params">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="method-param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="result-type-mapping" minOccurs="0" type="xs:string"/>
+ <xs:element name="ejb-ql" type="xs:string" minOccurs="0"/>
+ <xs:element name="no-cache-flush" minOccurs="0"/>
+ <xs:element name="group-name" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="relationshipsType">
+ <xs:sequence>
+ <xs:element name="ejb-relation" type="openejb:ejb-relationType" maxOccurs="unbounded">
+ <xs:unique name="role-name-uniqueness">
+ <xs:selector xpath=".//openejb:ejb-relationship-role-name"/>
+ <xs:field xpath="."/>
+ </xs:unique>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="ejb-relationType">
+ <xs:sequence>
+ <xs:element name="ejb-relation-name" type="xs:string" minOccurs="0"/>
+ <xs:element name="many-to-many-table-name" type="xs:string" minOccurs="0"/>
+ <xs:element name="ejb-relationship-role" type="openejb:ejb-relationship-roleType" maxOccurs="2"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="ejb-relationship-roleType">
+ <xs:sequence>
+ <xs:element name="ejb-relationship-role-name" type="xs:string" minOccurs="0"/>
+ <xs:element name="relationship-role-source">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="ejb-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="cmr-field" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="cmr-field-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="foreign-key-column-on-source" minOccurs="0"/>
+ <xs:element name="role-mapping">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="cmr-field-mapping" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="key-column" type="xs:string"/>
+ <xs:element name="foreign-key-column" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+
+ <!--message driven bean section-->
+ <xs:complexType name="message-driven-beanType">
+ <xs:sequence>
+ <xs:element name="ejb-name" type="xs:string"/>
+ <xs:element ref="naming:resource-adapter"/>
+ <xs:element name="activation-config"
+ type="openejb:activation-configType"
+ minOccurs="0"/>
+
+ <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ </xs:complexType>
+
+ <xs:complexType name="activation-configType">
+ <xs:sequence>
+ <xs:element name="description"
+ type="xs:string"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xs:element name="activation-config-property"
+ type="openejb:activation-config-propertyType"
+ maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="activation-config-propertyType">
+ <xs:sequence>
+ <xs:element name="activation-config-property-name"
+ type="xs:string">
+ </xs:element>
+ <xs:element name="activation-config-property-value"
+ type="xs:string">
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/openejb/openejb-jar-2.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/openejb/openejb-jar-2.1.xsd?rev=580976&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/openejb/openejb-jar-2.1.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/openejb/openejb-jar-2.1.xsd Mon Oct 1 07:34:40 2007
@@ -0,0 +1,381 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ================================================================
+ Redistribution and use of this software and associated documentation
+ ("Software"), with or without modification, are permitted provided
+ that the following conditions are met:
+
+ 1. Redistributions of source code must retain copyright
+ statements and notices. Redistributions must also contain a
+ copy of this document.
+
+ 2. Redistributions in binary form must reproduce this list of
+ conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ 3. The name "OpenEJB" must not be used to endorse or promote
+ products derived from this Software without prior written
+ permission of The OpenEJB Group. For written permission,
+ please contact openejb-group@openejb.sf.net.
+
+ 4. Products derived from this Software may not be called "OpenEJB"
+ nor may "OpenEJB" appear in their names without prior written
+ permission of The OpenEJB Group. OpenEJB is a registered
+ trademark of The OpenEJB Group.
+
+ 5. Due credit should be given to the OpenEJB Project
+ (http://openejb.org/).
+
+ THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+ NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+ THE OPENEJB GROUP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ ====================================================================
+
+ This software consists of voluntary contributions made by many
+ individuals on behalf of the OpenEJB Project. For more information
+ please see <http://openejb.org/>.
+
+ ================================================================ -->
+
+<xs:schema
+ xmlns:openejb="http://www.openejb.org/xml/ns/openejb-jar-2.1"
+ targetNamespace="http://www.openejb.org/xml/ns/openejb-jar-2.1"
+ xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1"
+ xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"
+ xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="1.0">
+
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.1" schemaLocation="geronimo-naming-1.1.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/security-1.1" schemaLocation="geronimo-security-1.1.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.1" schemaLocation="geronimo-module-1.1.xsd"/>
+ <xs:import namespace="http://www.openejb.org/xml/ns/pkgen-2.0" schemaLocation="openejb-pkgen-2.0.xsd"/>
+
+ <xs:element name="openejb-jar" type="openejb:openejb-jarType"/>
+
+ <xs:complexType name="emptyType"/>
+
+ <xs:complexType name="openejb-jarType">
+ <xs:sequence>
+ <xs:element ref="sys:environment" minOccurs="0"/>
+
+ <!-- use a ref to put this element in the naming namespace rather than openejb namespace-->
+ <xs:element ref="naming:cmp-connection-factory" minOccurs="0"/>
+ <xs:element name="ejb-ql-compiler-factory" type="xs:string" minOccurs="0"/>
+ <xs:element name="db-syntax-factory" type="xs:string" minOccurs="0"/>
+ <xs:element name="enforce-foreign-key-constraints" type="openejb:emptyType" minOccurs="0"/>
+
+ <xs:element name="enterprise-beans">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="session" type="openejb:session-beanType"/>
+ <xs:element name="entity" type="openejb:entity-beanType"/>
+ <xs:element name="message-driven" type="openejb:message-driven-beanType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="relationships" type="openejb:relationshipsType" minOccurs="0">
+ <xs:unique name="relationship-name-uniqueness">
+ <xs:selector xpath="openejb:ejb-relation"/>
+ <xs:field xpath="openejb:ejb-relation-name"/>
+ </xs:unique>
+ </xs:element>
+
+ <xs:element ref="naming:message-destination" minOccurs="0" maxOccurs="unbounded"/>
+
+ <xs:element ref="security:security" minOccurs="0"/>
+ <xs:element ref="sys:gbean" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- session bean section-->
+ <xs:complexType name="session-beanType">
+ <xs:sequence>
+ <xs:element name="ejb-name" type="xs:string"/>
+ <xs:element name="jndi-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="local-jndi-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:group ref="openejb:tssGroup" minOccurs="0"/>
+
+ <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
+ <xs:element name="web-service-address" type="xs:string" minOccurs="0"/>
+ <xs:element name="web-service-virtual-host" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="web-service-security" type="openejb:web-service-securityType" minOccurs="0"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ </xs:complexType>
+
+ <xs:group name="tssGroup">
+ <xs:sequence>
+ <xs:choice>
+ <xs:element name="tss-link" type="xs:string"/>
+ <xs:element name="tss" type="naming:patternType"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:group>
+
+ <xs:complexType name="tssType">
+ <xs:sequence>
+ <!-- this is object name group from geronimo-naming.xsd -->
+ <xs:element name="domain" type="xs:string" minOccurs="0"/>
+ <xs:element name="server" type="xs:string" minOccurs="0"/>
+ <xs:element name="application" type="xs:string" minOccurs="0"/>
+ <xs:element name="module" type="xs:string" minOccurs="0"/>
+ <!-- <xs:element name="type" type="xs:string" minOccurs="0"/>-->
+ <xs:element name="name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="web-service-securityType">
+ <xs:sequence>
+ <xs:element name="security-realm-name" type="xs:string"/>
+ <xs:element name="realm-name" type="xs:string" minOccurs="0"/>
+ <xs:element name="transport-guarantee" type="openejb:transport-guaranteeType"/>
+ <xs:element name="auth-method" type="openejb:auth-methodType"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:simpleType name="transport-guaranteeType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="NONE"/>
+ <xs:enumeration value="INTEGRAL"/>
+ <xs:enumeration value="CONFIDENTIAL"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="auth-methodType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="BASIC"/>
+ <xs:enumeration value="DIGEST"/>
+ <xs:enumeration value="CLIENT-CERT"/>
+ <xs:enumeration value="NONE"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <!--entity bean section -->
+ <xs:complexType name="entity-beanType">
+ <xs:sequence>
+ <xs:element name="ejb-name" type="xs:string"/>
+ <xs:element name="jndi-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="local-jndi-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:group ref="openejb:tssGroup" minOccurs="0"/>
+
+ <xs:sequence minOccurs="0">
+ <xs:element name="table-name" type="xs:string"/>
+ <xs:element name="static-sql" type="openejb:emptyType" minOccurs="0"/>
+ <xs:element name="cmp-field-mapping" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="cmp-field-name" type="xs:string"/>
+ <xs:element name="cmp-field-class" type="xs:string" minOccurs="0"/>
+ <xs:element name="table-column" type="xs:string"/>
+ <xs:element name="sql-type" type="xs:string" minOccurs="0"/>
+ <xs:element name="type-converter" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="primkey-field" type="xs:string" minOccurs="0"/>
+ <xs:element ref="pkgen:key-generator" minOccurs="0"/>
+ <xs:element name="prefetch-group" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="group" minOccurs="0" maxOccurs="unbounded"
+ type="openejb:groupType"/>
+ <xs:element name="entity-group-mapping" minOccurs="0"
+ type="openejb:entity-group-mappingType"/>
+ <xs:element name="cmp-field-group-mapping" minOccurs="0" maxOccurs="unbounded"
+ type="openejb:cmp-field-group-mappingType"/>
+ <xs:element name="cmr-field-group-mapping" minOccurs="0" maxOccurs="unbounded"
+ type="openejb:cmr-field-group-mappingType"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+
+ <xs:element name="cache" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="isolation-level">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="read-uncommitted"/>
+ <xs:enumeration value="read-committed"/>
+ <xs:enumeration value="repeatable-read"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="size" type="xs:int"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
+
+ <xs:element name="query" type="openejb:queryType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ </xs:complexType>
+
+ <xs:complexType name="groupType">
+ <xs:sequence>
+ <xs:element name="group-name" type="xs:string"/>
+ <xs:element name="cmp-field-name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="cmr-field" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="cmr-field-name" type="xs:string"/>
+ <xs:element name="group-name" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="entity-group-mappingType">
+ <xs:sequence>
+ <xs:element name="group-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="cmp-field-group-mappingType">
+ <xs:sequence>
+ <xs:element name="group-name" type="xs:string"/>
+ <xs:element name="cmp-field-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="cmr-field-group-mappingType">
+ <xs:sequence>
+ <xs:element name="group-name" type="xs:string"/>
+ <xs:element name="cmr-field-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="queryType">
+ <xs:sequence>
+ <xs:element name="query-method">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="method-name" type="xs:string"/>
+ <xs:element name="method-params">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="method-param" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="result-type-mapping" minOccurs="0" type="xs:string"/>
+ <xs:element name="ejb-ql" type="xs:string" minOccurs="0"/>
+ <xs:element name="no-cache-flush" minOccurs="0"/>
+ <xs:element name="group-name" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="relationshipsType">
+ <xs:sequence>
+ <xs:element name="ejb-relation" type="openejb:ejb-relationType" maxOccurs="unbounded">
+ <xs:unique name="role-name-uniqueness">
+ <xs:selector xpath=".//openejb:ejb-relationship-role-name"/>
+ <xs:field xpath="."/>
+ </xs:unique>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="ejb-relationType">
+ <xs:sequence>
+ <xs:element name="ejb-relation-name" type="xs:string" minOccurs="0"/>
+ <xs:element name="many-to-many-table-name" type="xs:string" minOccurs="0"/>
+ <xs:element name="ejb-relationship-role" type="openejb:ejb-relationship-roleType" maxOccurs="2"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="ejb-relationship-roleType">
+ <xs:sequence>
+ <xs:element name="ejb-relationship-role-name" type="xs:string" minOccurs="0"/>
+ <xs:element name="relationship-role-source">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="ejb-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="cmr-field" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="cmr-field-name" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="foreign-key-column-on-source" minOccurs="0"/>
+ <xs:element name="role-mapping">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="cmr-field-mapping" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="key-column" type="xs:string"/>
+ <xs:element name="foreign-key-column" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+
+ <!--message driven bean section-->
+ <xs:complexType name="message-driven-beanType">
+ <xs:sequence>
+ <xs:element name="ejb-name" type="xs:string"/>
+ <xs:element ref="naming:resource-adapter"/>
+ <xs:element name="activation-config"
+ type="openejb:activation-configType"
+ minOccurs="0"/>
+
+ <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:ID"/>
+ </xs:complexType>
+
+ <xs:complexType name="activation-configType">
+ <xs:sequence>
+ <xs:element name="description"
+ type="xs:string"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xs:element name="activation-config-property"
+ type="openejb:activation-config-propertyType"
+ maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="activation-config-propertyType">
+ <xs:sequence>
+ <xs:element name="activation-config-property-name"
+ type="xs:string">
+ </xs:element>
+ <xs:element name="activation-config-property-value"
+ type="xs:string">
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>