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
 

 

你可能感兴趣的:(数据结构,jdbc)