`
xrb2008
  • 浏览: 170999 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

SpringLDAP-Reference(中文文档)目录

阅读更多

声明:本文系我自己翻译的,留作参考,本人英语较差,错误是难免的...各位看者以此为准产生后果概不负责。^_^

附件中为SpringLDAP1.3英文文档。

 

SpringLDAP-ReferenceDocumentation

 

Preface............................................................................................................................................iv
1.Introduction..................................................................................................................................1
1.1.Overview...........................................................................................................................1
1.2.Packagingoverview...........................................................................................................3
1.3.Packagestructure...............................................................................................................3
1.3.1.org.springframework.transaction.compensating.........................................................3
1.3.2.org.springframework.ldap........................................................................................4
1.3.3.org.springframework.ldap.core.................................................................................4
1.3.4.org.springframework.ldap.core.support.....................................................................4
1.3.5.org.springframework.ldap.core.simple......................................................................4
1.3.6.org.springframework.ldap.pool.................................................................................4
1.3.7.org.springframework.ldap.pool.factory.....................................................................4
1.3.8.org.springframework.ldap.pool.validation.................................................................4
1.3.9.org.springframework.ldap.support............................................................................5
1.3.10.org.springframework.ldap.authentication.................................................................5
1.3.11.org.springframework.ldap.control...........................................................................5
1.3.12.org.springframework.ldap.filter..............................................................................5
1.3.13.org.springframework.ldap.transaction.compensating................................................5
1.3.14.org.springframework.ldap.transaction.compensating.manager..................................5
1.3.15.org.springframework.ldap.transaction.compensating.support....................................5
1.4.Support..............................................................................................................................6
2.BasicOperations...........................................................................................................................7
2.1.SearchandLookupUsingAttributesMapper........................................................................7
2.2.BuildingDynamicFilters....................................................................................................8
2.3.BuildingDynamicDistinguishedNames..............................................................................9
2.4.BindingandUnbinding.....................................................................................................10
2.4.1.BindingData.........................................................................................................10
2.4.2.UnbindingData.....................................................................................................10
2.5.Modifying.......................................................................................................................10
2.5.1.Modifyingusing rebind ........................................................................................11
2.5.2.Modifyingusing modifyAttributes .......................................................................11
2.6.Sampleapplications..........................................................................................................11
3.SimplerAttributeAccessandManipulationwithDirContextAdapter.............................................12
3.1.Introduction.....................................................................................................................12
3.2.SearchandLookupUsingContextMapper.........................................................................12
3.2.1.TheAbstractContextMapper..................................................................................13
3.3.BindingandModifyingUsingDirContextAdapter..............................................................13
3.3.1.Binding.................................................................................................................13
3.3.2.Modifying.............................................................................................................14
3.4.ACompletePersonDaoClass...........................................................................................15
4.AddingMissingOverloadedAPIMethods....................................................................................17
4.1.ImplementingCustomSearchMethods..............................................................................17
4.2.ImplementingOtherCustomContextMethods...................................................................18
5.ProcessingtheDirContext...........................................................................................................20
5.1.CustomDirContextPre/Postprocessing..............................................................................20
5.2.ImplementingaRequestControlDirContextProcessor........................................................20
5.3.PagedSearchResults........................................................................................................21
6.TransactionSupport....................................................................................................................23
6.1.Introduction.....................................................................................................................23
6.2.Configuration...................................................................................................................23
6.3.JDBCTransactionIntegration...........................................................................................24
6.4.LDAPCompensatingTransactionsExplained....................................................................24
SpringLDAP(1.3.0.RELEASE)ii6.4.1.RenamingStrategies..............................................................................................26
7.Java5Support............................................................................................................................27
7.1.SimpleLdapTemplate.......................................................................................................27
8.Configuration.............................................................................................................................28
8.1.ContextSourceConfiguration............................................................................................28
8.1.1.LDAPServerURLs...............................................................................................28
8.1.2.BaseLDAPpath....................................................................................................28
8.1.3.DirContextAuthentication.....................................................................................28
8.1.4.NativeJavaLDAPPooling....................................................................................31
8.1.5.AdvancedContextSourceConfiguration.................................................................31
8.2.LdapTemplateConfiguration............................................................................................31
8.2.1.IgnoringPartialResultExceptions............................................................................31
8.3.ObtainingareferencetothebaseLDAPpath.....................................................................32
9.PoolingSupport..........................................................................................................................33
9.1.Introduction.....................................................................................................................33
9.2.DirContextValidation......................................................................................................33
9.3.PoolProperties.................................................................................................................33
9.4.Configuration...................................................................................................................35
9.4.1.ValidationConfiguration.......................................................................................36
9.5.KnownIssues..................................................................................................................36
9.5.1.CustomAuthentication..........................................................................................36
10.UserAuthenticationusingSpringLDAP....................................................................................38

 

 

  


序言............................................................................................................................................iv
1.引言..................................................................................................................................1
1.1.概述...........................................................................................................................1
1.2.包概述...........................................................................................................3
1.3.包结构...............................................................................................................3
1.3.1.org.springframework.transaction.compensating.........................................................3
1.3.2.org.springframework.ldap........................................................................................4
1.3.3.org.springframework.ldap.core.................................................................................4
1.3.4.org.springframework.ldap.core.support.....................................................................4
1.3.5.org.springframework.ldap.core.simple......................................................................4
1.3.6.org.springframework.ldap.pool.................................................................................4
1.3.7.org.springframework.ldap.pool.factory.....................................................................4
1.3.8.org.springframework.ldap.pool.validation.................................................................4
1.3.9.org.springframework.ldap.support............................................................................5
1.3.10.org.springframework.ldap.authentication.................................................................5
1.3.11.org.springframework.ldap.control...........................................................................5
1.3.12.org.springframework.ldap.filter..............................................................................5
1.3.13.org.springframework.ldap.transaction.compensating................................................5
1.3.14.org.springframework.ldap.transaction.compensating.manager..................................5
1.3.15.org.springframework.ldap.transaction.compensating.support....................................5
1.4.支持..............................................................................................................................6
2.基本操作...........................................................................................................................7
2.1.搜索和查找用户属性........................................................................7
2.2.构建动态过滤器....................................................................................................8
2.3.构造动态卓越的名字集合..............................................................................9
2.4.绑定与反绑定.....................................................................................................10
2.4.1.绑定数据.........................................................................................................10
2.4.2.反绑定数据.....................................................................................................10
2.5.修改.......................................................................................................................10
2.5.1.利用rebind修改 ........................................................................................11
2.5.2.利用 modifyAttributes 修改.......................................................................11
2.6.示例应用..........................................................................................................11
3.通过DirContextAdapter实现简单属性接口运用.............................................12
3.1.介绍.....................................................................................................................12
3.2.利用ContextMapper进行搜索查询.........................................................................12
3.2.1.The AbstractContextMapper..................................................................................13
3.3.利用DirContextAdapter绑定和修改..............................................................13
3.3.1.绑定.................................................................................................................13
3.3.2.修改.............................................................................................................14
3.4.一个完整的person操作类...........................................................................................15
4.Adding Missing Overloaded API Methods....................................................................................17
4.1.实现自定义的查询方法..............................................................................17
4.2.实现其它自定义的查询方法...................................................................18
5.DirContext配置...........................................................................................................20
5.1.自定义DirContextPre/Postprocessing..............................................................................20
5.2.实现一个请求控制的DirContextProcessor........................................................20
5.3.查询分页........................................................................................................21
6.事务支持....................................................................................................................23
6.1.介绍.....................................................................................................................23
6.2.配置...................................................................................................................23
6.3.JDBC事务集成...........................................................................................24
6.4.LDAP事务说明....................................................................24
6.4.1.重命名策略..............................................................................................26
7.Java5支持............................................................................................................................27
7.1.simpleLdapTemplate.......................................................................................................27
8.配置.............................................................................................................................28
8.1.ContextSource配置............................................................................................28
8.1.1.LDAPServer地址...............................................................................................28
8.1.2.BaseLDAPpath....................................................................................................28
8.1.3.DirContext验证.....................................................................................28
8.1.4.本地JavaLDAP连接池....................................................................................31
8.1.5.高级ContextSource配置.................................................................31
8.2.LdapTemplate 配置............................................................................................31
8.2.1.忽略PartialResultExceptions............................................................................31
8.3. base LDAP path通用参考.....................................................................32
9.连接池支持..........................................................................................................................33
9.1.介绍.....................................................................................................................33
9.2.DirContext 确认......................................................................................................33
9.3.Pool 属性.................................................................................................................33
9.4.配置...................................................................................................................35
9.4.1.验证配置.......................................................................................36
9.5.需要知道的问题..................................................................................................................36
9.5.1.自定义验证..........................................................................................36
10.利用SpringLDAP对用户验证....................................................................................38
 

 

1
0
分享到:
评论

相关推荐

    spring-ldap-reference

    ### Spring LDAP 参考文档详解 #### 前言 Spring LDAP 是一款为简化 LDAP (Lightweight Directory Access Protocol) 操作而设计的框架。它基于 Spring 框架,利用了 Spring 的强大功能来实现对 LDAP 目录的访问、...

    spring-security-reference.pdf

    由于提供的文件内容是关于Spring Security的参考资料,接下来将详细说明Spring Security 4.0.4.RELEASE版本中涉及的关键知识点。在展开知识点介绍之前,需要指出,由于原文件可能包含一些格式错误或 OCR 识别的问题...

    Spring-ladp-reference

    Spring-LDAP是Spring框架的一部分,专注于提供与轻量级目录访问协议(LDAP)集成的功能。它简化了开发人员在Java应用程序中与LDAP服务器进行交互的过程,提供了一种更加面向对象的方式来处理LDAP操作。 ### 包装...

    spring-ldap demo

    2. `spring-ldap-reference.pdf`:这个文件很可能是 Spring LDAP 的官方参考文档,包含了框架的所有类、接口和方法的详细介绍,以及示例代码。通过阅读此文档,你可以深入理解 Spring LDAP 的工作原理,学习如何配置...

    spring-security-reference-4.0.1

    - **LDAP (spring-security-ldap.jar)**:提供 LDAP 认证和授权支持。 - **ACL (spring-security-acl.jar)**:提供了基于访问控制列表 (ACL) 的权限管理。 - **CAS (spring-security-cas.jar)**:支持使用 CAS 单点...

    spring-security-reference-4.1.1.RELEASE

    - LDAP (`spring-security-ldap.jar`):提供 LDAP 集成支持。 - ACL (`spring-security-acl.jar`):提供基于权限的访问控制功能。 - CAS (`spring-security-cas.jar`):提供对 CAS 协议的支持。 - OpenID (`...

    spring-security-reference

    ### Spring Security 参考文档概览 #### 一、引言与基础知识 ##### 1.1 什么是 Spring Security? Spring Security 是一个强大的、高度可定制的身份验证和访问控制框架。它为应用程序提供了一种机制来保护自身免...

    Spring Security Reference中文版

    ### Spring Security Reference中文版知识点概览 #### 一、Spring Security 概述 - **Spring Security** 是一个强大的和高度可定制的身份验证和访问控制框架。它为基于Spring的应用提供了声明式的安全服务。 ####...

    springsecurity3.1.pdf

    标题:springsecurity3.1.pdf 描述:springsecurity3.1.pdf 标签:spring security3.1 部分内容:SpringSecurity Reference Documentation by Ben Alex and Luke Taylor 3.1.4.RELEASE **一、Spring Security 3.1...

    shiro学习资料

    首先,"Apache_Shiro_reference(中文版).pdf"是Shiro的官方中文参考手册。这个文档详细介绍了Shiro的各种组件和API,包括核心概念如Subject、Realms、Caches等,以及认证、授权、会话管理和密码策略等具体功能。通过...

    jboss portal手册

    `Reference_Guide_en-US.pdf`是关于JBoss Portal全面技术细节的参考文档,包括API详解、配置选项、系统架构等深入内容,适合开发者和高级用户查阅。 **8. 用户指南** `User_Guide_en-US.pdf`可能专注于用户界面和...

Global site tag (gtag.js) - Google Analytics