[jboss-cvs] JBossAS SVN: r75776 - in trunk/security: src/etc and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jul 14 10:49:59 EDT 2008


Author: adrian at jboss.org
Date: 2008-07-14 10:49:59 -0400 (Mon, 14 Jul 2008)
New Revision: 75776

Added:
   trunk/security/src/etc/schema/
   trunk/security/src/etc/schema/security-config_4_0.xsd
   trunk/security/src/etc/schema/security-config_4_1.xsd
   trunk/security/src/etc/schema/security-config_5_0.xsd
Modified:
   trunk/security/build.xml
Log:
[JBAS-5767] - Temporary fix for missing security schemas

Modified: trunk/security/build.xml
===================================================================
--- trunk/security/build.xml	2008-07-14 14:43:58 UTC (rev 75775)
+++ trunk/security/build.xml	2008-07-14 14:49:59 UTC (rev 75776)
@@ -245,11 +245,15 @@
 
     <mkdir dir="${build.lib}"/>
 
-    <!-- Build jbosssx-server.jar -->
+    <!-- Build jbosssx-server.jar -->
+    <echo>FIXME !!!!! Remove src/etc/schema when they are included in jbosssx.jar</echo>
     <jar jarfile="${build.lib}/jbosssx-server.jar"
       manifest="${build.etc}/default.mf">
       <fileset dir="${build.classes}">
       </fileset>
+      <fileset dir="${build.etc}">
+        <include name="schema/**"/>
+      </fileset>
     </jar>
     <!-- Build jbosssx-as-client.jar -->
     <jar jarfile="${build.lib}/jbosssx-as-client.jar"

Added: trunk/security/src/etc/schema/security-config_4_0.xsd
===================================================================
--- trunk/security/src/etc/schema/security-config_4_0.xsd	                        (rev 0)
+++ trunk/security/src/etc/schema/security-config_4_0.xsd	2008-07-14 14:49:59 UTC (rev 75776)
@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   xmlns="http://www.jboss.org/j2ee/schema/jaas"
+   targetNamespace="http://www.jboss.org/j2ee/schema/jaas"
+   elementFormDefault="unqualified" attributeFormDefault="unqualified" version="4.0">
+   <xs:annotation>
+      <xs:documentation><![CDATA[
+   $Id: security-config_4_0.xsd 26729 2004-12-19 00:44:45Z starksm $
+	This is the XML Schema for the jboss 4.0 security configuration descriptor.
+	The default version of the descriptor is found in conf/login-config.xml
+   and this version of the schema is indicated using:
+
+	    <policy xmlns="http://www.jboss.org/j2ee/schema/jaas"
+	      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	      xsi:schemaLocation="http://www.jboss.org/j2ee/schema/security-config_4_0.xsd"
+	      version="4.0">
+	      ...
+	    </policy>
+
+	The instance documents may indicate the published version of
+	the schema using the xsi:schemaLocation attribute:
+	http://www.jboss.org/j2ee/schema/security-config_4_0.xsd
+
+   The outline of a policy/application-policy is:
+   <policy>
+    <application-policy name="security-domain-name">
+     <authentication>
+       <login-module code="login.module1.class.name" flag="control_flag">
+         <module-option name = "option1-name">option1-value</module-option>
+         <module-option name = "option2-name">option2-value</module-option>
+         ...
+       </login-module>
+   
+       <login-module code="login.module2.class.name" flag="control_flag">
+         ...
+       </login-module>
+       ...
+     </authentication>
+    </application-policy>
+   </policy>
+	]]></xs:documentation>
+   </xs:annotation>
+   <xs:element name="policy">
+      <xs:annotation>
+         <xs:documentation>The policy element is the root of the security
+            configuration descriptor.</xs:documentation>
+      </xs:annotation>
+      <xs:complexType>
+         <xs:sequence>
+            <xs:element maxOccurs="unbounded" ref="application-policy"/>
+         </xs:sequence>
+      </xs:complexType>
+   </xs:element>
+   <xs:element name="application-policy">
+      <xs:annotation>
+         <xs:documentation>The application-policy lists configuration for a
+            named policy. This currently only consists of the authentication
+            configuration. </xs:documentation>
+      </xs:annotation>
+      <xs:complexType>
+         <xs:sequence>
+            <xs:element ref="authentication"/>
+         </xs:sequence>
+         <xs:attribute name="name" use="required" type="xs:NCName">
+            <xs:annotation>
+               <xs:documentation>The name attribute defines the authentication
+                  configuration name. This is the name that would be passed to
+                  the JAAS LoginContext ctor to use the associated login module stack.</xs:documentation>
+            </xs:annotation>
+         </xs:attribute>
+      </xs:complexType>
+   </xs:element>
+   <xs:element name="authentication">
+      <xs:annotation>
+         <xs:documentation>The authentication element contains the login module
+            stack configuration. Each login module configuration is specified
+            using a login-module element.</xs:documentation>
+      </xs:annotation>
+      <xs:complexType>
+         <xs:sequence>
+            <xs:element maxOccurs="unbounded" ref="login-module"/>
+         </xs:sequence>
+      </xs:complexType>
+   </xs:element>
+   <xs:element name="login-module">
+      <xs:annotation>
+         <xs:documentation>The login-module element defines a JAAS login module
+            configuration entry. Each entry must have a code and flag attribute
+            along with zero or more login module options specified via the
+            module-option element. </xs:documentation>
+      </xs:annotation>
+      <xs:complexType>
+         <xs:sequence>
+            <xs:element minOccurs="0" maxOccurs="unbounded" ref="module-option"/>
+         </xs:sequence>
+         <xs:attribute name="code" use="required">
+            <xs:annotation>
+               <xs:documentation>The code attribute gives the fully qualifed class
+                  name of the javax.security.auth.spi.LoginModule interface implementation
+                  for the login module.
+               </xs:documentation>
+            </xs:annotation>
+         </xs:attribute>
+         <xs:attribute name="flag" use="required">
+            <xs:annotation>
+               <xs:documentation>The flag attribute controls how a login module
+                  participates in the overall authentication proceedure.
+                  Required - The LoginModule is required to succeed. If it
+                  succeeds or fails, authentication still continues to proceed
+                  down the LoginModule list.
+
+                  Requisite - The LoginModule is required to succeed. If it succeeds,
+                  authentication continues down the LoginModule list. If it fails,
+                  control immediately returns to the application (authentication does not proceed
+                  down the LoginModule list).
+
+                  Sufficient - The LoginModule is  not required to succeed. If it does
+                  succeed, control immediately returns to the application (authentication
+                  does not proceed down the LoginModule list). If it fails,
+                  authentication continues down the LoginModule list.
+                  
+                  Optional - The LoginModule is not required to succeed. If it succeeds or
+                  fails, authentication still continues to proceed down the
+                  LoginModule list.
+                  
+                  The overall authentication succeeds only if
+                  all required and requisite LoginModules succeed. If a
+                  sufficient LoginModule is configured and succeeds, then only
+                  the required and requisite LoginModules prior to that
+                  sufficient LoginModule need to have succeeded for the overall
+                  authentication to succeed. If no required or requisite
+                  LoginModules are configured for an application, then at least
+                  one sufficient or optional LoginModule must succeed. </xs:documentation>
+            </xs:annotation>
+         </xs:attribute>
+      </xs:complexType>
+   </xs:element>
+   <xs:element name="module-option">
+      <xs:annotation>
+         <xs:documentation>A module option defines a name, value pair that are
+         passed to a LoginModule when it is initialized during the login proceedure.
+         The name attribute defines the option name while the element value is the
+         option value. The type of the value can be anything from a string obtained
+         from the module-option body, to arbitary objects unmarshalled based on
+         the namespace associated with the module-option child element.</xs:documentation>
+      </xs:annotation>
+      <xs:complexType mixed="true">
+         <xs:sequence>
+            <xs:any namespace="##any"/>
+         </xs:sequence>
+         <xs:attribute name="name" use="required" type="xs:NCName">
+            <xs:annotation>
+               <xs:documentation>The module option name. This is the key used to store
+               the module value in the LoginModule initalize options Map.</xs:documentation>
+            </xs:annotation>
+         </xs:attribute>
+      </xs:complexType>
+   </xs:element>
+</xs:schema>
+

Added: trunk/security/src/etc/schema/security-config_4_1.xsd
===================================================================
--- trunk/security/src/etc/schema/security-config_4_1.xsd	                        (rev 0)
+++ trunk/security/src/etc/schema/security-config_4_1.xsd	2008-07-14 14:49:59 UTC (rev 75776)
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: security-config_4_1.xsd 45686 2006-06-20 04:47:48Z asaldhana $ -->
+
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+   elementFormDefault="qualified"
+   xmlns:jaas="urn:jboss:security-config:4.1"
+   xmlns:jbxb="http://www.jboss.org/xml/ns/jbxb"
+   targetNamespace="urn:jboss:security-config:4.1">
+
+   <xsd:annotation>
+      <xsd:documentation><![CDATA[
+         The login-config.xml schema with jbossxb annotations that map conforming
+         documents to the org.jboss.security.auth.login.PolicyConfig.
+     $Id: security-config_4_1.xsd 45686 2006-06-20 04:47:48Z asaldhana $
+    This is the XML Schema for the jboss 4.1 security configuration descriptor.
+    The default version of the descriptor is found in conf/login-config.xml
+     and this version of the schema is indicated using:
+
+        <policy xmlns="urn:jboss:security-config:4.1"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          version="4.1">
+          ...
+        </policy>
+
+     The outline of a policy/application-policy is:
+     <policy>
+      <application-policy name="security-domain-name">
+       <authentication>
+         <login-module code="login.module1.class.name" flag="control_flag">
+           <module-option name = "option1-name">option1-value</module-option>
+           <module-option name = "option2-name">option2-value</module-option>
+           ...
+         </login-module>
+   
+         <login-module code="login.module2.class.name" flag="control_flag">
+           ...
+         </login-module>
+         ...
+       </authentication>
+      </application-policy>
+     </policy>
+    ]]></xsd:documentation>
+      <xsd:appinfo>
+         <jbxb:schemaBindings>
+            <jbxb:package name="org.jboss.security.config"/>
+            <jbxb:ignoreUnresolvedFieldOrClass>false</jbxb:ignoreUnresolvedFieldOrClass>
+         </jbxb:schemaBindings>
+      </xsd:appinfo>
+   </xsd:annotation>
+
+  <xsd:element name="policy">
+    <xsd:complexType>
+       <xsd:annotation>
+         <xsd:documentation>The policy element is the root of the security
+            configuration descriptor.</xsd:documentation>
+          <xsd:appinfo>
+             <jbxb:class impl="org.jboss.security.config.PolicyConfig"/>
+          </xsd:appinfo>
+       </xsd:annotation>
+
+      <xsd:sequence>
+        <xsd:element maxOccurs="unbounded" ref="jaas:application-policy"/>
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="application-policy">
+    <xsd:complexType>
+       <xsd:annotation>
+          <xsd:documentation>The application-policy lists configuration for a
+             named policy. This currently only consists of the authentication
+             configuration. </xsd:documentation>
+          <xsd:appinfo>
+            <jbxb:class impl="org.jboss.security.config.ApplicationPolicyContainer"/>
+            <jbxb:addMethod name="add" valueType="org.jboss.security.config.ApplicationPolicy"/>
+          </xsd:appinfo>
+       </xsd:annotation>
+
+      <xsd:sequence>
+        <xsd:element ref="jaas:authentication"/>
+      </xsd:sequence>
+      <xsd:attribute name="name" use="required" type="xsd:string"/>
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="authentication">
+    <xsd:annotation>
+      <xsd:documentation>The authentication element contains the login module
+         stack configuration. Each login module configuration is specified
+         using a login-module element.</xsd:documentation>
+       <xsd:appinfo>
+          <jbxb:skip/>
+       </xsd:appinfo>
+    </xsd:annotation>
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element maxOccurs="unbounded" ref="jaas:login-module"/>
+      </xsd:sequence>
+    </xsd:complexType>
+  </xsd:element>
+  <xsd:element name="login-module">
+    <xsd:complexType>
+       <xsd:annotation>
+         <xsd:documentation>The login-module element defines a JAAS login module
+            configuration entry. Each entry must have a code and flag attribute
+            along with zero or more login module options specified via the
+            module-option element. </xsd:documentation>
+          <xsd:appinfo>
+             <jbxb:class impl="org.jboss.security.auth.login.AppConfigurationEntryHolder"/>
+          </xsd:appinfo>
+       </xsd:annotation>
+      <xsd:sequence>
+        <xsd:element minOccurs="0" maxOccurs="unbounded" ref="jaas:module-option"/>
+      </xsd:sequence>
+      <xsd:attribute name="code" use="required" type="xsd:string"/>
+      <xsd:attribute name="flag" use="required">
+        <xsd:annotation>
+           <xsd:documentation>The flag attribute controls how a login module
+              participates in the overall authentication proceedure.
+              Required - The LoginModule is required to succeed. If it
+              succeeds or fails, authentication still continues to proceed
+              down the LoginModule list.
+
+              Requisite - The LoginModule is required to succeed. If it succeeds,
+              authentication continues down the LoginModule list. If it fails,
+              control immediately returns to the application (authentication does not proceed
+              down the LoginModule list).
+
+              Sufficient - The LoginModule is  not required to succeed. If it does
+              succeed, control immediately returns to the application (authentication
+              does not proceed down the LoginModule list). If it fails,
+              authentication continues down the LoginModule list.
+                  
+              Optional - The LoginModule is not required to succeed. If it succeeds or
+              fails, authentication still continues to proceed down the
+              LoginModule list.
+                  
+              The overall authentication succeeds only if
+              all required and requisite LoginModules succeed. If a
+              sufficient LoginModule is configured and succeeds, then only
+              the required and requisite LoginModules prior to that
+              sufficient LoginModule need to have succeeded for the overall
+              authentication to succeed. If no required or requisite
+              LoginModules are configured for an application, then at least
+              one sufficient or optional LoginModule must succeed.
+           </xsd:documentation>
+        </xsd:annotation>
+        <xsd:simpleType>
+          <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:attribute>
+    </xsd:complexType>
+  </xsd:element>
+  <xsd:element name="module-option">
+    <xsd:complexType mixed="true">
+       <xsd:annotation>
+            <xsd:documentation>A module option defines a name, value pair that are
+            passed to a LoginModule when it is initialized during the login proceedure.
+            The name attribute defines the option name while the element value is the
+            option value. The type of the value can be anything from a string obtained
+            from the module-option body, to arbitary objects unmarshalled based on
+            the namespace associated with the module-option child element
+            </xsd:documentation>
+          <xsd:appinfo>
+             <!-- ModuleOption declares a constructor that takes name as a parameter
+                  while the value should be set with the setter.
+                  This use-case is not supported out-of-the-box. So, we use this container. -->
+             <jbxb:class impl="org.jboss.security.auth.login.ModuleOptionContainer"/>
+          </xsd:appinfo>
+       </xsd:annotation>
+      <xsd:sequence>
+        <xsd:any minOccurs="0" maxOccurs="1" namespace="##other" />
+      </xsd:sequence>
+      <xsd:attribute name="name" use="required" type="xsd:string"/>
+    </xsd:complexType>
+  </xsd:element>
+</xsd:schema>

Added: trunk/security/src/etc/schema/security-config_5_0.xsd
===================================================================
--- trunk/security/src/etc/schema/security-config_5_0.xsd	                        (rev 0)
+++ trunk/security/src/etc/schema/security-config_5_0.xsd	2008-07-14 14:49:59 UTC (rev 75776)
@@ -0,0 +1,272 @@
+<!-- $Id: security-config_5_0.xsd 65769 2007-10-02 19:17:34Z anil.saldhana at jboss.com $ -->
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+            xmlns:jbsx="urn:jboss:security-config:5.0" 
+            xmlns="urn:jboss:security-config:5.0" 
+            xmlns:jbxb="http://www.jboss.org/xml/ns/jbxb" 
+            targetNamespace="urn:jboss:security-config:5.0" 
+            elementFormDefault="qualified"
+            attributeFormDefault="unqualified">
+   <xsd:annotation>
+      <xsd:appinfo>
+         <jbxb:schemaBindings>
+            <jbxb:package name="org.jboss.security.config"/>
+            <jbxb:ignoreUnresolvedFieldOrClass>
+               false</jbxb:ignoreUnresolvedFieldOrClass>
+         </jbxb:schemaBindings>
+      </xsd:appinfo>
+   </xsd:annotation>
+   <xsd:element name="policy" type="jbsx:PolicyConfig"/>
+   <xsd:complexType name="PolicyConfig">
+      <xsd:annotation>
+         <xsd:appinfo>
+            <jbxb:class impl="org.jboss.security.config.PolicyConfig"/>
+         </xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element ref="jbsx:application-policy" maxOccurs="unbounded"/>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:element name="application-policy">
+      <xsd:complexType>
+         <xsd:annotation>
+            <xsd:appinfo>
+               <jbxb:class impl="org.jboss.security.config.ApplicationPolicyContainer"/>
+               <jbxb:addMethod name="add" valueType="org.jboss.security.config.ApplicationPolicy"/>
+            </xsd:appinfo>
+         </xsd:annotation>
+         <xsd:sequence>
+            <xsd:choice>
+               <xsd:element ref="jbsx:authentication"/>
+               <xsd:element ref="jbsx:authentication-jaspi"/>
+            </xsd:choice>
+            <xsd:element ref="jbsx:authorization" minOccurs="0"/>
+            <xsd:element ref="jbsx:rolemapping" minOccurs="0"/>
+            <xsd:element ref="jbsx:audit" minOccurs="0"/>
+            <xsd:element ref="jbsx:identity-trust" minOccurs="0"/>
+         </xsd:sequence>
+         <xsd:attribute name="name" type="xsd:string" use="required"/>
+         <xsd:attribute name="extends" type="xsd:string"/>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="authentication" type="jbsx:authenticationInfo"/>
+   <xsd:element name="authentication-jaspi" type="jbsx:authenticationJaspiInfo"/>
+   <xsd:element name="authorization" type="jbsx:authorizationInfo"/>
+   <xsd:element name="rolemapping" type="jbsx:roleMappingInfo"/>
+   <xsd:element name="audit" type="jbsx:auditInfo"/>
+   <xsd:element name="identity-trust" type="jbsx:identityTrustInfo"/>
+   <xsd:complexType name="authenticationInfo">
+      <xsd:annotation>
+         <xsd:appinfo>
+            <jbxb:skip/>
+         </xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element ref="jbsx:login-module" maxOccurs="unbounded"/>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="authenticationJaspiInfo">
+      <xsd:annotation>
+         <xsd:appinfo>
+            <jbxb:skip/>
+         </xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element ref="jbsx:login-module-stack" maxOccurs="unbounded"/>
+         <xsd:element ref="jbsx:auth-module" maxOccurs="unbounded"/>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="authorizationInfo">
+      <xsd:annotation>
+         <xsd:appinfo>
+            <jbxb:skip/>
+         </xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element ref="jbsx:policy-module"  maxOccurs="unbounded"/>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="roleMappingInfo">
+      <xsd:annotation>
+         <xsd:appinfo>
+            <jbxb:class impl="org.jboss.security.mapping.config.RoleMappingConfigContainer"/>
+            <jbxb:addMethod name="addMappingInfo"/>
+         </xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element ref="jbsx:mapping-module" maxOccurs="unbounded"/>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="auditInfo">
+      <xsd:annotation>
+         <xsd:appinfo>
+            <jbxb:skip/>
+         </xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element ref="jbsx:provider-module"  maxOccurs="unbounded"/>
+      </xsd:sequence>
+   </xsd:complexType>
+   <xsd:complexType name="identityTrustInfo">
+      <xsd:annotation>
+         <xsd:appinfo>
+            <jbxb:skip/>
+         </xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element ref="jbsx:trust-module"  maxOccurs="unbounded"/>
+      </xsd:sequence>
+   </xsd:complexType>
+    
+   
+   <xsd:simpleType name="module-option-flag">
+      <xsd:annotation>
+           <xsd:documentation>The flag attribute controls how a login module
+              participates in the overall authentication proceedure.
+              Required - The LoginModule is required to succeed. If it
+              succeeds or fails, authentication still continues to proceed
+              down the LoginModule list.
+
+              Requisite - The LoginModule is required to succeed. If it succeeds,
+              authentication continues down the LoginModule list. If it fails,
+              control immediately returns to the application (authentication does not proceed
+              down the LoginModule list).
+
+              Sufficient - The LoginModule is  not required to succeed. If it does
+              succeed, control immediately returns to the application (authentication
+              does not proceed down the LoginModule list). If it fails,
+              authentication continues down the LoginModule list.
+                  
+              Optional - The LoginModule is not required to succeed. If it succeeds or
+              fails, authentication still continues to proceed down the
+              LoginModule list.
+                  
+              The overall authentication succeeds only if
+              all required and requisite LoginModules succeed. If a
+              sufficient LoginModule is configured and succeeds, then only
+              the required and requisite LoginModules prior to that
+              sufficient LoginModule need to have succeeded for the overall
+              authentication to succeed. If no required or requisite
+              LoginModules are configured for an application, then at least
+              one sufficient or optional LoginModule must succeed.
+           </xsd:documentation>
+        </xsd:annotation> 
+      <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:element name="login-module" type="jbsx:loginModuleInfo"/>
+   <xsd:complexType name="loginModuleInfo">
+      <xsd:annotation>
+         <xsd:appinfo>
+            <jbxb:class impl="org.jboss.security.auth.login.AppConfigurationEntryHolder"/>
+         </xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element ref="jbsx:module-option" minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:sequence>
+      <xsd:attribute name="code" type="xsd:string" use="required"/>
+      <xsd:attribute name="flag" type="jbsx:module-option-flag" use="required"/>
+   </xsd:complexType>
+   
+   <xsd:element name="module-option">
+      <xsd:complexType mixed="true">
+         <xsd:annotation>
+            <xsd:appinfo>
+               <!-- ModuleOption declares a constructor that takes name as a parameter
+                 while the value should be set with the setter.
+               
+                 This use-case is not supported out-of-the-box. So, we use this container. -->
+               <jbxb:class impl="org.jboss.security.auth.login.ModuleOptionContainer"/>
+            </xsd:appinfo>
+         </xsd:annotation>
+         <xsd:sequence>
+            <xsd:any namespace="##other" minOccurs="0"/>
+         </xsd:sequence>
+         <xsd:attribute name="name" type="xsd:string" use="required"/>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="login-module-stack">
+      <xsd:complexType>
+         <xsd:annotation>
+            <xsd:appinfo>
+               <jbxb:class impl="org.jboss.security.auth.login.LoginModuleStackContainer"/>
+            </xsd:appinfo>
+         </xsd:annotation>
+         <xsd:sequence>
+            <xsd:element ref="jbsx:login-module" maxOccurs="unbounded"/>
+         </xsd:sequence>
+         <xsd:attribute name="name" type="xsd:string" use="required"/>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="auth-module" type="jbsx:authModuleInfo"/>
+   <xsd:complexType name="authModuleInfo">
+      <xsd:annotation>
+         <xsd:appinfo>
+            <jbxb:class impl="org.jboss.security.auth.container.config.AuthModuleEntryHolder"/>
+         </xsd:appinfo>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element ref="jbsx:module-option" minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:sequence>
+      <xsd:attribute name="code" type="xsd:string" use="required"/>
+      <xsd:attribute name="login-module-stack-ref" type="xsd:string"/>
+   </xsd:complexType>
+   <xsd:element name="policy-module">
+      <xsd:complexType>
+         <xsd:annotation>
+            <xsd:appinfo>
+               <jbxb:class impl="org.jboss.security.authorization.config.AuthorizationConfigEntryHolder"/>
+            </xsd:appinfo>
+         </xsd:annotation>
+         <xsd:sequence>
+            <xsd:element ref="jbsx:module-option" minOccurs="0" maxOccurs="unbounded"/>
+         </xsd:sequence>
+         <xsd:attribute name="code" type="xsd:string" use="required"/>
+         <xsd:attribute name="flag" type="jbsx:module-option-flag" use="required"/>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="mapping-module">
+      <xsd:complexType>
+         <xsd:annotation>
+            <xsd:appinfo>
+               <jbxb:class impl="org.jboss.security.mapping.config.MappingConfigEntryHolder"/>
+            </xsd:appinfo>
+         </xsd:annotation>
+         <xsd:sequence>
+            <xsd:element ref="jbsx:module-option" minOccurs="0" maxOccurs="unbounded"/>
+         </xsd:sequence>
+         <xsd:attribute name="code" type="xsd:string" use="required"/>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="provider-module">
+      <xsd:complexType>
+         <xsd:annotation>
+            <xsd:appinfo>
+               <jbxb:class impl="org.jboss.security.audit.config.AuditConfigEntryHolder"/>
+            </xsd:appinfo>
+         </xsd:annotation>
+         <xsd:sequence>
+            <xsd:element ref="jbsx:module-option" minOccurs="0" maxOccurs="unbounded"/>
+         </xsd:sequence>
+         <xsd:attribute name="code" type="xsd:string" use="required"/>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="trust-module">
+      <xsd:complexType>
+         <xsd:annotation>
+            <xsd:appinfo>
+               <jbxb:class impl="org.jboss.security.identitytrust.config.IdentityTrustConfigEntryHolder"/>
+            </xsd:appinfo>
+         </xsd:annotation>
+         <xsd:sequence>
+            <xsd:element ref="jbsx:module-option" minOccurs="0" maxOccurs="unbounded"/>
+         </xsd:sequence>
+         <xsd:attribute name="code" type="xsd:string" use="required"/>
+         <xsd:attribute name="flag" type="jbsx:module-option-flag" use="required"/>
+      </xsd:complexType>
+   </xsd:element>
+</xsd:schema>




More information about the jboss-cvs-commits mailing list