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.

Table of Contents
maxLevel3

Schema Name and Location

This xsi:type is defined in the Namespace: urn:mace:shibboleth:2.0:resolver namespace, the schema for which is located at 
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd

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

Table of Contents
maxLevel3

Configuration Reference

Attributes

Any of the common attributes can be specified. 

Include Page
AttributeDefinitionCommonAttributes
AttributeDefinitionCommonAttributes

...

Note that this attribute definition does not require a <InputAttributeDefinition> or <InputDataConnectorDependency> child elements since the information is not resolved from an input attribute. If any are supplied, then they are ignored..

Example

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