Create parser pool interface and move current pool to an implementation of this inter...
[java-idp.git] / tests / data / attr-mapped.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   <MappedAttributeDefinition id="eduPersonAffiliation" sourceName="pdsRole"
4                 ignoreCase="true" regex="true">
5     <DataConnectorDependency requires="file"/>
6     <ValueMap keyset="guest, prospect[a-z ]*, friends, affiliate"                       value="affiliate"/>
7     <ValueMap keyset="alum, alumni"                                                     value="alum"/>
8     <ValueMap keyset="employee"                                                         value="employee"/>
9     <ValueMap keyset="faculty"                                                          value="faculty"/>
10     <ValueMap keyset="admin[a-z ]*, [a-z ]*admin, staff"                                value="staff"/>
11     <ValueMap keyset="student"                                                          value="student"/>
12     <ValueMap keyset="student, faculty, admin[a-z ]*, [a-z ]*admin, employee, member"   value="member"/>
13   </MappedAttributeDefinition>
14
15   <CustomDataConnector id="file"
16     class="edu.internet2.middleware.shibboleth.aa.attrresolv.FileConnector"
17     datafile="data/attr-mapped.datafile.1"/>
18
19 </AttributeResolver>