Show
Ignore:
Timestamp:
09/07/10 13:11:08 (21 months ago)
Author:
ffray
Message:

Added a hint for navigateTo-element.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-0.13.x/pfixcore/docs/docbook/src/reference/advancedtopics.xml

    r4440 r5342  
    424424        all <literal>pagerequests</literal> having no <literal>authconstraint</literal> asssigned. 
    425425      </para> 
     426      <tip version="0.13.24"> 
     427        <para> 
     428          In addition to the <literal>authpage</literal>-attribute one can define more fine-grained,  
     429          conditional navigation-cases via the new <literal>navigateTo</literal>-child-element to <literal>authconstraint</literal>. 
     430        </para> 
     431      </tip> 
    426432      <programlisting language="xml"><![CDATA[<authconstraint id="MYCONSTRAINT" authpage="login" default="true"> 
    427433  <or> 
     
    429435    <hasrole name="OTHERROLE"/> 
    430436  </or> 
     437  <!-- navigate to page guests, if constraints above fail, but user still has the "GUEST"-role --> 
     438  <navigateTo page="guests"> 
     439    <hasrole name="GUEST"/> 
     440  </navigateTo> 
    431441</authconstraint>]]></programlisting> 
    432442      <para>