AquaLogic User Interaction Development Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Accessing Authentication Data Using Ensemble Adaptive Tags

The pt:ensemble.authsourcedata tag stores a list of available authentication sources for the currently requested resource in memory.

The data is stored as a collection, and each item in the collection is a data object containing information about the authentication source (prefix, name, description) accessible through the data object dot notation ($curauth.name).
<pt:ensemble.authsourcedata pt:key="sources"/>
<pt:logic.foreach pt:data="sources" pt:var="source">
<pt:logic.value pt:value="$source.prefix"/>
<pt:logic.value pt:value="$source.name"/>
<pt:logic.value pt:value="$source.description"/>
<pt:logic.separator><br>-----<br></pt:logic.separator>
</pt:logic.foreach>
This example uses logic tags to display information about each authentication source. For details on logic tags, see Logic Adaptive Tag Library (pt:logic).

  Back to Top      Previous Next