Namespace: urn:mace:shibboleth:2.0:resolver


The ComputedId DataConnector generates a single-valued IdPAttribute from the (usually SHA-1) digest of a requester's name (in SAML, an entityID), a source attribute value, and a salt that must be kept secret to prevent off-line generation of the hashes to recover the underlying attribute value.

The attribute value is therefore opaque and unique per user, per relying party, suitable for use as a SAML "persistent" NameID or "pairwise-id" Subject Attribute.

In advanced scenarios, the input to the hash can vary from the requester's identity to a different value that may be associated with the requester, allowing for multiple requesters to receive the same value. This is all "internal" to the system and is not part of the configuration of the connector, it simply does the right thing in these cases.



The example produces a hashed value using an input attribute "Foo" from a DataConnector named "DataSourceForFoo".

1 2 3 4 5 6 7 8 <DataConnector id="ComputedIDConnector" xsi:type="ComputedId"  generatedAttributeID="ComputedID" salt="abcdefghijklmnopqrstuvwxyz" encoding="BASE32"> <InputDataConnector ref="DataSourceForFoo" attributeNames="Foo" /> </DataConnector>