Moved example standard directory attributes to ldap resolver example file.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 28 Jul 2003 21:58:53 +0000 (21:58 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 28 Jul 2003 21:58:53 +0000 (21:58 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@704 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/conf/resolver.ldap.xml
src/conf/resolver.xml

index 59a3edf..8f578bd 100644 (file)
                <DataConnectorDependency requires="directory"/>
        </SimpleAttributeDefinition>
        
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonNickname">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonPrimaryAffiliation">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonPrimaryOrgUnitDN">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonOrgUnitDN">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonOrgDN">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       
        <!-- To use these attributes, you should change the smartScope value to match your site's domain name. -->
-
        <!--
        <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonScopedAffiliation" smartScope="shibdev.edu">
                <AttributeDependency requires="urn:mace:dir:attribute-def:eduPersonAffiliation"/>
        </SimpleAttributeDefinition>
 
        <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonPrincipalName" smartScope="shibdev.edu">
+       <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       -->
+       
+       
+       <!-- Example persistent id attribute.  You should change the scope value to match your site's domain 
+                name.  Since this configuration is permanent, some thought is required before deploying in 
+                production. -->
+       <!--
+       <PersistentIDAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonTargetedID" scope="shibdev.edu" sourceName="guid">
+               <DataConnectorDependency requires="directory"/>
+               <Salt keyStorePath="/conf/persistent.jks" keyStoreKeyAlias="handleKey" keyStorePassword="shibhs" keyStoreKeyPassword="shibhs"/>
+       </PersistentIDAttributeDefinition>
+       -->
+       
+       
+       <!--Examples of common ldap-based attributes -->
+       <!--
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:cn">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:sn">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:telephoneNumber">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:title">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:initials">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:description">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:carLicense">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:departmentNumber">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:displayName">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:employeeNumber">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:employeeType">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:preferredLanguage">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:manager">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:roomNumber">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:seeAlso">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:facsimileTelephoneNumber">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:street">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:postOfficeBox">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:postalCode">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:st">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:givenName">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:l">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:businessCategory">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:ou">
+               <DataConnectorDependency requires="directory"/>
+       </SimpleAttributeDefinition>
+       
+       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:physicalDeliveryOfficeName">
                <DataConnectorDependency requires="directory"/>
        </SimpleAttributeDefinition>
        -->
 
+
        <JNDIDirectoryDataConnector id="directory">
                <Search filter="cn=%PRINCIPAL%">
                        <Controls searchScope="SUBTREE_SCOPE" returningObjects="false" />
                <Property name="java.naming.security.credentials" value="examplepw" />
        </JNDIDirectoryDataConnector>
        
+       
        <!-- An example of how to do a simple ldap bind over SSL -->
        <!-- 
        <JNDIDirectoryDataConnector id="directorySecure">
        </JNDIDirectoryDataConnector>
        -->
        
+       
        <!-- An example of how to setup ldap with connection pooling -->
        <!-- 
        <JNDIDirectoryDataConnector id="directoryPooled">
index 0eb6585..d0316db 100644 (file)
@@ -8,26 +8,6 @@
                <DataConnectorDependency requires="echo"/>
        </SimpleAttributeDefinition>
        
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonNickname">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonPrimaryAffiliation">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonPrimaryOrgUnitDN">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonOrgUnitDN">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:eduPersonOrgDN">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
        
        <!-- To use these attributes, you should change the smartScope value to match your site's domain name. -->
        <!--
        -->
        
        
-       <!--Examples of common ldap-based attributes -->
-       <!--
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:cn">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:sn">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:telephoneNumber">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:title">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:initials">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:description">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:carLicense">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:departmentNumber">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:displayName">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:employeeNumber">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:employeeType">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:preferredLanguage">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:manager">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:roomNumber">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:seeAlso">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:facsimileTelephoneNumber">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:street">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:postOfficeBox">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:postalCode">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:st">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:givenName">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:l">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:businessCategory">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:ou">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       
-       <SimpleAttributeDefinition id="urn:mace:dir:attribute-def:physicalDeliveryOfficeName">
-               <DataConnectorDependency requires="echo"/>
-       </SimpleAttributeDefinition>
-       -->
-       
-       
        <CustomDataConnector id="echo" class="edu.internet2.middleware.shibboleth.aa.attrresolv.provider.SampleConnector"/>
 
 </AttributeResolver>