Wiki source code of Authentication

Last modified by Eleni Cojocariu on 2026/08/10 23:36

Hide last authors
Eleni Cojocariu 20.1 1
Vincent Massol 17.2 2 {{box cssClass="floatinginfobox" title="**Contents**"}}
3 {{toc/}}
4 {{/box}}
5
Vincent Massol 12.1 6 = Logging in =
7
8 When you need to log in to access a wiki page, you'll see the following form:
9
10 {{image reference="login.png"/}}
11
12 == Forgot Username ==
13
14 If you forgot your username, you can retrieve it by clicking on the "Forgot your username?" link:
15
16 {{image reference="login-forgot-username-1"/}}
17
Eleni Cojocariu 20.1 18 Then, you'll need to indicate the email address for your user and you'll be emailed your username (the mail template can be [[customized>>documentation.xs.admin.authentication.customize-mail-templates.WebHome]]).
Vincent Massol 12.1 19
20 {{image reference="login-forgot-username-2"/}}
21
22 == Forgot Password ==
23
24 If you forgot your password, you can reset it by clicking on the "Forgot your password?" link:
25
26 {{image reference="login-forgot-password-1"/}}
27
Eleni Cojocariu 20.1 28 Then, you'll need to indicate your username and if you had an email address set for your user, you'll receive a email with a link to set a new password (the mail template can be [[customized>>documentation.xs.admin.authentication.customize-mail-templates.WebHome]]).
Vincent Massol 12.1 29
Vincent Massol 17.3 30 {{image reference="login-forgot-password-2"/}}
31
Vincent Massol 12.1 32 = Authentication Mechanisms =
33
Vincent Massol 10.1 34 XWiki Standard embeds several authentication mechanisms by default:
slauriere 1.1 35
Vincent Massol 3.1 36 * Form authentication
37 * Basic authentication
slauriere 1.1 38
Vincent Massol 3.1 39 In addition XWiki allows you to create your own authentication extension in order to integrate with any custom mechanism you might be using already (SSO, etc).
slauriere 1.1 40
Vincent Massol 11.2 41 Additional authenticators are available as extensions on [[extensions.xwiki.org>>extensions:Main.WebHome]]:
Vincent Massol 7.1 42
Vincent Massol 10.1 43 {{velocity}}
44 #set ($xwql = "from doc.object(ExtensionCode.ExtensionClass) as extension, doc.object(EXOExtensionCode.ExtensionClass) as exoextension where extension.category = 'authenticator'")
45 #set ($extensions = $services.query.xwql($xwql).setWiki('extensions').execute())
46 #foreach ($extension in $extensions)
47 * [[extensions:$extension]]
48 #end
49 {{/velocity}}
Vincent Massol 4.1 50
Vincent Massol 11.1 51 {{info}}
52 Note that several extensions are not yet categorized in the ##authenticator## category on [[extensions.xwiki.org>>extensions:Main.WebHome]] and this is why they don't appear in the list above. For the moment, here's list of all extensions having "Authenticator" in the name:
53
54 {{velocity}}
55 #set ($xwql = "from doc.object(ExtensionCode.ExtensionClass) as extension, doc.object(EXOExtensionCode.ExtensionClass) as exoextension where extension.name like '%Authenticator%'")
56 #set ($extensions = $services.query.xwql($xwql).setWiki('extensions').execute())
57 #foreach ($extension in $extensions)
58 * [[extensions:$extension]]
59 #end
60 {{/velocity}}
61 {{/info}}
62
Eleni Cojocariu 20.1 63 For more details on how to configure authentication check the [[User Authentication documentation>>documentation.xs.admin.authentication.WebHome]].

Get Connected