Author: shane.bryzak(a)jboss.com
Date: 2008-05-28 23:15:12 -0400 (Wed, 28 May 2008)
New Revision: 8303
Modified:
trunk/src/main/org/jboss/seam/security-2.1.xsd
Log:
added element definitions
Modified: trunk/src/main/org/jboss/seam/security-2.1.xsd
===================================================================
--- trunk/src/main/org/jboss/seam/security-2.1.xsd 2008-05-29 02:47:23 UTC (rev 8302)
+++ trunk/src/main/org/jboss/seam/security-2.1.xsd 2008-05-29 03:15:12 UTC (rev 8303)
@@ -22,7 +22,6 @@
<xs:attributeGroup name="attlist.identity">
<xs:attribute name="authenticate-method"
type="components:expressionType"/>
<xs:attribute name="remember-me"
type="components:boolean"/>
- <xs:attribute name="authenticate-every-request"
type="components:boolean"/>
<xs:attribute name="jaas-config-name"
type="components:string"/>
</xs:attributeGroup>
@@ -30,6 +29,13 @@
<xs:attribute name="cookie-max-age"
type="components:int"/>
</xs:attributeGroup>
+ <xs:element name="identity-manager">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="security:attlist.identity-manager"/>
+ </xs:complexType>
+ </xs:element>
+
<xs:element name="jpa-identity-store">
<xs:complexType mixed="true">
<xs:attributeGroup ref="components:attlist.component"/>
@@ -37,8 +43,58 @@
</xs:complexType>
</xs:element>
+ <xs:element name="ldap-identity-store">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup
ref="security:attlist.ldap-identity-store"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="jpa-permission-store">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup
ref="security:attlist.jpa-permission-store"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.identity-manager">
+ <xs:attribute name="identity-store"
type="components:expressionType"/>
+ <xs:attribute name="role-identity-store"
type="components:expressionType"/>
+ </xs:attributeGroup>
+
<xs:attributeGroup name="attlist.jpa-identity-store">
- <xs:attribute name="account-class"
type="components:string"/>
+ <xs:attribute name="entity-manager"
type="components:string"/>
+ <xs:attribute name="user-class"
type="components:string"/>
+ <xs:attribute name="role-class"
type="components:string"/>
</xs:attributeGroup>
+ <xs:attributeGroup name="attlist.ldap-identity-store">
+ <xs:attribute name="server-address"
type="components:string"/>
+ <xs:attribute name="bind-DN"
type="components:string"/>
+ <xs:attribute name="bind-credentials"
type="components:string"/>
+ <xs:attribute name="user-DN-prefix"
type="components:string"/>
+ <xs:attribute name="user-DN-suffix"
type="components:string"/>
+ <xs:attribute name="role-DN-prefix"
type="components:string"/>
+ <xs:attribute name="role-DN-suffix"
type="components:string"/>
+ <xs:attribute name="user-context-DN"
type="components:string"/>
+ <xs:attribute name="role-context-DN"
type="components:string"/>
+ <xs:attribute name="user-role-attribute"
type="components:string"/>
+ <xs:attribute name="user-name-attribute"
type="components:string"/>
+ <xs:attribute name="role-name-attribute"
type="components:string"/>
+ <xs:attribute name="role-attribute-is-DN"
type="components:boolean"/>
+ <xs:attribute name="user-object-classes"
type="components:string"/>
+ <xs:attribute name="role-object-classes"
type="components:string"/>
+ <xs:attribute name="enabled-attribute"
type="components:string"/>
+ <xs:attribute name="search-scope"
type="components:string"/>
+ <xs:attribute name="first-name-attribute"
type="components:string"/>
+ <xs:attribute name="last-name-attribute"
type="components:string"/>
+ <xs:attribute name="user-password-attribute"
type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.jpa-permission-store">
+ <xs:attribute name="entity-manager"
type="components:string"/>
+ <xs:attribute name="user-permission-class"
type="components:string"/>
+ <xs:attribute name="role-permission-class"
type="components:string"/>
+ </xs:attributeGroup>
+
</xs:schema>