Announcement Announcement Module
No announcement yet.
Demo code for TSE2007: Spring LDAP Essentials Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Demo code for TSE2007: Spring LDAP Essentials

    During the "Spring LDAP Essentials" session at The Spring Experience 2007, a PersonDaoImpl class written using plain JNDI was changed to instead use Spring LDAP. Attached is the demo code that was used in the session.
    • Unzip
    • cd spring-ldap-demo-1.0
    • mvn eclipse:eclipse
    • Import into Eclipse

    Once in Eclipse, you can select src/test and Run As JUnit Test. In the se.jayway.demo.spring.ldap.dao.solution package, the steps during the presentation are available as subpackages. They were taken in the following order:
    1. extractmethod
    2. ldaptemplate
    3. dnandfilter
    4. attributesmapper
    5. dircontextadapter
    6. contextmapper