XTF: <behavior> to Access Control
kt109nc2cj.mets.xml
<behavior ID="auth1" STRUCTID="dynaxml" BTYPE="authentication" LABEL="Authentication Behavior">
<mechanism LABEL="Public Authentication Mechanism" LOCTYPE="URL" xlink:href="/dynaxml/profiles/authentication/publicAuthMech.xml"/>
</behavior>
publicAuthMech.xml
<authMech ID="public">
<auth access="allow" type="all"/>
</authMech<
doclookup.xsl
<xsl:choose>
<xsl:when test="contains($docId, 'preview')">
<auth access="allow" type="all"/>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="$authMech//auth"/>
</xsl:otherwise>
</xsl:choose>
- Individual Object Authentication
- Dynamic Lookup
- "Programmable" Configuration
- Complex Logical Tree possible with XSL
|