《单点登录CAS及LDAP整合的实现.doc》由会员分享,可在线阅读,更多相关《单点登录CAS及LDAP整合的实现.doc(11页珍藏版)》请在三一办公上搜索。
1、-在做SOA工程或者单点登录的时候,用户目录往往都是通过LDAP来完成的,则CAS与LDAP整合的问题是必须要做的,这里采用OpenLDAP和CAS来记录一下自己的配置过程1. 下载CAS Server 2. 下载CAS Client 3. 下载OpenLDAP 都安装完成配置完成后,下面做CAS+OpenLDAP整合至于配置过程,见我的另一篇博客文章:【推荐】单点登录的实现 ,在cas的web工程下翻开:deployerConfigConte*t.*ml,配置文件修改如下:*ml代码 1. 2. 3. 16. 17. 25. 27. 42. 43. 44. 52. 53. 61. 63. 6
2、4. 65. 71. 72. 73. 77. 79. 86. 87. 88. 89. 90. 91. 92. 93. 94. 95. 96. 97. 98. 99. 100. ldap:/localhost:389/101. 102. 103. 104. 105. 106. 107. 108. none109. 110. 111. 112. simple113. 114. 115. 116. 117. 125. 126. 127. 128. 129. 130. 131. 135. 137. 138. 139. 140. 141. 142. 143. 144. 145. 150. 153. !-| This is the authentication handler declaration that every CAS deployer will need to change before deploying CAS | into production. The default SimpleTestUsernamePasswordAuthenticationHandler authenticates UsernamePasswordCredentials| where the us