Create parser pool interface and move current pool to an implementation of this inter...
[java-idp.git] / tests / data / attr-format.resolver.1.xml
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">
2
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>
9
10   <CustomDataConnector id="file"
11     class="edu.internet2.middleware.shibboleth.aa.attrresolv.FileConnector"
12     datafile="data/attr-format.datafile.1"
13     ordered="true"/>
14
15 </AttributeResolver>