Created
February 4, 2015 08:11
-
-
Save francescm/ef5bd3bb52e1328a6485 to your computer and use it in GitHub Desktop.
email scripted attribute definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<resolver:AttributeDefinition id="email" xsi:type="Script" language="groovy" xmlns="urn:mace:shibboleth:2.0:resolver:ad" > | |
<resolver:Dependency ref="uid" /> | |
<resolver:AttributeEncoder xsi:type="enc:SAML1String" name="urn:mace:dir:attribute-def:mail" encodeType="false" /> | |
<resolver:AttributeEncoder xsi:type="enc:SAML2String" name="urn:oid:0.9.2342.19200300.100.1.3" friendlyName="mail" encodeType="false" /> | |
<ScriptFile>%{idp.home}/script/mail.groovy</ScriptFile> | |
</resolver:AttributeDefinition> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment