[jboss-cvs] JBossAS SVN: r110780 - projects/jboss-jca/trunk/doc/userguide/en-US/modules.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Feb 25 08:28:16 EST 2011


Author: maeste
Date: 2011-02-25 08:28:15 -0500 (Fri, 25 Feb 2011)
New Revision: 110780

Modified:
   projects/jboss-jca/trunk/doc/userguide/en-US/modules/schemas.xml
Log:
adding new fields to schemas.xml

Modified: projects/jboss-jca/trunk/doc/userguide/en-US/modules/schemas.xml
===================================================================
--- projects/jboss-jca/trunk/doc/userguide/en-US/modules/schemas.xml	2011-02-25 10:45:52 UTC (rev 110779)
+++ projects/jboss-jca/trunk/doc/userguide/en-US/modules/schemas.xml	2011-02-25 13:28:15 UTC (rev 110780)
@@ -3105,24 +3105,53 @@
 
   <xs:complexType name="securityType">
     <xs:sequence>
-      <xs:element name="user-name" type="xs:token" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            Specifies the username used when creating a new connection. 
-            Ex: <user-name>sa</user-name>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="password" type="xs:token" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            Specifies the password used when creating a new connection. 
-            Ex: <password>sa-pass</password>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:sequence>
-  </xs:complexType>
+        <xs:choice>
+           <xs:element name="application" type="boolean-presenceType" minOccurs="0" maxOccurs="1">
+              <xs:annotation>
+                <xs:documentation>
+                   <![CDATA[[
+                    Indicates that app supplied parameters (such as from getConnection(user, pw))
+                    are used to distinguish connections in the pool.
+                    Ex:
+                     <application-managed-security/>
+                   ]]>
+                    </xs:documentation>
+                 </xs:annotation>
+              </xs:element>
+              <xs:element name="security-domain" type="xs:token" minOccurs="0" maxOccurs="1">
+                <xs:annotation>
+                  <xs:documentation>
+                    <![CDATA[[
+                    Indicates Subject (from security domain) are used to distinguish connections in the pool. 
+                    The content of the security-domain is the name of the JAAS security manager that will handle
+                    authentication. This name correlates to the JAAS login-config.xml descriptor
+                    application-policy/name attribute.
+                    Ex:
+                      <security-domain>HsqlDbRealm</security-domain>
+                    ]]>
+                  </xs:documentation>
+                </xs:annotation>
+               </xs:element>
+               <xs:element name="security-domain-and-application" type="xs:token" minOccurs="0" maxOccurs="1">
+                <xs:annotation>
+                  <xs:documentation>
+                    <![CDATA[[
+                    Indicates that either app supplied parameters (such as from
+                    getConnection(user, pw)) or Subject (from security domain) are used to
+                    distinguish connections in the pool. The content of the
+                    security-domain is the name of the JAAS security manager that will handle
+                    authentication. This name correlates to the JAAS login-config.xml descriptor
+                    application-policy/name attribute.
+                     
+                    Ex:
+                      <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
+                    ]]>
+                  </xs:documentation>
+                </xs:annotation>
+           </xs:element>
+        </xs:choice>
+      </xs:sequence>
+   </xs:complexType>
 
   <xs:complexType name="admin-objectsType">
     <xs:sequence>
@@ -3586,24 +3615,53 @@
 
   <xs:complexType name="securityType">
     <xs:sequence>
-      <xs:element name="user-name" type="xs:token" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            Specify the username used when creating a new connection. 
-            Ex: <user-name>sa</user-name>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="password" type="xs:token" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            Specify the password used when creating a new connection. 
-            Ex: <password>sa-pass</password>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:sequence>
-  </xs:complexType>
+        <xs:choice>
+           <xs:element name="application" type="boolean-presenceType" minOccurs="0" maxOccurs="1">
+              <xs:annotation>
+                <xs:documentation>
+                   <![CDATA[[
+                    Indicates that app supplied parameters (such as from getConnection(user, pw))
+                    are used to distinguish connections in the pool.
+                    Ex:
+                     <application-managed-security/>
+                   ]]>
+                    </xs:documentation>
+                 </xs:annotation>
+              </xs:element>
+              <xs:element name="security-domain" type="xs:token" minOccurs="0" maxOccurs="1">
+                <xs:annotation>
+                  <xs:documentation>
+                    <![CDATA[[
+                    Indicates Subject (from security domain) are used to distinguish connections in the pool. 
+                    The content of the security-domain is the name of the JAAS security manager that will handle
+                    authentication. This name correlates to the JAAS login-config.xml descriptor
+                    application-policy/name attribute.
+                    Ex:
+                      <security-domain>HsqlDbRealm</security-domain>
+                    ]]>
+                  </xs:documentation>
+                </xs:annotation>
+               </xs:element>
+               <xs:element name="security-domain-and-application" type="xs:token" minOccurs="0" maxOccurs="1">
+                <xs:annotation>
+                  <xs:documentation>
+                    <![CDATA[[
+                    Indicates that either app supplied parameters (such as from
+                    getConnection(user, pw)) or Subject (from security domain) are used to
+                    distinguish connections in the pool. The content of the
+                    security-domain is the name of the JAAS security manager that will handle
+                    authentication. This name correlates to the JAAS login-config.xml descriptor
+                    application-policy/name attribute.
+                     
+                    Ex:
+                      <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
+                    ]]>
+                  </xs:documentation>
+                </xs:annotation>
+           </xs:element>
+        </xs:choice>
+      </xs:sequence>
+   </xs:complexType>
 
   <xs:complexType name="admin-objectsType">
     <xs:sequence>
@@ -4255,21 +4313,39 @@
       <xs:element name="user-name" type="xs:token" minOccurs="0">
         <xs:annotation>
           <xs:documentation>
-            Specify the default username used when creating a new connection. 
-            Ex: <user-name>sa</user-name>
+              <![CDATA[[
+                Specify the username used when creating a new connection. 
+                Ex: <user-name>sa</user-name>
+               ]]>
           </xs:documentation>
         </xs:annotation>
       </xs:element>
       <xs:element name="password" type="xs:token" minOccurs="0">
         <xs:annotation>
           <xs:documentation>
-            Specify the default password used when creating a new connection. 
-            Ex: <password>sa-pass</password>
+              <![CDATA[[
+                Specify the password used when creating a new connection. 
+                Ex: <password>sa-pass</password>
+               ]]>
           </xs:documentation>
         </xs:annotation>
       </xs:element>
-    </xs:sequence>
-  </xs:complexType>
+            <xs:element name="security-domain" type="xs:token" minOccurs="0" maxOccurs="1">
+                <xs:annotation>
+                  <xs:documentation>
+                    <![CDATA[[
+                    Indicates Subject (from security domain) are used to distinguish connections in the pool. 
+                    The content of the security-domain is the name of the JAAS security manager that will handle
+                    authentication. This name correlates to the JAAS login-config.xml descriptor
+                    application-policy/name attribute.
+                    Ex:
+                      <security-domain>HsqlDbRealm</security-domain>
+                    ]]>
+                  </xs:documentation>
+                </xs:annotation>
+               </xs:element>
+      </xs:sequence>
+   </xs:complexType>
 </xs:schema>
  ]]>
     </programlisting>



More information about the jboss-cvs-commits mailing list