From version 3.2
edited by Vincent Massol
on 2020/01/08 12:11
To version 4.1
edited by Vincent Massol
on 2020/01/08 12:12
Change comment: There is no comment for this version

Summary

Details

ExtensionCode.ExtensionClass[0]
Description
... ... @@ -3,3 +3,26 @@
3 3  This is a pure Java implementation that wraps [[pwauth>>https://github.com/phokz/pwauth]], which is a command line tool that provides the authentication and commonly available on UNIX/Linux machines as a package (see custom installation instructions).
4 4  
5 5  This module addresses the need for systems that have a particular PAM configuration and want to use it to authenticate users. This was written by the author because the LDAP module did not consistently function as described in this LDAP over SSL thread. For those that use the LDAP NSS PAM module, which both authenticate users on the OS itself, using this module allows authentication to XWiki to LDAP via this software.
6 +
7 +== Configuration ==
8 +
9 +The extension must be configured in the ##xwiki.cfg## file. For example:
10 +
11 +{{code language="properties"}}
12 +## PAM
13 +#-# PAM authentication service
14 +xwiki.authentication.authclass=com.zensols.xwiki.pamauth.XWikiPAMAuthServiceImpl
15 +
16 +#-# Turn PAM authentication on - otherwise only XWiki authentication
17 +#-# - 0: disable
18 +#-# - 1: enable
19 +#-# The default is 0
20 +xwiki.authentication.pam=1
21 +
22 +#-# Enable local accounts in addition to PAM.
23 +#-# Without this setting you will be unable to log into XWiki with local accounts.
24 +#-# - 0: disable
25 +#-# - 1: enable
26 +#-# The default is 0
27 +xwiki.authentication.pam.trylocal=1
28 +{{/code}}
Prerequisites & Additional Installation Instructions
... ... @@ -14,25 +14,3 @@
14 14  % yum install pwauth
15 15  {{/code}}
16 16  
17 -== Configuration ==
18 -
19 -The extension must be configured in the ##xwiki.cfg## file. For example:
20 -
21 -{{code language="properties"}}
22 -## PAM
23 -#-# PAM authentication service
24 -xwiki.authentication.authclass=com.zensols.xwiki.pamauth.XWikiPAMAuthServiceImpl
25 -
26 -#-# Turn PAM authentication on - otherwise only XWiki authentication
27 -#-# - 0: disable
28 -#-# - 1: enable
29 -#-# The default is 0
30 -xwiki.authentication.pam=1
31 -
32 -#-# Enable local accounts in addition to PAM.
33 -#-# Without this setting you will be unable to log into XWiki with local accounts.
34 -#-# - 0: disable
35 -#-# - 1: enable
36 -#-# The default is 0
37 -xwiki.authentication.pam.trylocal=1
38 -{{/code}}

Get Connected