DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authsplit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:authsplit [2014-05-17 16:56]
78.53.205.63
plugin:authsplit [2018-05-28 20:34] (current)
Klap-in [Installation]
Line 1: Line 1:
-====== Split authentication ​Plugin ======+====== Split Authentication ​Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 6: Line 6:
 email      : pieter@hollants.com email      : pieter@hollants.com
 type       : auth type       : auth
-lastupdate : 2014-05-17 +lastupdate : 2017-12-12 
-compatible : Weatherwax, Binky, Ponder Stibbons+compatible : Elenor of tsort, Ponder Stibbons, Hrun, Detritus, Frusterick Manners
 depends ​   :  depends ​   : 
 conflicts ​ :  conflicts ​ : 
-similar ​   : +similar ​   : authchained
 tags       : authentication split tags       : authentication split
  
Line 93: Line 93:
 ===== Installation ===== ===== Installation =====
  
-Download ​the latest version from [[https://​github.com/​pief/​authsplit/​zipball/​master|Github]] and rename the extracted directory to ''​authsplit'',​ otherwise the plugin won't work.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. 
  
-Please refer to [[:​Plugins]] for additional info on how to install plugins in DokuWiki.+Alternatively,​ download the latest version from [[https://​github.com/​pief/​authsplit/​zipball/​master|Github]] to ''​lib/​plugins''​ and rename the extracted directory to ''​authsplit'',​ otherwise the plugin won't work. Please refer to [[:​Plugins]] for additional info on how to install plugins in DokuWiki.
  
 ===== Configuration and Settings ===== ===== Configuration and Settings =====
Line 102: Line 102:
   * ''​primary_authplugin'':​ This is the DokuWiki auth plugin that will be used to validate login names and passwords. An example candidate is my authhttp plugin.   * ''​primary_authplugin'':​ This is the DokuWiki auth plugin that will be used to validate login names and passwords. An example candidate is my authhttp plugin.
   * ''​secondary_authplugin'':​ This is the DokuWiki auth plugin that will be used to store additional user information such as real names, email addresses and groups.   * ''​secondary_authplugin'':​ This is the DokuWiki auth plugin that will be used to store additional user information such as real names, email addresses and groups.
 +  * ''​username_caseconversion'':​ If one of the two auth plugins used is case-sensitive,​ it may be necessary to enable this setting to let authsplit convert the username to either uppercase or lowercase (eg. when combining authldap which is case-insensitive with authsplit which is not).
   * ''​autocreate_users'':​ If enabled, authsplit will automatically create user accounts for any users that exist in the //primary// auth plugin, but are yet unknown in the //​secondary//​ auth plugin. If disabled, users will either have to register themselves or created by the admin (eg. if registration has been disabled).   * ''​autocreate_users'':​ If enabled, authsplit will automatically create user accounts for any users that exist in the //primary// auth plugin, but are yet unknown in the //​secondary//​ auth plugin. If disabled, users will either have to register themselves or created by the admin (eg. if registration has been disabled).
- +  * ''​debug''​: If enabled, ​authsplit ​will flood the screen with debugging messages meant to aid in troubleshooting its operation. This setting should not be enabled in productive setups.
-Sample settings for using authhttp and authplain, without automatic user creation: +
- +
-<code php> +
-$conf['authtype'] = 'authsplit';​ +
-$conf['​plugin'​]['​authsplit'​]['​primary_authplugin'​] = '​authhttp';​ +
-$conf['​plugin'​]['​authsplit'​]['​secondary_authplugin'​] = '​authplain';​ +
-$conf['​plugin'​]['​authsplit'​]['​autocreate_users'​] = 0; +
-</​code>​+
  
 Note that you'll have to take some of the used auth plugin'​s settings into consideration whereas some may not apply any longer due to the way authsplit works. For example, when using [[plugin:​authhttp]] as the //primary// auth plugin, [[plugin:​authhttp]]'​s configuration settings no longer have any effect since all email addresses and group information come from the //​secondary//​ auth plugin instead. Note that you'll have to take some of the used auth plugin'​s settings into consideration whereas some may not apply any longer due to the way authsplit works. For example, when using [[plugin:​authhttp]] as the //primary// auth plugin, [[plugin:​authhttp]]'​s configuration settings no longer have any effect since all email addresses and group information come from the //​secondary//​ auth plugin instead.
Line 120: Line 113:
 ===== Credits ===== ===== Credits =====
  
-This plugin ​in based on ideas in [[auth:​ggauth|the ggauth auth backend]] by [[mailto:​grant@lastweekend.com.au|Grant Gardner]]. Grant does not actively maintain ggauth anymore, so an update for the new auth plugins concept is unlikely.+This plugin ​is based on ideas in [[auth:​ggauth|the ggauth auth backend]] by [[mailto:​grant@lastweekend.com.au|Grant Gardner]]. Grant does not actively maintain ggauth anymore, so an update for the new auth plugins concept is unlikely.
  
 Support for external authentication was contributed by [[mailto:​david.darras@univ-lille1.fr|David Darras]]. Support for external authentication was contributed by [[mailto:​david.darras@univ-lille1.fr|David Darras]].
plugin/authsplit.1400338563.txt.gz · Last modified: 2014-05-17 16:56 by 78.53.205.63