Wiki source code of Authentication
Version 15.1 by Vincent Massol on 2021/07/19
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = Logging in = | ||
2 | |||
3 | When you need to log in to access a wiki page, you'll see the following form: | ||
4 | |||
5 | {{image reference="login.png"/}} | ||
6 | |||
7 | == Forgot Username == | ||
8 | |||
9 | If you forgot your username, you can retrieve it by clicking on the "Forgot your username?" link: | ||
10 | |||
11 | {{image reference="login-forgot-username-1"/}} | ||
12 | |||
13 | Then, you'll need to indicate the email address for your user and you'll be emailed your username. | ||
14 | |||
15 | {{image reference="login-forgot-username-2"/}} | ||
16 | |||
17 | == Forgot Password == | ||
18 | |||
19 | If you forgot your password, you can reset it by clicking on the "Forgot your password?" link: | ||
20 | |||
21 | {{image reference="login-forgot-password-1"/}} | ||
22 | |||
23 | 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. | ||
24 | |||
25 | = Authentication Mechanisms = | ||
26 | |||
27 | XWiki Standard embeds several authentication mechanisms by default: | ||
28 | |||
29 | * Form authentication | ||
30 | * Basic authentication | ||
31 | |||
32 | 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). | ||
33 | |||
34 | Additional authenticators are available as extensions on [[extensions.xwiki.org>>extensions:Main.WebHome]]: | ||
35 | |||
36 | {{velocity}} | ||
37 | #set ($xwql = "from doc.object(ExtensionCode.ExtensionClass) as extension, doc.object(EXOExtensionCode.ExtensionClass) as exoextension where extension.category = 'authenticator'") | ||
38 | #set ($extensions = $services.query.xwql($xwql).setWiki('extensions').execute()) | ||
39 | #foreach ($extension in $extensions) | ||
40 | * [[extensions:$extension]] | ||
41 | #end | ||
42 | {{/velocity}} | ||
43 | |||
44 | {{info}} | ||
45 | 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: | ||
46 | |||
47 | {{velocity}} | ||
48 | #set ($xwql = "from doc.object(ExtensionCode.ExtensionClass) as extension, doc.object(EXOExtensionCode.ExtensionClass) as exoextension where extension.name like '%Authenticator%'") | ||
49 | #set ($extensions = $services.query.xwql($xwql).setWiki('extensions').execute()) | ||
50 | #foreach ($extension in $extensions) | ||
51 | * [[extensions:$extension]] | ||
52 | #end | ||
53 | {{/velocity}} | ||
54 | {{/info}} | ||
55 | |||
56 | For more details on how to configure authentication check the [[Authentication page of the Administration Guide>>platform:AdminGuide.Authentication]]. |