Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
1Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Spring Ldap Reference

Spring Ldap Reference

Ratings: (0)|Views: 36 |Likes:
Published by laurent_thys

More info:

Published by: laurent_thys on Jun 14, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

06/14/2012

pdf

text

original

 
Spring LDAP - Reference Documentation
1.3.1.RELEASECopyright © 2005-2010 Mattias Arthursson, Ulrik Sandberg, Eric Dalquist, Keith Barlow
Copies of this document may be made for your own use and for distribution to others, provided that you do notcharge any fee for such copies and further provided that each copy contains this Copyright Notice, whetherdistributed in print or electronically.
 
Preface............................................................................................................................................iv1. Introduction..................................................................................................................................11.1. Overview...........................................................................................................................11.2. Packaging overview...........................................................................................................31.3. Package structure...............................................................................................................31.3.1. org.springframework.transaction.compensating.........................................................31.3.2. org.springframework.ldap........................................................................................41.3.3. org.springframework.ldap.core.................................................................................41.3.4. org.springframework.ldap.core.support.....................................................................41.3.5. org.springframework.ldap.core.simple......................................................................41.3.6. org.springframework.ldap.pool.................................................................................41.3.7. org.springframework.ldap.pool.factory.....................................................................41.3.8. org.springframework.ldap.pool.validation.................................................................41.3.9. org.springframework.ldap.support............................................................................51.3.10. org.springframework.ldap.authentication.................................................................51.3.11. org.springframework.ldap.control...........................................................................51.3.12. org.springframework.ldap.filter..............................................................................51.3.13. org.springframework.ldap.transaction.compensating................................................51.3.14. org.springframework.ldap.transaction.compensating.manager..................................51.3.15. org.springframework.ldap.transaction.compensating.support....................................61.3.16. org.springframework.ldap.ldif ................................................................................61.3.17. org.springframework.ldap.ldif.batch.......................................................................61.3.18. org.springframework.ldap.ldif.parser......................................................................61.3.19. org.springframework.ldap.ldif.support....................................................................61.3.20. org.springframework.ldap.odm...............................................................................61.4. Support..............................................................................................................................62. Basic Operations...........................................................................................................................82.1. Search and Lookup Using AttributesMapper........................................................................82.2. Building Dynamic Filters....................................................................................................92.3. Building Dynamic Distinguished Names............................................................................102.4. Binding and Unbinding.....................................................................................................112.4.1. Binding Data.........................................................................................................112.4.2. Unbinding Data.....................................................................................................112.5. Modifying.......................................................................................................................112.5.1. Modifying using
........................................................................................122.5.2. Modifying using
.......................................................................122.6. Sample applications..........................................................................................................123. Simpler Attribute Access and Manipulation with DirContextAdapter.............................................133.1. Introduction.....................................................................................................................133.2. Search and Lookup Using ContextMapper.........................................................................133.2.1. The AbstractContextMapper..................................................................................143.3. Binding and Modifying Using DirContextAdapter..............................................................143.3.1. Binding.................................................................................................................143.3.2. Modifying.............................................................................................................153.4. A Complete PersonDao Class...........................................................................................164. Adding Missing Overloaded API Methods....................................................................................184.1. Implementing Custom Search Methods..............................................................................184.2. Implementing Other Custom Context Methods...................................................................195. Processing the DirContext...........................................................................................................215.1. Custom DirContext Pre/Postprocessing..............................................................................215.2. Implementing a Request Control DirContextProcessor........................................................215.3. Paged Search Results........................................................................................................22Spring LDAP (1.3.1.RELEASE) ii
 
6. Transaction Support....................................................................................................................246.1. Introduction.....................................................................................................................246.2. Configuration...................................................................................................................246.3. JDBC Transaction Integration...........................................................................................256.4. LDAP Compensating Transactions Explained....................................................................266.4.1. Renaming Strategies..............................................................................................277. Java 5 Support............................................................................................................................287.1. SimpleLdapTemplate.......................................................................................................288. Configuration.............................................................................................................................298.1. ContextSource Configuration............................................................................................298.1.1. LDAP Server URLs...............................................................................................298.1.2. Base LDAP path....................................................................................................298.1.3. DirContext Authentication.....................................................................................298.1.4. Native Java LDAP Pooling....................................................................................328.1.5. Advanced ContextSource Configuration.................................................................328.2. LdapTemplate Configuration............................................................................................328.2.1. Ignoring PartialResultExceptions............................................................................328.3. Obtaining a reference to the base LDAP path.....................................................................339. Pooling Support..........................................................................................................................349.1. Introduction.....................................................................................................................349.2. DirContext Validation......................................................................................................349.3. Pool Properties.................................................................................................................349.4. Configuration...................................................................................................................369.4.1. Validation Configuration.......................................................................................379.5. Known Issues..................................................................................................................379.5.1. Custom Authentication..........................................................................................3710. User Authentication using Spring LDAP....................................................................................3910.1. Basic Authentication......................................................................................................3910.2. Performing Operations on the Authenticated Context........................................................4010.3. Retrieving the Authentication Exception..........................................................................4110.4. Use Spring Security........................................................................................................4111. LDIF Parsing............................................................................................................................4311.1. Introduction...................................................................................................................4311.2. Object Representation.....................................................................................................4311.3. The Parser......................................................................................................................4311.4. Schema Validation.........................................................................................................4411.5. Spring Batch Integration.................................................................................................4412. Object-Directory Mapping (ODM).............................................................................................4512.1. Introduction...................................................................................................................4512.2. OdmManager.................................................................................................................4512.3. Annotations...................................................................................................................4612.4. Type Conversion............................................................................................................4612.5. Execution......................................................................................................................47Spring LDAP - Reference DocumentationSpring LDAP (1.3.1.RELEASE) iii

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->