Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The PrincipalName attribute definition exposes the subject's canonicalized principal name as a single-valued IdPAttribute.

Schema Name and Location

This element This xsi:type is defined by the urn:mace:shibboleth:2.0:resolver:ad schema, which is located at http://shibboleth.net/schema/idp/shibboleth-attribute-resolver-ad.xsd.  

Attributes

Any of the common attributes can be specified. Note that the PrinicpalName this attribute definition does not require a sourceAttributeID attribute since the information is not resolved from any an input attribute. If one is supplied, it is ignored.

Child Elements

Any of the common child elements can be specified.  Note Note that the PrinicpalName this attribute definition does not require a <resolver:Dependency> <Dependency> child element since the information is not resolved from any an input attribute. If any are supplied, then they are ignored.

Example

Code Block
languagexml
<resolver:AttributeDefinition id="uid" xsi:type="ad:PrincipalName">
    <resolver:AttributeEncoder xsi:type="enc:SAML1String" name="urn:mace:dir:attribute-def:uid" encodeType="false" />
    <resolver:AttributeEncoder xsi:type="enc:SAML2String" name="urn:oid:0.9.2342.19200300.100.1.1" friendlyName="uid" encodeType="
</resolver:AttributeDefinition>