Versions Compared

Key

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

Namespace:urn:mace:shibboleth:2.0:metadata
Schema:http://shibboleth.net/schema/idp/shibboleth-metadata.xsd

Table of Contents

Overview

...

Tip

Position the NameIDFormat filter for efficiency

Deliberately position a NameIDFormat filter in the overall sequence of filters for optimal efficiency. In particular, a filter of type NameIDFormat should appear after the EntityRoleFilter since the latter effectively removes entities from the input.

Reference

Localtabgroup
Localtab live
activetrue
Expand
titleXML Attributes

Name

Type

Default

Description

removeExistingFormats

Boolean

false

Whether to remove any existing formats from a role if any are added by the filter (unmodified roles will be untouched regardless of this setting)

localtab-live
Expand
titleXML Elements

Name

Description

<Format>

Content is name identifier format which is added to all the applicable roles of the entities which match any of the following <Entity> or <ConditionRef> elements.

<Entity>

The textual content is an EntityID. All preceding formats are added to applicable roles of the matching entity.

<ConditionRef>      

The textual content is the Bean ID of a Predicate<EntityDescriptor>. All preceding formats are added to the roles of the entities for which this returns true.

<ConditionScript>

The content of this element is an inline or local script resource that implements Predicate<EntityDescriptor>. All preceding formats are added to the entities for which this returns true.

Examples

 The example will add the "persistent" format to the first entity, and both the "persistent" and "email" formats to the second.

Add NameIDFormat elements to metadata

...