DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authsmartcard

Differences

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

Link to this comparison view

Next revision
Previous revision
plugin:authsmartcard [2014-12-10 23:44] – created 2001:480:611:1::7plugin:authsmartcard [2018-07-26 21:10] (current) sbbowman
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: +description: Use client certificates (or smartcards) for authentication to the wiki
 author     : Stephen Bowman  author     : Stephen Bowman 
 email      : sbbowman@gmail.com email      : sbbowman@gmail.com
 type       : auth type       : auth
-lastupdate : 2014-07-16 +lastupdate : 2018-07-26 
-compatible : Hrun2014-09-29b+compatible : 2017-02-192016-06-26, 2015-08-10 
 +depends    :  
 +conflicts  :  
 +similar    : 
 tags       : smartcard, authentication, certificate, cac tags       : smartcard, authentication, certificate, cac
  
Line 24: Line 27:
 ===== Installation ===== ===== Installation =====
  
-Install the plugin using the [[plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Examples/Usage ===== ===== Examples/Usage =====
  
-//[Most people learn by example, so this goes first]//For example, user John Doe needs access to the Wiki. John has a client certificate (or smartcard with a certificate on it) that as a CN attribute of 'DOE.JOHN.99999'. John Doe has is added to the dokuwiki user database by an administrator. His username is 'jdoe'. His groups are set to 'DOE.JOHN.99999, finance'.+For example, user John Doe needs access to the Wiki. John has a client certificate (or smartcard with a certificate on it) that as a CN attribute of 'DOE.JOHN.99999'. John Doe has is added to the dokuwiki user database by an administrator. His username is 'jdoe'. His groups are set to 'DOE.JOHN.99999, finance'.
  
 When John Doe access the Wiki with his browser configured to use a client certificate (or smartcard), this plugin will authenticate user 'jdoe' by comparing the CN of his certificate with the groups he is a member of in the dokuwiki user database.  When John Doe access the Wiki with his browser configured to use a client certificate (or smartcard), this plugin will authenticate user 'jdoe' by comparing the CN of his certificate with the groups he is a member of in the dokuwiki user database. 
Line 36: Line 39:
 You must set authtype to authsmartcard in conf/local.php or conf/local.protected.php: You must set authtype to authsmartcard in conf/local.php or conf/local.protected.php:
  
-$conf['authtype'] = 'authsmartcard';+<code>$conf['authtype'] = 'authsmartcard';</code>
  
 Other configuration parameters specific to the authsmartcard plugin are available in lib/plugins/authsmartcard/conf/default.php: Other configuration parameters specific to the authsmartcard plugin are available in lib/plugins/authsmartcard/conf/default.php:
  
 +<code>
 // Enable logging? // Enable logging?
 $conf['log_to_file'       = true; $conf['log_to_file'       = true;
 // If log_to_file is enabled, where to log?  Make sure apache/php can write to this file // If log_to_file is enabled, where to log?  Make sure apache/php can write to this file
 $conf['logfile'       = "/full/path/to/logfile/writable/by/apache"; $conf['logfile'       = "/full/path/to/logfile/writable/by/apache";
 +</code>
  
 === Change Log === === Change Log ===
- 
-//[preferable GitHub RSS feed or similar]// 
  
   * **2014-12-10**   * **2014-12-10**
plugin/authsmartcard.1418251458.txt.gz · Last modified: 2014-12-10 23:44 by 2001:480:611:1::7

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki