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/09/20 22:25:28 UTC
svn commit: r577905 [3/7] - in /geronimo/site/trunk/docs/xml: ./ ns/ ns/j2ee/
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-connector-1.2.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-connector-1.2.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-connector-1.2.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-connector-1.2.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,742 @@
+<?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.
+-->
+
+<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:ger="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
+ xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ attributeFormDefault="unqualified">
+
+ <xs:annotation>
+ <xs:documentation>
+ This is an XML Schema Definition for Geronimo resource adapter
+ deployment plan. In case the Geronimo resource adapter deployment
+ plan is provided internally in the resource adapter archive, it
+ should be names META-INF/geronimo-ra.xml. In case the Geronimo
+ resource adapter deployment plan is provided externally, the
+ deployment descriptor can be named anything and provided to the
+ deploy tool. Alternatively it can be included in the EAR and
+ referenced by an alt-dd element of the EAR deployment plan. All the
+ Geronimo resource adapter deployment plan must specify the top level
+ element as connector with namespace specified as xmlns=
+ "http://geronimo.apache.org/xml/ns/j2ee/connector-1.2". The default
+ location for this document is
+ http://geronimo.apache.org/schemas-1.2/geronimo-connector-1.2.xsd
+ </xs:documentation>
+ </xs:annotation>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.2"
+ schemaLocation="geronimo-naming-1.2.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ Import partial schema containing common naming elements, the
+ imported plan declares elements like ejb-ref, ejb-local-ref,
+ service-ref,resource-ref, and resource-env-ref required by this
+ plan schema.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:import>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ schemaLocation="geronimo-module-1.2.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ Import Geronimo Services deployment plans. The imported plan
+ includes complex types like moduleType, environmentType,
+ dependenciesType, etc. required by this plan schema.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:import>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace"
+ schemaLocation="http://www.w3.org/2001/xml.xsd" />
+
+ <xs:annotation>
+ <xs:documentation>
+ <![CDATA[
+ documents using this schema should start like:
+ <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
+ version="1.5">
+
+ @(#)geronimo-connector_1_5.xsds
+ ]]>
+ </xs:documentation>
+ </xs:annotation>
+
+ <!-- **************************************************** -->
+
+ <xs:element name="connector" type="ger:connectorType">
+ <xs:annotation>
+ <xs:documentation>
+ The connector element is the root element of the deployment
+ descriptor for the resource adapter. Note that the sub-elements
+ of this element should be as in the given order in a sequence.
+ It includes geronimo specific information for the resource
+ adapter library.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:unique name="resourceadapter-instance-name-uniqueness">
+ <xs:annotation>
+ <xs:documentation>
+ The resourceadapter-instance element must have a unique
+ name.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:selector
+ xpath="ger:resourceadapter/ger:resourceadapter-instance" />
+ <xs:field xpath="ger:resourceadapter-name" />
+ </xs:unique>
+
+ <xs:unique name="connectiondefinition-instance-name-uniqueness">
+ <xs:annotation>
+ <xs:documentation>
+ The connectiondefinition-instance element must have a unique
+ name.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:selector
+ xpath="ger:resourceadapter/ger:outbound-resourceadapter/ger:connection-definition/ger:connectiondefinition-instance" />
+ <xs:field xpath="ger:name" />
+ </xs:unique>
+
+ <xs:unique name="admin-object-instance-name-uniqueness">
+ <xs:annotation>
+ <xs:documentation>
+ The admin-object-instance element must have a unique name.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:selector xpath="ger:adminobject/ger:adminobject-instance" />
+ <xs:field xpath="ger:message-destination-name" />
+ </xs:unique>
+ </xs:element>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="adminobjectType">
+ <xs:annotation>
+ <xs:documentation>
+ This complex type maps back to adminobjectType complex type in
+ connectors xsd.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="adminobject-interface"
+ type="ger:fully-qualified-classType">
+ <xs:annotation>
+ <xs:documentation>
+ The element adminobject-interface maps back to an
+ adminobject-interface element in ra.xml. It specifies
+ the fully qualified name of Java interface of the
+ administrated object.
+ </xs:documentation>
+ </xs:annotation>
+
+ </xs:element>
+ <xs:element name="adminobject-class"
+ type="ger:fully-qualified-classType">
+ <xs:annotation>
+ <xs:documentation>
+ The element adminobject-class maps back to an
+ adminobject-class element in ra.xml. It specifies the
+ fully qualified name of Java class of the administrated
+ object.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="adminobject-instance"
+ type="ger:adminobject-instanceType" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The element adminobject-instance contains the
+ configuration for this specific instance of the
+ administered object type, with a unique name, and values
+ for any configuration properties necessary for that
+ administered object type.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="adminobject-instanceType">
+ <xs:sequence>
+ <xs:element name="message-destination-name" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>
+ A unique name for admin object instance. Used in object
+ name of gbean for it. Matches message-destination-name
+ in ejb-jar.xml assembly descriptor.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="config-property-setting"
+ type="ger:config-property-settingType" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The element config-property-setting specifies the set of
+ properties for admin object instance.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="config-property-settingType">
+ <xs:annotation>
+ <xs:documentation>
+ The config-property-settingType contains a name-value pair for a
+ config-property or required-config-property
+ </xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation>
+ The name of the property in name-value pair. It
+ should match the config-property-name in a
+ config-property in the adminobject element of the
+ ra.xml file.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="connection-definitionType">
+ <xs:annotation>
+ <xs:documentation>
+ The connection-definitionType defines a set of connection
+ interfaces and classes pertaining to a particular connection
+ type. This also includes configurable properties for
+ ManagedConnectionFactory instances that may be produced out of
+ this set.
+
+ The name element uniquely identifies this instance
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="connectionfactory-interface"
+ type="ger:fully-qualified-classType">
+ <xs:annotation>
+ <xs:documentation>
+ The connectionfactory-interface is unique in ra.xml so
+ is used to index into ra.xml. It provides the fully
+ qualified name of java interface used as
+ connectionfactory for resource adapter.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="connectiondefinition-instance"
+ type="ger:connectiondefinition-instanceType" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The connectiondefinition-instance provides the
+ configuration for a specific connection.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="connectiondefinition-instanceType">
+ <xs:sequence>
+ <xs:element name="name" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>
+ The unique name of the connection definition instance
+ used to identify the connection configuration specified
+ here.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="implemented-interface"
+ type="ger:fully-qualified-classType" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Additional fully qualified name of java interfaces
+ implemented by the connectionfactory used by the
+ application apart from the connectionfactory-interface
+ specified before.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="config-property-setting"
+ type="ger:config-property-settingType" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The element config-property-setting specifies the set of
+ properties for connection instance.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <!--<xs:choice>-->
+
+ <xs:element name="connectionmanager"
+ type="ger:connectionmanagerType">
+ <xs:annotation>
+ <xs:documentation>
+ The connectionmanager element specifies the connection
+ specific settings like transaction, security, and
+ connection pool.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <!--<xs:element name="connectionmanager-ref" type="xs:string"/>-->
+ <!--</xs:choice>-->
+
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="connectionmanagerType">
+ <xs:annotation>
+ <xs:documentation>
+ The connectionmanager element specifies the connection specific
+ settings like transaction, security, and connection pool.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="container-managed-security" type="ger:emptyType"
+ minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ This empty element indicates that the connection is
+ authenticated by container and no user authentication is
+ required. This setting is ignored if res-auth is
+ provided inr resource-ref.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:choice minOccurs="0">
+ <xs:element name="no-transaction" type="ger:emptyType">
+ <xs:annotation>
+ <xs:documentation>
+ This empty element indicates no participation of
+ connection in any transactions.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="local-transaction" type="ger:emptyType">
+ <xs:annotation>
+ <xs:documentation>
+ This empty element indicates participation of
+ connection in only local transactions involving only
+ this connection.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="xa-transaction"
+ type="ger:xatransactionType">
+ <xs:annotation>
+ <xs:documentation>
+ The xa-transaction element indicates participation
+ of connection in multi resource transactions. This
+ element provides caching information for XA
+ transaction.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="transaction-log" type="ger:emptyType">
+ <xs:annotation>
+ <xs:documentation>
+ This empty element indicates participation JDBC
+ resource of local transaction type in XA
+ transactions.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:choice>
+ <xs:choice>
+ <xs:element name="no-pool" type="ger:emptyType">
+ <xs:annotation>
+ <xs:documentation>
+ This empty element indicates connection will not be
+ pooled at all, which mean every connection request
+ will open a connection for its own purpose.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="single-pool" type="ger:singlepoolType">
+ <xs:annotation>
+ <xs:documentation>
+ This element indicates connection will pooled in
+ only one connection pool. This element provides
+ information about single connection pool being
+ deployed.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="partitioned-pool"
+ type="ger:partitionedpoolType">
+ <xs:annotation>
+ <xs:documentation>
+ This element indicates connection will pooled in
+ multiple connection pools. This element provides
+ information about multiple connection pools being
+ deployed.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="xatransactionType">
+ <xs:sequence>
+ <xs:element name="transaction-caching" type="ger:emptyType"
+ minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ This empty element indicates the sharing of same
+ connection in same transaction if multiple connections
+ are requested in same transaction.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="thread-caching" type="ger:emptyType"
+ minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ This empty element indicates the sharing of same
+ connection in same thread if multiple connections are
+ requested in same thread.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="singlepoolType">
+ <xs:sequence>
+ <xs:element name="max-size" type="xs:int" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The maximum number of connection in a connection pool
+ being deployed. The connection pool will stop filling
+ once reached this value.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="min-size" type="xs:int" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The minimum number of connection in a connection pool
+ being deployed. The connection pool will try to fill
+ itself if the number of connections fall below this
+ value.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="blocking-timeout-milliseconds" type="xs:int"
+ minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The time after which timeout will be thrown if no
+ connections are available to be loaned in a connection
+ pool.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="idle-timeout-minutes" type="xs:int"
+ minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The time after which connection will be automatically
+ considered released.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:choice>
+ <xs:element name="match-one" type="ger:emptyType">
+ <xs:annotation>
+ <xs:documentation>
+ This element indicates that only one connection
+ needs to be checked for matching the connection
+ request. If the connection does not match, it throws
+ an error to the effect of "please adjust your
+ configuration and try again".
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="match-all" type="ger:emptyType">
+ <xs:annotation>
+ <xs:documentation>
+ This element indicates that all the connections need
+ to be checked for matching the connection request.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="select-one-assume-match"
+ type="ger:emptyType">
+ <xs:annotation>
+ <xs:documentation>
+ This empty field indicated that no connection
+ settings need to checked and matched, and assumes
+ that all connections are same and one of them will
+ be returned back to client.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="partitionedpoolType">
+ <complexContent>
+ <extension base="ger:singlepoolType">
+ <xs:sequence>
+ <xs:element name="partition-by-subject" type="ger:emptyType"
+ minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ This empty partition-by-subject field indicates
+ that connection pool has to be partitioned by
+ subject field.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="partition-by-connectionrequestinfo"
+ type="ger:emptyType" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ This empty partition-by-connectionrequestinfo
+ field indicates that connection pool has to be
+ partitioned by connection request information.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </extension>
+ </complexContent>
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="connectorType">
+ <xs:annotation>
+ <xs:documentation>
+ The connector element is the root element of the deployment
+ descriptor for the resource adapter. Note that the sub-elements
+ of this element should be as in the given order in a sequence.
+ It includes geronimo specific information for the resource
+ adapter library.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element ref="sys:environment" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to environment element defined in imported
+ "geronimo-module-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="resourceadapter" type="ger:resourceadapterType"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The element resourceadapter defines the resource
+ adapters for the connector defined in the document.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="adminobject" type="ger:adminobjectType"
+ minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The element adminobject maps back to adminobject defined
+ in ra.xml. It provides specific instance information for
+ administer object defined in ra.xml. For example, if
+ topic is declared in the ra.xml this could provide topic
+ instance information.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element ref="sys:service" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to service element defined in imported
+ "geronimo-module-1.2.xsd".
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="emptyType" />
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="outbound-resourceadapterType">
+ <xs:annotation>
+ <xs:documentation>
+ The outbound-resourceadapterType specifies information about an
+ outbound resource adapter. The information includes fully
+ qualified names of classes/interfaces required as part of the
+ connector architecture specified contracts for connection
+ management, level of transaction support provided, one or more
+ authentication mechanisms supported and additional required
+ security permissions.
+
+ If there is no authentication-mechanism specified as part of
+ resource adapter element then the resource adapter does not
+ support any standard security authentication mechanisms as part
+ of security contract. The application server ignores the
+ security part of the system contracts in this case.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="connection-definition"
+ type="ger:connection-definitionType" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The connection-definitionType defines a set of
+ connection interfaces and classes pertaining to a
+ particular connection type. This also includes
+ configurable properties for ManagedConnectionFactory
+ instances that may be produced out of this set.
+
+ The name element uniquely identifies this instance.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="resourceadapterType">
+ <xs:sequence>
+ <xs:element name="resourceadapter-instance"
+ type="ger:resourceadapter-instanceType" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The resourceadapter instance provide resource adapter
+ instance specific information like configuration
+ properties and workmanager implementation.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="outbound-resourceadapter"
+ type="ger:outbound-resourceadapterType" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The outbound-resourceadapterType specifies information
+ about an outbound resource adapter. The information
+ includes fully qualified names of classes/interfaces
+ required as part of the connector architecture specified
+ contracts for connection management, level of
+ transaction support provided, one or more authentication
+ mechanisms supported and additional required security
+ permissions.
+
+ If there is no authentication-mechanism specified as
+ part of resource adapter element then the resource
+ adapter does not support any standard security
+ authentication mechanisms as part of security contract.
+ The application server ignores the security part of the
+ system contracts in this case.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="resourceadapter-instanceType">
+ <xs:annotation>
+ <xs:documentation>
+ The resourceadapter instance info is put in a separate optional
+ element to provide easier more consistent support for 1.0
+ adapters. The resourceadapter instance provide resource adapter
+ instance specific information like configuration properties and
+ workmanager implementation.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="resourceadapter-name" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>
+ The element resourceadapter-name provides a name for
+ this resource adapter, and it is used to index back to
+ the resourceadapter-name specified in ra.xml.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="config-property-setting"
+ type="ger:config-property-settingType" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The element config-property-setting specifies the set of
+ properties for resource adapter instance.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element ref="naming:workmanager">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to workmanager element defined in imported
+ "geronimo-naming-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- types borrowed from the j2ee schema. We might want to centralize these -->
+
+ <xs:simpleType name="fully-qualified-classType">
+ <xs:restriction base="xs:string" />
+ </xs:simpleType>
+
+ <xs:complexType name="descriptionType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute ref="xml:lang" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+</xs:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-javabean-xmlattribute-1.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-javabean-xmlattribute-1.0.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-javabean-xmlattribute-1.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-javabean-xmlattribute-1.0.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed 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.
+-->
+
+<xs:schema
+ targetNamespace="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0"
+ xmlns:javabean="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ >
+ <xs:annotation>
+ <xs:documentation>
+ Schema for javabean xml attributes
+
+ >gbeans xmlns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0"<
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:element name="javabean" type="javabean:javabeanType"/>
+
+ <xs:complexType name="javabeanType">
+ <xs:sequence>
+ <xs:element name="property" type="javabean:propertyType" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="bean-property" type="javabean:bean-propertyType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="propertyType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:complexType name="bean-propertyType">
+ <xs:sequence>
+ <xs:element ref="javabean:javabean"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string"/>
+ </xs:complexType>
+
+</xs:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-1.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-1.0.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-1.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-1.0.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2004-2005 The Apache Software Foundation
+
+ Licensed 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.
+-->
+
+<xs:schema
+ xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.0"
+ targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.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: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:element name="web-app" type="web:web-appType"/>
+
+
+ <xs:complexType name="web-appType">
+ <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"/>
+
+ <xs:element name="context-root" type="xs:string" minOccurs="0"/>
+ <xs:element name="context-priority-classloader" type="xs:boolean" minOccurs="0"/>
+ <xs:element name="virtual-host" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="session-manager" type="xs:string" minOccurs="0"/>
+
+ <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
+ <xs:element ref="naming:message-destination" minOccurs="0" maxOccurs="unbounded"/>
+
+ <xs:sequence minOccurs="0">
+ <xs:element name="security-realm-name" type="xs:string"/>
+ <xs:element ref="security:security" minOccurs="0"/>
+ </xs:sequence>
+
+ <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>
+
+ <xs:complexType name="container-configType">
+ <xs:sequence>
+ <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-1.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-1.1.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-1.1.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-1.1.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2004-2005 The Apache Software Foundation
+
+ Licensed 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.
+-->
+
+<xs:schema
+ xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.1"
+ targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.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: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:element name="web-app" type="web:web-appType"/>
+
+
+ <xs:complexType name="web-appType">
+ <xs:sequence>
+ <xs:element ref="sys:environment" minOccurs="0"/>
+
+ <xs:element name="context-root" type="xs:string" minOccurs="0"/>
+ <!--<xs:element name="context-priority-classloader" type="xs:boolean" minOccurs="0"/>-->
+
+ <xs:element ref="naming:web-container" minOccurs="0"/>
+
+ <xs:element name="host" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="virtual-host" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element name="session-manager" type="xs:string" minOccurs="0"/>
+
+ <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
+ <xs:element ref="naming:message-destination" minOccurs="0" maxOccurs="unbounded"/>
+
+ <xs:sequence minOccurs="0">
+ <xs:element name="security-realm-name" type="xs:string"/>
+ <xs:element ref="security:security" minOccurs="0"/>
+ </xs:sequence>
+
+ <xs:element ref="sys:gbean" minOccurs="0" maxOccurs="unbounded"/>
+
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-2.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-2.0.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-2.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-2.0.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,222 @@
+<?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.
+-->
+
+<xs:schema xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-2.0"
+ targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-2.0"
+ xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+ xmlns:ee="http://java.sun.com/xml/ns/persistence"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ attributeFormDefault="unqualified" version="1.0">
+
+ <xs:annotation>
+ <xs:documentation>
+ This is an XML Schema Definition for Geronimo jetty web application
+ deployment plan. In case the web application deployment plan is
+ provided internally in the web archive, it should be named
+ META-INF/geronimo-web.xml. In case the web application deployment
+ plan is provided externally the deployment descriptor can be named
+ anything and provided to the deploy tool. Alternatively it can be
+ included in the EAR and referenced by an alt-dd element of the EAR
+ deployment plan. All the web application deployment plan must
+ specify the top level element as web-app with namespace specified as
+ xmlns="http://geronimo.apache.org/xml/ns/j2ee/jetty-1.2". The
+ default location for this document is
+ http://geronimo.apache.org/schemas-1.2/geronimo-jetty-2.0.xsd
+ </xs:documentation>
+ </xs:annotation>
+
+ <!--xmlns:security="http://geronimo.apache.org/xml/ns/security-1.2"-->
+
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.2"
+ schemaLocation="geronimo-naming-1.2.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ Import partial schema containing common naming elements, the
+ imported plan declares elements like ejb-ref, ejb-local-ref,
+ service-ref, resource-ref, and resource-env-ref required by this
+ plan schema.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:import>
+
+ <!--<xs:import namespace="http://geronimo.apache.org/xml/ns/security-1.2" schemaLocation="geronimo-security-1.2.xsd"/>-->
+
+ <xs:import
+ namespace="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+ schemaLocation="geronimo-application-2.0.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ Import Geronimo application deployment plans. The imported plan
+ includes abstract complex types security and clustering element
+ required by this plan schema.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:import>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ schemaLocation="geronimo-module-1.2.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ Import Geronimo Services deployment plans. the imported plan
+ includes complex types like moduleType, environmentType,
+ dependenciesType, etc. required by this plan schema.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:import>
+
+ <xs:import namespace="http://java.sun.com/xml/ns/persistence" schemaLocation="persistence-1.0.xsd"/>
+
+ <xs:element name="web-app" type="web:web-appType">
+ <xs:annotation>
+ <xs:documentation>
+ The web-app element is the root of the deployment descriptor for
+ a Geronimo jetty web application. Note that the sub-elements of
+ this element should be as in the given order in a sequence.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="web-appType">
+ <xs:sequence>
+ <xs:element ref="sys:environment" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to environment element defined in imported
+ "geronimo-module-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="context-root" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ This is the first part of the URL used to access the web
+ application. For example context-root of "Sample-App"
+ will have URL of http://host:port/Sample-App" and a
+ context-root of "/" would make this the default web
+ application to the server.
+
+ If the web application is packaged as an EAR that can
+ use application context in the "application.xml". This
+ element is necessary unless you want context root to
+ default to the WAR name.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element ref="app:clustering" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to abstract clustering element defined in
+ imported "geronimo-application-2.0.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element ref="naming:web-container" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to web-container element defined in imported
+ "geronimo-naming-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="host" type="xs:string" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The host element maps the web application to this
+ particular host name.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="virtual-host" type="xs:string" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The virtual-host element maps the web application to
+ this particular host name.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="session-manager" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The session-manager provides the fully qualified class
+ name of the clustering implementation
+ (org.codehaus.wadi.jetty5.JettyManager) used by this web
+ application.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:group ref="naming:jndiEnvironmentRefsGroup">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to jndiEnvironmentRefsGroup group defined in
+ imported "geronimo-naming-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:group>
+ <xs:element ref="naming:message-destination" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to message-destination element defined in
+ imported "geronimo-naming-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:sequence minOccurs="0">
+ <xs:element name="security-realm-name" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>
+ The security-realm-name element provides the name of
+ security realm that will be used by JAAS
+ authentication. The name should match the your
+ security realm GBean.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element ref="app:security" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to security element defined in imported
+ "geronimo-security-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="sys:service" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to abstract service element defined in imported
+ "geronimo-module-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element ref="ee:persistence"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-config-1.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-config-1.0.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-config-1.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-jetty-config-1.0.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,81 @@
+<?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.
+-->
+
+<xs:schema xmlns:jetty="http://geronimo.apache.org/xml/ns/web/jetty/config-1.0"
+ targetNamespace="http://geronimo.apache.org/xml/ns/web/jetty/config-1.0"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ attributeFormDefault="unqualified" version="1.0">
+
+ <xs:annotation>
+ <xs:documentation>
+ This is an XML Schema Definition for Geronimo jetty specific
+ configuration. It is a used as a sub part of the web application
+ deployment plan. The elements defined in this plan are included in
+ container-config element of web application plan. The top level
+ element included in container-config is jetty with namespace
+ specified as
+ xmlns="http://geronimo.apache.org/xml/ns/j2ee/jetty-config-1.0". The
+ default location for this document is
+ http://geronimo.apache.org/schemas-1.2/geronimo-jetty-config-1.0.xsd
+ </xs:documentation>
+ </xs:annotation>
+ <xs:element name="jetty" type="jetty:jetty-configType">
+ <xs:annotation>
+ <xs:documentation>
+ The jetty element is the root of the deployment descriptor for a
+ jetty specific configuration in web application. Note that the
+ sub-elements of this element should be as in the given order in
+ a sequence.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="jetty-configType">
+ <xs:sequence>
+ <xs:element name="host" type="xs:string" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The host element maps the web application to this
+ particular host name.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="virtual-host" type="xs:string" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The virtual-host element maps the web application to
+ this particular host name.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="session-manager" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The session-manager provides the fully qualified class
+ name of the clustering implementation
+ (org.codehaus.wadi.jetty5.JettyManager) used by this web
+ application.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-login-config-1.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-login-config-1.0.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-login-config-1.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-login-config-1.0.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2005 The Apache Software Foundation
+
+ Licensed 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.
+-->
+
+<!-- $Rev: 379628 $ $Date: 2006-02-21 18:44:02 -0500 (Tue, 21 Feb 2006) $ -->
+
+<xsd:schema
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+ xmlns:geronimo="http://geronimo.apache.org/xml/ns/loginconfig-1.0"
+ targetNamespace="http://geronimo.apache.org/xml/ns/loginconfig-1.0"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="1.0">
+
+ <xsd:element name="login-config" type="geronimo:login-configType"/>
+
+ <xsd:complexType name="login-configType">
+ <xsd:annotation>
+ <xsd:documentation>
+ Defines the list of login modules for a login configuration represented by a GenericSecurityRealm
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:element name="login-module-ref" type="geronimo:login-module-refType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="login-module" type="geronimo:login-moduleType" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:choice>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="abstract-login-moduleType" abstract="true">
+ <xsd:attribute name="control-flag" type="geronimo:control-flagType" use="required"/>
+ <xsd:attribute name="wrap-principals" type="xsd:boolean"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="login-module-refType">
+ <xsd:complexContent>
+ <xsd:extension base="geronimo:abstract-login-moduleType">
+ <xsd:sequence>
+ <xsd:element name="domain" type="xsd:string" minOccurs="0"/>
+ <xsd:element name="server" type="xsd:string" minOccurs="0"/>
+ <xsd:element name="application" type="xsd:string" minOccurs="0"/>
+ <!--<xsd:element name="moduleType" type="xsd:string" minOccurs="0"/>-->
+ <xsd:element name="module" type="xsd:string" minOccurs="0"/>
+ <xsd:element name="type" type="xsd:string" minOccurs="0"/>
+ <xsd:element name="name" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:simpleType name="control-flagType">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="REQUIRED"/>
+ <xsd:enumeration value="REQUISITE"/>
+ <xsd:enumeration value="SUFFICIENT"/>
+ <xsd:enumeration value="OPTIONAL"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:complexType name="login-moduleType">
+ <xsd:complexContent>
+ <xsd:extension base="geronimo:abstract-login-moduleType">
+ <xsd:sequence>
+ <xsd:element name="login-domain-name" type="xsd:string"/>
+ <xsd:element name="login-module-class" type="xsd:string"/>
+ <xsd:element name="option" type="geronimo:optionType" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="server-side" type="xsd:boolean" use="required"/>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="optionType">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="name" type="xsd:string" use="required"/>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+</xsd:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-login-config-1.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-login-config-1.1.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-login-config-1.1.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-login-config-1.1.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2005 The Apache Software Foundation
+
+ Licensed 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.
+-->
+
+<!-- $Rev: 499890 $ $Date: 2007-01-25 13:43:20 -0500 (Thu, 25 Jan 2007) $ -->
+
+<xsd:schema
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+ xmlns:geronimo="http://geronimo.apache.org/xml/ns/loginconfig-1.1"
+ targetNamespace="http://geronimo.apache.org/xml/ns/loginconfig-1.1"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="1.0">
+
+ <xsd:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.1" schemaLocation="geronimo-module-1.1.xsd"/>
+
+ <xsd:element name="login-config" type="geronimo:login-configType"/>
+
+ <xsd:complexType name="login-configType">
+ <xsd:annotation>
+ <xsd:documentation>
+ Defines the list of login modules for a login configuration represented by a GenericSecurityRealm
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:element name="login-module-ref" type="geronimo:login-module-refType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="login-module" type="geronimo:login-moduleType" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:choice>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="abstract-login-moduleType" abstract="true">
+ <xsd:attribute name="control-flag" type="geronimo:control-flagType" use="required"/>
+ <xsd:attribute name="wrap-principals" type="xsd:boolean"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="login-module-refType">
+ <xsd:complexContent>
+ <xsd:extension base="geronimo:abstract-login-moduleType">
+ <xsd:sequence>
+ <xsd:element name="pattern" type="sys:patternType"/>
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:simpleType name="control-flagType">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="REQUIRED"/>
+ <xsd:enumeration value="REQUISITE"/>
+ <xsd:enumeration value="SUFFICIENT"/>
+ <xsd:enumeration value="OPTIONAL"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:complexType name="login-moduleType">
+ <xsd:complexContent>
+ <xsd:extension base="geronimo:abstract-login-moduleType">
+ <xsd:sequence>
+ <xsd:element name="login-domain-name" type="xsd:string"/>
+ <xsd:element name="login-module-class" type="xsd:string"/>
+ <xsd:element name="option" type="geronimo:optionType" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="server-side" type="xsd:boolean" use="required"/>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="optionType">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="name" type="xsd:string" use="required"/>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+</xsd:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-login-config-2.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-login-config-2.0.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-login-config-2.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-login-config-2.0.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,263 @@
+<?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.
+-->
+
+<!-- $Rev: 573465 $ $Date: 2007-09-07 01:41:34 -0400 (Fri, 07 Sep 2007) $ -->
+
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+ xmlns:geronimo="http://geronimo.apache.org/xml/ns/loginconfig-2.0"
+ targetNamespace="http://geronimo.apache.org/xml/ns/loginconfig-2.0"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ elementFormDefault="qualified" attributeFormDefault="unqualified"
+ version="2.0">
+
+ <xsd:annotation>
+ <xsd:documentation>
+ This is an XML Schema Definition for login module configuration to
+ use for particular security module. Login module configuration is
+ specified by the level element as login-config with namespace
+ specified as xmlns =
+ "http://geronimo.apache.org/xml/ns/loginconfig-2.0". The default
+ location for this document is somewhere vaguely related to
+ http://geronimo.apache.org/schemas-1.2/geronimo-login-config-2.0.xsd
+ The definition of the XML format for storing login-config should
+ look like this:
+ <![CDATA[
+ <login-config xmlns="http://geronimo.apache.org/xml/ns/loginconfig-2.0">
+ <login-module control-flag="REQUIRED">
+ <login-domain-name>
+ some-name
+ </login-domain-name>
+ <login-module-class>
+ org.apache.geronimo.LoginModuleClass
+ </login-module-class>
+ <option name="usersURI">
+ usersinfo
+ </option>
+ </login-module>
+ </login-config>
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ schemaLocation="geronimo-module-1.2.xsd">
+ <xsd:annotation>
+ <xsd:documentation>
+ Import Geronimo Services deployment plans, the imported plan
+ includes complex types like moduleType, environmentType,
+ dependenciesType, etc. required by this plan schema.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:import>
+
+ <xsd:element name="login-config" type="geronimo:login-configType">
+ <xsd:annotation>
+ <xsd:documentation>
+ The root element for Geronimo login module configuration. This
+ configuration can either refer to existing login module or
+ define a new login configuration. Note that the sub-elements of
+ this element should be as in the given order in sequence.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+
+ <xsd:complexType name="login-configType">
+ <xsd:annotation>
+ <xsd:documentation>
+ Defines the list of login modules for a login configuration
+ represented by a GenericSecurityRealm
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:element name="login-module-ref"
+ type="geronimo:login-module-refType">
+ <xsd:annotation>
+ <xsd:documentation>
+ The login-module-ref element defines a reference to
+ existing login module configured in some other
+ GBean.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="login-module"
+ type="geronimo:login-moduleType">
+ <xsd:annotation>
+ <xsd:documentation>
+ The login-module element defines a new login module
+ configuration. It should provide the complete
+ information to GBean module being referred.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="abstract-login-moduleType" abstract="true">
+ <xsd:attribute name="control-flag" type="geronimo:control-flagType"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation>
+ The control-flag attribute specifies the JAAS control flag
+ used for this a login module configuration. It can be
+ REQUIRED, REQUISITE, SUFFICIENT, or OPTIONAL as defined by
+ JAAS API's.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="wrap-principals" type="xsd:boolean">
+ <xsd:annotation>
+ <xsd:documentation>
+ This boolean attribute specifies if the principals are
+ wrapped in this login module.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+
+ <xsd:complexType name="login-module-refType">
+ <xsd:complexContent>
+ <xsd:extension base="geronimo:abstract-login-moduleType">
+ <xsd:annotation>
+ <xsd:documentation>
+ Include attributes defined in abstract-login-moduleType
+ above.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="pattern" type="sys:patternType">
+ <xsd:annotation>
+ <xsd:documentation>
+ The pattern element defines a components of the
+ abstract name of GBean referred. It includes
+ information like groupId, artifactId, version,
+ module, type, and name of the GBean module.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:simpleType name="control-flagType">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="REQUIRED">
+ <xsd:annotation>
+ <xsd:documentation>
+ REQUIRED: Defines the requirement of this login module
+ configuration for authentication. In any case, control
+ will proceed to next login module.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:enumeration>
+ <xsd:enumeration value="REQUISITE">
+ <xsd:annotation>
+ <xsd:documentation>
+ REQUISITE: Defines the requirement of this login module
+ configuration for authentication. On failure, control
+ will return to application else proceed to next login
+ module.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:enumeration>
+ <xsd:enumeration value="SUFFICIENT">
+ <xsd:annotation>
+ <xsd:documentation>
+ SUFFICIENT: Defines the non-requirement of this login
+ module configuration for authentication. On success,
+ control will return to application else proceed to next
+ login module.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:enumeration>
+ <xsd:enumeration value="OPTIONAL">
+ <xsd:annotation>
+ <xsd:documentation>
+ OPTIONAL: Defines the requirement of this login module
+ configuration for authentication. In any case, control
+ will return to application.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:enumeration>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:complexType name="login-moduleType">
+ <xsd:complexContent>
+ <xsd:extension base="geronimo:abstract-login-moduleType">
+ <xsd:annotation>
+ <xsd:documentation>
+ Include attributes defined in abstract-login-moduleType
+ above.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="login-domain-name" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation>
+ This element defines a unique domain name to
+ each configuration of login module. This allows
+ configuration of same login module multiple
+ times with different domain name.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="login-module-class" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation>
+ This provides the name of class which provides
+ implementation of this LoginModule. This name
+ should be fully qualified java class name. Also
+ this class should have implemented
+ javax.security.auth.spi.LoginModule interface.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="option" type="geronimo:optionType"
+ minOccurs="0" maxOccurs="unbounded">
+ <xsd:annotation>
+ <xsd:documentation>
+ The name value pair for options (properties)
+ required by this login module.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="xml-option" type="sys:xml-attributeType" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="optionType">
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="name" type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation>
+ The name attribute specifies the name of option. The
+ value is specified by element value.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+</xsd:schema>