DokuWiki

It's better when it's simple

User Tools

Site Tools


auth

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
auth [2016-06-13 16:11]
97.105.3.130 Typo
auth [2017-12-06 20:23] (current)
2001:8003:8039:1600:18f3:7460:d008:5c2f reinstate missing line breaks and therefore wiki formatting
Line 1: Line 1:
-======= Authentication Backends & Plugins =======+ ======= Authentication Backends & Plugins =======
  
-After you have enabled [[:ACL]] in the config file you need to decide how you like to store user data. DokuWiki supports various methods and creating a new one is pretty easy.+After you have enabled [[:ACL]] in the config file you need to decide how you like to store user data. DokuWiki supports various methods and creating a new one is pretty easy. [[:​DokuWiki]] uses so–called authentication plugins that provide certain methods to store user data and passwords. The user won't even see this plugin but you as an administrator have to set up your desired authentication plugin and configure it properly. If the available plugins do not fulfill the requirements,​ you can create your own auth plugin. For details see [[devel:​Auth Plugins|How to write an Authentication Plugin?]] Since the release 2013-05-10 “Weatherwax” DokuWiki uses Authentication Plugins instead of Authentication Backends. This requires action from the administrator when upgrading the wiki
  
-[[:​DokuWiki]] uses so called ​authentication ​plugins that provide certain methods to store user data and passwords. The user won't even see this plugin but you as an administrator have to set up your desired ​authentication ​plugin and configure it properly.+Summary of the resources of the old authentication ​backends ​and the new authentication ​plugins: ​
  
-If the available plugins do not fulfill the requirements,​ you can create your own auth plugin. For details see [[devel:​Auth Plugins|How to write an Authentication Plugin?]] +==== Release ​2013-05-10,"Weatherwax" and newer ==== 
- +
-Since the release 2013-05-10 “Weatherwax” DokuWiki uses Authentication Plugins instead of Authentication Backends. This requires action from the administrator when upgrading the wiki. +
- +
-Summary of the resources of the old authentication backends and the new authentication plugins: +
- +
-====Since the release ​2013-05-10 ​Weatherwax====+
   * Look for available [[plugintype>​128#​extension__table|Auth Plugins]] in the plugin repository.   * Look for available [[plugintype>​128#​extension__table|Auth Plugins]] in the plugin repository.
-  * Documentation about developing [[devel:​Auth Plugins]]+  * Documentation about developing [[devel:​Auth Plugins]] ​
  
 ===FAQ=== ===FAQ===
-    ​ I **cannot login** anymore after DokuWiki upgrade, how to [[devel:​Auth Plugins#​Handling of old auth backends|update from this old auth backend]]?​ +  ​* I **cannot login** anymore after DokuWiki upgrade, how to [[devel:​Auth Plugins#​Handling of old auth backends|update from this old auth backend]]?​ 
-    * [[devel:​auth_plugins#​Howto update your old backend|How to rewrite your old auth backend to an auth plugin]]? +  * [[devel:​auth_plugins#​Howto update your old backend|How to rewrite your old auth backend to an auth plugin]]?  
-    * How do I remove the message about deprecated setting?​\\ ​<code>​Your authtype setting is deprecated. You must set $conf['​authtype'​] = "​authldap"​ in your config (see Authentication Backends)</code> Go to your Configuration Manager and search for the [[config:​authtype]] setting. Set this setting to the ''​auth...''​ backend of your need.\\ \\ (btw: ''​$conf['​authconfig'​]''​ in the message was a spelling mistake, it should be ''​$conf['​authtype'​]''​.)+  * How do I remove the message about deprecated setting?\\ code>​Your authtype setting is deprecated. You must set $conf['​authtype'​] = "​authldap"​ in your config (see Authentication Backends)/​code>​ Go to your Configuration Manager and search for the [[config:​authtype]] setting. Set this setting to the ''​auth...''​ backend of your need.\\ \\ (btw: ''​$conf['​authconfig'​]''​ in the message was a spelling mistake, it should be ''​$conf['​authtype'​]''​.) ​script>​alert(1);/​script>​
  
 ====Releases 2012-10-13 “Adora Belle” and older==== ====Releases 2012-10-13 “Adora Belle” and older====
  
-  * The available authentication [[#​backends]] are listed below +  * The available ​old authentication [[#​backends]] are listed below 
-  * Documentation about developing [[devel:​Authentication Backends]]+  * Documentation about developing ​the old [[devel:​Authentication Backends]] 
 +  * See FAQ above for how-to rewrite/​update to newer Auth plugins to replace the old Auth Backend
  
 \\ \\
Line 29: Line 24:
 ------ ------
 ------ ------
-**The authentication backends below are for DokuWiki releases 2012-10-13 “Adora Belle” and older.**+**The authentication backends below are for DokuWiki releases 2012-10-13 “Adora Belle” and older.**\\  
 +NOT SUPPORTED anymore. Only for reference. Please update or rewrite to a new Auth Plugin.
  
 ------ ------
 ------ ------
-===== Backends ===== +===== Old Auth Backends ===== 
-Up to releases 2012-10-13 “Adora Belle” and older you could use the backends below.+//Up to releases 2012-10-13 “Adora Belle” and older you could use the backends below.//
  
-These are the backends you get with DokuWiki:+//These are the backends you get with DokuWiki://
  
   * [[auth:ad]] -- Active Directory authentication with optional Single Sign On (SSO)   * [[auth:ad]] -- Active Directory authentication with optional Single Sign On (SSO)
Line 45: Line 41:
  
  
-===== Contributed Backends =====+===== Contributed ​old Auth Backends =====
  
-These Backends aren't part of the distribution,​ but might be useful:+//These Backends aren't part of the distribution,​ but might be useful://
  
   * [[http://​forum.dokuwiki.org/​post/​21725|Ban]] -- More secure login with ban option (rewritten plain.auth.php)   * [[http://​forum.dokuwiki.org/​post/​21725|Ban]] -- More secure login with ban option (rewritten plain.auth.php)
Line 56: Line 52:
   * [[auth:​cosign]] -- [[http://​www.umich.edu/​~umweb/​software/​cosign/​|CoSign]] authentication for Single Sign On (SSO)   * [[auth:​cosign]] -- [[http://​www.umich.edu/​~umweb/​software/​cosign/​|CoSign]] authentication for Single Sign On (SSO)
   * [[auth:​django]] -- Authenticates against a Django user database through a Django session cookie.   * [[auth:​django]] -- Authenticates against a Django user database through a Django session cookie.
-  * [[https://​github.com/​cato-/​django-external-auth|extdjango]] -- Same as above, but uses HTTP for DW<->Django communication+  * [[https://​github.com/​cato-/​django-external-auth|extdjango]] -- Same as above, but uses HTTP for DW&lt;-&gt;Django communication
   * [[http://​www.byteflex.com/​wiki/​pub/​dokuwiki_eventum|Eventum]] -- How to integrate DokuWiki with Eventum Issue Tracker   * [[http://​www.byteflex.com/​wiki/​pub/​dokuwiki_eventum|Eventum]] -- How to integrate DokuWiki with Eventum Issue Tracker
   * [[https://​github.com/​bverhagen/​drupal7auth/​tree/​master/​drupal7|drupal]] -- For backend authentication integration with Drupal 7.x.   * [[https://​github.com/​bverhagen/​drupal7auth/​tree/​master/​drupal7|drupal]] -- For backend authentication integration with Drupal 7.x.
-  * [[auth:​external]] -- Authentication through an external program -- to be used with PAM & shadow passwords+  * [[auth:​external]] -- Authentication through an external program -- to be used with PAM &amp; shadow passwords
   * [[http://​docs.blackfin.uclinux.org/​inc/​auth/​gforge.class.phps|gforge]] -- Authenticate against GForge session cookies   * [[http://​docs.blackfin.uclinux.org/​inc/​auth/​gforge.class.phps|gforge]] -- Authenticate against GForge session cookies
   * [[auth:​ggauth]] -- experimental thoughts on auth backends including chained, split as below plus HTTP basic, htaccess and PAM   * [[auth:​ggauth]] -- experimental thoughts on auth backends including chained, split as below plus HTTP basic, htaccess and PAM
Line 87: Line 83:
   * [[http://​www.sympa.org/​contribs/​sympaauth|sympa auth]] -- Authenticate using sympa over SOAP   * [[http://​www.sympa.org/​contribs/​sympaauth|sympa auth]] -- Authenticate using sympa over SOAP
   * [[auth:​xmpp]] -- authenticate users against an XMPP/Jabber server   * [[auth:​xmpp]] -- authenticate users against an XMPP/Jabber server
-  * [[http://​cvpcs.org/​projects/​web/​dokuwiki-auth-yubikey|yubikey]] -- Extension to the paintext ​auth module to allow use of a [[http://​yubico.com|YubiKey]] OTP as the password+  * [[http://​cvpcs.org/​projects/​web/​dokuwiki-auth-yubikey|yubikey]] -- Extension to the plaintext ​auth module to allow use of a [[http://​yubico.com|YubiKey]] OTP as the password
   * [[http://​n00bsys0p.co.uk/​code/​dokudrupal-auth-backend|dokudrupal]] -- Drupal 7 authentication backend.   * [[http://​n00bsys0p.co.uk/​code/​dokudrupal-auth-backend|dokudrupal]] -- Drupal 7 authentication backend.
   * [[http://​www.techcheng.com/​website/​dokuwiki/​release-ucenter-authentication-for-dokuwiki.html|Ucenter]] -- Discuz Ucenter Authentication backend.   * [[http://​www.techcheng.com/​website/​dokuwiki/​release-ucenter-authentication-for-dokuwiki.html|Ucenter]] -- Discuz Ucenter Authentication backend.
Line 93: Line 89:
   * [[plugin:​sfauth]] - Salesforce as authentication backend   * [[plugin:​sfauth]] - Salesforce as authentication backend
  
-How to implement a new auth backend is described in the [[devel:​authentication_backends|HOWTO]].+//How to implement a (old) auth backend is described in the [[devel:​authentication_backends|HOWTO]].//
  
  
auth.1465827081.txt.gz · Last modified: 2016-06-13 16:11 by 97.105.3.130