configuring meta-attributes in the Shib IdP
Tom Scavo
trscavo at gmail.com
Thu Dec 3 16:33:46 EST 2015
On Thu, Dec 3, 2015 at 12:58 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:
>
> The policy requirement matcher involved is [1]. The "meta" part was addressed by adding the attributeName option. The way the matcher used to be used is in the example at the bottom...
So let me see if I understand how to do this:
Suppose I had the following requested attributes in SP metadata:
<md:RequestedAttribute FriendlyName="metaPublicUserID"
Name="http://id.incommon.org/attribute/metaPublicUserID"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"/>
<md:RequestedAttribute FriendlyName="metaPersonName"
Name="http://id.incommon.org/attribute/metaPersonName"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"/>
<md:RequestedAttribute FriendlyName="metaEmailAddress"
Name="http://id.incommon.org/attribute/metaEmailAddress"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"/>
Then the following configuration at the IdP would recognize the above
requested attributes:
<afp:AttributeFilterPolicy id="releaseEssentialAttributesToAnySP">
<afp:PolicyRequirementRule xsi:type="basic:ANY"/>
<!-- assuming ePPN is non-reassigned -->
<afp:AttributeRule attributeID="eduPersonPrincipalName">
<afp:PermitValueRule xsi:type="saml:AttributeInMetadata"
attributeName="http://id.incommon.org/attribute/metaPublicUserID"
attributeNameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"/>
</afp:AttributeRule>
<afp:AttributeRule attributeID="displayName">
<afp:PermitValueRule xsi:type="saml:AttributeInMetadata"
attributeName="http://id.incommon.org/attribute/metaPersonName"
attributeNameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"/>
</afp:AttributeRule>
<afp:AttributeRule attributeID="email">
<afp:PermitValueRule xsi:type="saml:AttributeInMetadata"
attributeName="http://id.incommon.org/attribute/metaEmailAddress"
attributeNameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"/>
</afp:AttributeRule>
</afp:AttributeFilterPolicy>
Does that look about right?
Tom
More information about the dev
mailing list