Moved example standard directory attributes to ldap resolver example file.
[java-idp.git] / src / conf / resolver.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         <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonEntitlement">
4                 <DataConnectorDependency requires="echo"/>
5         </SimpleAttributeDefinition>
6         
7         <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonAffiliation">
8                 <DataConnectorDependency requires="echo"/>
9         </SimpleAttributeDefinition>
10         
11         
12         <!-- To use these attributes, you should change the smartScope value to match your site's domain name. -->
13         <!--
14         <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonScopedAffiliation" smartScope="shibdev.edu">
15                 <AttributeDependency requires="urn:mace:dir:attribute-def:eduPersonAffiliation"/>
16         </SimpleAttributeDefinition>
17
18         <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonPrincipalName" smartScope="shibdev.edu">
19         <DataConnectorDependency requires="echo"/>
20         </SimpleAttributeDefinition>
21         -->
22         
23         
24         <!-- Example persistent id attribute.  You should change the scope value to match your site's domain 
25                  name.  Since this configuration is permanent, some thought is required before deploying in 
26                  production. -->
27         <!--
28         <PersistentIDAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonTargetedID" scope="shibdev.edu" sourceName="guid">
29                 <DataConnectorDependency requires="echo"/>
30                 <Salt keyStorePath="/conf/persistent.jks" keyStoreKeyAlias="handleKey" keyStorePassword="shibhs" keyStoreKeyPassword="shibhs"/>
31         </PersistentIDAttributeDefinition>
32         -->
33         
34         
35         <CustomDataConnector id="echo" class="edu.internet2.middleware.shibboleth.aa.attrresolv.provider.SampleConnector"/>
36
37 </AttributeResolver>