Show
Ignore:
Timestamp:
09/04/10 22:05:44 (21 months ago)
Author:
ffray
Message:

Added navigateTo-elements to auth-constraints allowing to create
conditional navigation-cases.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-0.13.x/pfixcore/projects/core/schema/context-xml-service-config.xsd

    r5339 r5341  
    140140 
    141141  <xs:complexType name="authconstraintTopLevelType"> 
    142     <xs:choice minOccurs="0"> 
    143       <xs:element ref="prop:abstractcondition" minOccurs="0"/> 
    144       <xs:element name="authconstraint" type="prop:authconstraintRefType"/> 
    145     </xs:choice> 
     142    <xs:sequence> 
     143      <xs:choice minOccurs="0"> 
     144        <xs:element ref="prop:abstractcondition" minOccurs="0"/> 
     145        <xs:element name="authconstraint" type="prop:authconstraintRefType"/> 
     146      </xs:choice> 
     147      <xs:element ref="prop:navigateTo" minOccurs="0" maxOccurs="unbounded"/> 
     148    </xs:sequence> 
    146149    <xs:attribute name="id" type="xs:ID" use="required"/> 
    147150    <xs:attribute name="authpage" type="xs:string" use="optional"/> 
     
    205208  </xs:complexType> 
    206209   
     210  <xs:element name="navigateTo" type="prop:navigateToType" /> 
     211  <xs:complexType name="navigateToType"> 
     212    <xs:complexContent> 
     213      <xs:extension base="prop:abstractconditionType"> 
     214        <xs:choice maxOccurs="unbounded"> 
     215          <xs:element ref="prop:abstractcondition"/> 
     216          <xs:element name="condition" type="prop:conditionType"/> 
     217        </xs:choice> 
     218        <xs:attribute name="page" type="xs:string" use="required" /> 
     219      </xs:extension> 
     220    </xs:complexContent> 
     221  </xs:complexType> 
     222   
    207223  <xs:element name="condition" type="prop:conditionTopLevelType"/> 
    208224   
     
    324340  <xs:complexType name="implementsType"> 
    325341    <xs:attribute name="class" use="required"/> 
     342    <xs:attribute name="bean-name" use="optional" /> 
     343    <xs:attribute name="scope" use="optional" /> 
     344    <xs:attribute name="parent-bean-ref" use="optional"/> 
    326345  </xs:complexType> 
    327346  <!-- </context> -->