1 <AttributeResolver xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mace:shibboleth:resolver:1.0" xsi:schemaLocation="urn:mace:shibboleth:resolver:1.0 shibboleth-resolver-1.0.xsd">
3 <!-- This example illustrates simple conversion from one date format to another -->
4 <FormattedAttributeDefinition id="dateOfBirth" sourceName="pdsDateOfBirth">
5 <DataConnectorDependency requires="file"/>
6 <Source format="java.text.SimpleDateFormat" pattern="dd/MM/yy"/>
7 <Target format="java.text.SimpleDateFormat" pattern="EEEEE, MMMMM dd, yyyy"/>
8 </FormattedAttributeDefinition>
10 <CustomDataConnector id="file"
11 class="edu.internet2.middleware.shibboleth.aa.attrresolv.FileConnector"
12 datafile="data/attr-format.datafile.1"