ansible-role-sso/templates/shibboleth-attribute-map.in...

7 lines
362 B
Django/Jinja

{% for item in saml_attributes %}
<Attribute {% for key,value in item.items() %}{% if value is not mapping %}{{ key }}="{{ value }}" {% endif %}{% endfor %}>
{% if item.attributeDecoder is defined %}
<AttributeDecoder {% for key,value in item.attributeDecoder.items() %}{{ key }}="{{ value }}" {% endfor %}/>
{% endif %}
</Attribute>
{% endfor %}