- 浏览: 169611 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
liujianche11:
客户端收到消息后封装回来的IQ应该是拿不到那个id的吧 你在 ...
openfire消息回执插件 -
向奕昌:
解决了,几天tomcat启动都是这问题
java.io.EOFException解决 -
xfei6868:
在spring-ldap 1.3的文档中也有同样的例子,没有找 ...
SpringLDAP-Reference(中文文档)(五) -
youchengLin:
问题解决了,多谢
java.io.EOFException解决 -
xihuan&java:
谢谢问题解决
java.io.EOFException解决
声明:本文系我自己翻译的,留作参考,本人英语较差,错误是难免的...各位看者以此为准产生后果概不负责。^_^
附件中为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
- spring-ldap-reference.pdf (155.9 KB)
- 下载次数: 189
发表评论
-
spring ldap操作(二)简单的用户登录验证
2010-04-23 17:06 1128今天主要实验了下用户的登录验证,在PersonDaoImpl类 ... -
spring ldap操作(一)目录测试环境搭建
2010-04-22 16:50 3462Spring LDAP 是一个用于操作 LDAP 的 Java ... -
SpringLDAP-Reference(中文文档)(五)
2010-04-22 14:21 2699第五章 DirContext配制 5.1 自定义DirCon ... -
SpringLDAP-Reference(中文文档)(四)
2010-04-16 15:10 1684第四章 添加missing API方法重载 4.1自定 ... -
SpringLDAP-Reference(中文文档)(三)
2010-04-16 14:02 2868第三章 通过DirContextAdapt ... -
SpringLDAP-Reference(中文文档)(二)
2010-04-15 15:41 2058第二章 基本操作 在 ... -
SpringLDAP-Reference(中文文档)(一)
2010-04-14 17:03 2915序言 Ldap jndi类似于sql编程用jdb ... -
Novell eDirectory安装步骤(备忘)
2009-12-04 16:38 3579详见附件 第一步:查看硬件是否符合安装eDirecto ...
相关推荐
spring-ldap-reference spring-ldap-reference spring-ldap-reference
spring文档 测试上传
spring-framework-4-reference 中文文档
spring-reference2.5中文参考文档.pdf
Spring-Boot-Reference-Guide SpringBoot文档 入门级
spring-boot-reference中文版,spring boot官方用户指南中文版本。
spring boot 官方文档 PDF 版本
spring-framework-reference参考文档,学习spring框架
spring-framework-4-reference中文文档
spring-framework-4-reference spring-framework-4-reference
spring-framework-reference.pdf、Spring-Reference_2.5_zh_CN.chm
Spring Data JPA - Reference Documentation 和 spring-boot-reference-2.04 两个官方文档
spring-boot-reference 中英文对照
Spring-5.0.0-官方中文文档 Spring-5.0.0-官方中文文档 Spring-5.0.0-官方中文文档
spring-boot-reference ,This section provides a brief overview of Spring Boot reference documentation. It serves as a map for the rest of the document.
包含: 1.spring-boot-reference.pdf 2.spring-boot-reference.epub 3.Spring Boot Reference Guide.html
spring-dm-referencespring-dm-referencespring-dm-referencespring-dm-referencespring-dm-referencespring-dm-reference