Practical Spring LDAP : Enterprise Java LDAP development made easy /
Practical Spring LDAP is your guide to developing Java-based enterprise applications using the Spring LDAP Framework. This book explains the purpose and fundamental concepts of LDAP before giving a comprehensive tour of the latest version, Spring LDAP 1.3.2. It provides a detailed treatment of LDAP...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, California :
Apress,
[2013]
|
Colección: | Expert's voice in Spring.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgements
- Introduction
- Chapter 1: Introduction to LDAP
- LDAP Overview
- Information Model
- Object Classes
- Directory Schema
- Naming Model
- Functional Model
- Security Model
- LDAP Vendors
- LDIF Format
- Sample Application
- Summary
- Chapter 2: Java Support for LDAP
- LDAP Using JNDI
- Connecting to LDAP
- LDAP Operations
- Closing Resources
- Creating a New Entry
- Updating an Entry
- Removing an Entry
- Searching EntriesJNDI Drawbacks
- Chapter 3: Introducing Spring LDAP
- Motivation
- Obtaining Spring LDAP
- Spring LDAP Packaging
- Downloading Spring LDAP Source
- Installing Spring LDAP Using Maven
- Installing Maven
- Spring LDAP Archetypes
- Setting Up Spring IDE
- Creating Projects Using STS
- LDAP Server Setup
- Installing Apache Directory Studio
- Loading Test Data
- Spring LDAP Hello World
- Spring ApplicationContext
- Spring-Powered Search Client
- Spring LdapTemplate Operations
- Add Operation
- Modify Operation
- Deleting OperationSummary
- Chapter 4: Testing LDAP Code
- Unit Testing
- Mock Testing
- Integration Testing
- JUnit
- Testing Using Embedded LDAP Server
- Setting Up Embedded ApacheDS
- Creating Embedded Context Factory
- Mocking LDAP Using EasyMock
- Test Data Generation
- Summary
- Chapter 5: Advanced Spring LDAP
- JNDI Object Factories
- Spring and Object Factories
- DAO Implementation Using Object Factory
- Implementing Finder Methods
- Create Method
- Update Method
- Delete Method
- Summary
- Chapter 6: Searching LDAPLDAP Search Criteria
- Base Parameter
- Scope Parameter
- Filter Parameter
- Optional Parameters
- Spring LDAP Filters
- EqualsFilter
- LikeFilter
- PresentFilter
- NotPresentFilter
- Not Filter
- GreaterThanOrEqualsFilter
- LessThanOrEqualsFilter
- AndFilter
- OrFilter
- HardcodedFilter
- WhitespaceWildcardsFilter
- Creating Custom Filters
- Handling Special Characters
- Summary
- Chapter 7: Sorting and Paging Results
- LDAP Controls
- Identifying Supported Controls
- JNDI and Controls
- Spring LDAP and ControlsSort Control
- Implementing Custom DirContextProcessor
- Paged Search Controls
- Summary
- Chapter 8: Object-Directory Mapping
- Spring ODM Basics
- ODM Metadata
- ODM Service Class
- Configuration Simplifications
- Creating Custom Converter
- Summary
- Chapter 9: LDAP Transactions
- Transaction Basics
- Local vs. Global Transactions
- Programmatic vs. Declarative Transactions
- Programmatically
- Declaratively
- Spring Transaction Abstraction
- Declarative Transactions Using Spring