Módosítások

Attribute Conversion for eduGAIN

56 bájt törölve, 2008. október 8., 14:16
a
Attribute conversion rule types: minor changes
=== CustomRule ===
If you need to create new attributes from program (eg. appending generated identifiers), you can use the '''CustomRule ''' type.
<source lang="xml">
=== Negating matches ===
If your federation has ''optional'' attributes then sometimes it is desirable to process rules '''only if a particular attribute does not exist.''' Therefore it is possible to append a '''<code>negate</code>''' boolean attribute (setting it to '''true''') to the '''<AttributeMatchcode><*Match>''' and the '''<RemoteProviderMatch/code>''' nodes (inside '''the <code><Condition>''' </code> element) to revert the match. It means that the rule is only processed if there is no match in the attribute set (or to for the remote provider string)given value.
The following example creates <code>preferredLanguage</code> only if it is not set by the IdP (or by the peer's home bridging element):

Navigációs menü