Changes for page User Authentication

Last modified by Thomas Mortagne on 2023/04/28

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

Summary

Details

Page properties
Content
... ... @@ -224,13 +224,13 @@
224 224  
225 225  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:
226 226  
227 -{{code language="properties"}}
227 +{{code}}
228 228  xwiki.authentication.rightsclass = com.acme.MyCustomRightsService
229 229  {{/code}}
230 230  
231 231  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}}:
232 232  
233 -{{code language="properties"}}
233 +{{code}}
234 234  xwiki.authentication.groupclass = com.acme.MyCustomGroupService
235 235  {{/code}}
236 236  
... ... @@ -238,13 +238,13 @@
238 238  
239 239  Start by specifying you want to use the Groovy Authenticator:
240 240  
241 -{{code language="properties"}}
241 +{{code}}
242 242  xwiki.authentication.authclass = com.xpn.xwiki.user.impl.xwiki.GroovyAuthServiceImpl
243 243  {{/code}}
244 244  
245 245  Then add another configuration parameter to specify in which wiki page the authenticator is:
246 246  
247 -{{code language="properties"}}
247 +{{code}}
248 248  xwiki.authentication.groovy.pagename = MySpace.MyPage
249 249  {{/code}}
250 250  

Get Connected