<
From version < 55.1 >
edited by Thomas Mortagne
on 2012/10/02
To version < 57.1 >
edited by Thomas Mortagne
on 2012/10/11
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -170,10 +170,12 @@
170 170  Here are some LDAP client for checking your configuration:
171 171  
172 172  Java based and Open Source:
173 +
173 173  * [[Apache Directory Studio>>http://directory.apache.org/studio/]]
174 174  * [[JXplorer>>http://jxplorer.org]]
175 175  
176 176  Windows only:
178 +
177 177  * [[Softerra LDAP Browser>>http://www.ldapbrowser.com/download.htm]]
178 178  
179 179  == Detailed use cases ==
... ... @@ -212,21 +212,23 @@
212 212  1. Implement the {{scm path="xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/api/XWikiAuthService.java"}}XWikiAuthService{{/scm}} interface.
213 213  1. Edit the //WEB-INF/xwiki.cfg// file and add a //xwiki.authentication.authclass// property pointing to your class. For example:
214 214  
215 -{{code}}
217 +{{code language="properties"}}
216 216  xwiki.authentication.authclass = com.acme.MyCustomAuthenticationService
217 217  {{/code}}
218 218  
221 +You can find various authenticators examples on https://github.com/xwiki-contrib/sandbox/blob/master/authenticators/.
222 +
219 219  Here's a [[tutorial on implementing a custom authentication class for authenticating against Oracle's SSO>>http://bodez.wordpress.com/2008/10/15/xwiki-user-authentication-with-oracle-sso/]].
220 220  
221 221  Note, that you also can implement own right management service by implementing {{scm path="xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/api/XWikiRightService.java"}}XWikiRightService{{/scm}} interface:
222 222  
223 -{{code}}
227 +{{code language="properties"}}
224 224  xwiki.authentication.rightsclass = com.acme.MyCustomRightsService
225 225  {{/code}}
226 226  
227 227  and Group Service by implementing {{scm path="xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/api/XWikiGroupService.java"}}XWikiGroupService{{/scm}}:
228 228  
229 -{{code}}
233 +{{code language="properties"}}
230 230  xwiki.authentication.groupclass = com.acme.MyCustomGroupService
231 231  {{/code}}
232 232  
... ... @@ -234,13 +234,13 @@
234 234  
235 235  Start by specifying you want to use the Groovy Authenticator:
236 236  
237 -{{code}}
241 +{{code language="properties"}}
238 238  xwiki.authentication.authclass = com.xpn.xwiki.user.impl.xwiki.GroovyAuthServiceImpl
239 239  {{/code}}
240 240  
241 241  Then add another configuration parameter to specify in which wiki page the authenticator is:
242 242  
243 -{{code}}
247 +{{code language="properties"}}
244 244  xwiki.authentication.groovy.pagename = MySpace.MyPage
245 245  {{/code}}
246 246  

Get Connected