Added ldaps example to resolver config file.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 22 Jul 2003 16:22:45 +0000 (16:22 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 22 Jul 2003 16:22:45 +0000 (16:22 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@683 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/conf/resolver.ldap.xml

index 4e1af8d..84a6e3e 100644 (file)
                <Property name="java.naming.security.principal" value="cn=admin,dc=example,dc=edu" />
                <Property name="java.naming.security.credentials" value="examplepw" />
        </JNDIDirectoryDataConnector>
+       
+       <!-- An example of how to do a simple ldap bind over SSL -->
+       <!-- 
+       <JNDIDirectoryDataConnector id="directorySecure">
+               <Search filter="cn=%PRINCIPAL%">
+                       <Controls searchScope="SUBTREE_SCOPE" returningObjects="false" />
+               </Search>
+               <Property name="java.naming.factory.initial" value="com.sun.jndi.ldap.LdapCtxFactory" />
+               <Property name="java.naming.provider.url" value="ldap://ldap.example.edu:636/dc=example,dc=edu" />
+               <Property name="java.naming.security.protocol" value="ssl" />
+               <Property name="java.naming.security.principal" value="cn=admin,dc=example,dc=edu" />
+               <Property name="java.naming.security.credentials" value="examplepw" />
+       </JNDIDirectoryDataConnector>
+       -->
 
 </AttributeResolver>