Versions Compared

Key

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

The <Column> element specifies the a mapping from a column in a data base database table to an attribute IdPAttribute name. In most cases this is equivalent to aliasing a result column in a SQL statement, but may be clearer to look at.

Schema Name and Location

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

Example

Code Block
languagexml
<dc:Column columnName="homephone" attributeID="phonenumber" />
<dc:Column columnName="prenom" attributeID="firstname" />

...

Each <Column> element must have two attributes:

NameTypeDescription

columnName 

string, requiredthe name Name of the column in the result set coming from the database

attributeID 

string, required

Name of the (internal) identifier to give the attribute for the rest of the attribute resolution, filtering and encoding.IdPAttribute representing the column

Child Elements

No child elements can be providedare defined.  

Notes

The

...

result set processing expressed by the <Column> elements can instead be defined by specifying the mappingStrategyRef attribute on the RelationalDatabase DataConector. This allows for much more advanced result set processing, including the generation of non-string valued results.