Updated comments.
[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.  Since this configuration is permanent, some thought is required before 
25                 deploying in production. Consider replacing this with a database-backed mechanism of some sort. -->      
26         <!--
27         <SAML2PersistentID id="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" sourceName="guid">
28                 <DataConnectorDependency requires="echo"/>
29                 <Salt keyStorePath="/conf/persistent.jks" keyStoreKeyAlias="handleKey" keyStorePassword="shibhs" keyStoreKeyPassword="shibhs"/>
30         </SAML2PersistentID>
31         -->
32         <!--  Deprecated persistent id example, use only with SPs that are already relying on your values. -->
33         <!--
34         <PersistentIDAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonTargetedID" scope="shibdev.edu" sourceName="guid">
35                 <DataConnectorDependency requires="echo"/>
36                 <Salt keyStorePath="/conf/persistent.jks" keyStoreKeyAlias="handleKey" keyStorePassword="shibhs" keyStoreKeyPassword="shibhs"/>
37         </PersistentIDAttributeDefinition>
38         -->
39         
40         
41         <CustomDataConnector id="echo" class="edu.internet2.middleware.shibboleth.aa.attrresolv.provider.SampleConnector"/>
42
43 </AttributeResolver>