activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martyntay...@apache.org
Subject [10/17] activemq-6 git commit: ACTIVEMQ6-4 - refactor schemas
Date Tue, 18 Nov 2014 12:34:25 GMT
http://git-wip-us.apache.org/repos/asf/activemq-6/blob/574c8fe9/activemq-server/src/main/resources/schema/activemq-users.xsd
----------------------------------------------------------------------
diff --git a/activemq-server/src/main/resources/schema/activemq-users.xsd b/activemq-server/src/main/resources/schema/activemq-users.xsd
new file mode 100644
index 0000000..272cde1
--- /dev/null
+++ b/activemq-server/src/main/resources/schema/activemq-users.xsd
@@ -0,0 +1,29 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:activemq"
xmlns="urn:activemq"
+            elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
+
+   <xsd:element name="configuration">
+      <xsd:complexType>
+         <xsd:sequence>
+            <xsd:element name="mask-password" type="xsd:boolean" maxOccurs="1" minOccurs="0"></xsd:element>
+            <xsd:element name="password-codec" type="xsd:string" maxOccurs="1" minOccurs="0"></xsd:element>
+            <xsd:element name="defaultuser" type="userType" maxOccurs="1" minOccurs="0"></xsd:element>
+            <xsd:element name="user" type="userType" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+         </xsd:sequence>
+      </xsd:complexType>
+   </xsd:element>
+
+   <xsd:element name="role">
+      <xsd:complexType>
+         <xsd:attribute name="name" type="xsd:string" use="required"></xsd:attribute>
+      </xsd:complexType>
+   </xsd:element>
+
+   <xsd:complexType name="userType">
+      <xsd:sequence>
+         <xsd:element ref="role" maxOccurs="unbounded" minOccurs="1"></xsd:element>
+      </xsd:sequence>
+      <xsd:attribute name="name" type="xsd:ID" use="required"></xsd:attribute>
+      <xsd:attribute name="password" type="xsd:string"></xsd:attribute>
+   </xsd:complexType>
+</xsd:schema>


Mime
View raw message