Changes between Version 5 and Version 6 of CookBook/AccountManagerPluginConfiguration


Ignore:
Timestamp:
Dec 13, 2011, 12:10:04 AM (12 years ago)
Author:
Steffen Hoffmann
Comment:

add file store examples, explanation to SessionStore example, and clearify page structure with another section

Legend:

Unmodified
Added
Removed
Modified
  • CookBook/AccountManagerPluginConfiguration

    v5 v6  
    88== Basic configuration/Kickstart ==
    99=== !HtPasswdStore ===
     10
     11== !HtPasswdStore ==
     12{{{
     13[components]
     14acct_mgr.admin.* = enabled
     15acct_mgr.api.* = enabled
     16acct_mgr.db.sessionstore = enabled
     17acct_mgr.htfile.htdigeststore = disabled
     18acct_mgr.htfile.htpasswdstore = enabled
     19acct_mgr.http.httpauthstore = disabled
     20acct_mgr.notification.* = enabled
     21acct_mgr.pwhash.htdigesthashmethod = disabled
     22acct_mgr.pwhash.htpasswdhashmethod = disabled
     23acct_mgr.svnserve.* = enabled
     24acct_mgr.svnserve.svnservepasswordstore = disabled
     25acct_mgr.web_ui.* = enabled
     26trac.web.auth.loginmodule = disabled
     27
     28[account-manager]
     29password_store = HtPasswdStore
     30htpasswd_hash_type = md5
     31;password_file = /var/trac/trac.htpasswd   # old style (acct_mgr < 0.4)
     32htpasswd_file = /var/trac/trac.htpasswd   # new style (acct_mgr >= 0.4)
     33}}}
     34will:
     35 * enable required AccountManagerPlugin core components
     36 * enable [wiki:AccountManagerPlugin/AuthStores#HtPasswdStore HtPasswdStore] module for file-based password store in ''htpasswd'' format
     37 * select this store as the only active one
     38 * use `md5` password hash type for changed/new passwords, hint: use the cryptographically strongest, that is available on your system (and still compatible with other applications in shared-use case)
     39
     40''Note:''  new configuration option 'htpasswd_file' for acct_mgr-0.4
     41 see [wiki:AccountManagerPlugin/AuthStores#HtPasswdStore HtPasswdStore] module documentation for more details
     42
    1043=== !HtDigestStore ===
     44{{{
     45[components]
     46acct_mgr.admin.* = enabled
     47acct_mgr.api.* = enabled
     48acct_mgr.db.sessionstore = enabled
     49acct_mgr.htfile.htdigeststore = enabled
     50acct_mgr.htfile.htpasswdstore = disabled
     51acct_mgr.http.httpauthstore = disabled
     52acct_mgr.notification.* = enabled
     53acct_mgr.pwhash.htdigesthashmethod = disabled
     54acct_mgr.pwhash.htpasswdhashmethod = disabled
     55acct_mgr.svnserve.* = enabled
     56acct_mgr.svnserve.svnservepasswordstore = disabled
     57acct_mgr.web_ui.* = enabled
     58trac.web.auth.loginmodule = disabled
     59
     60[account-manager]
     61password_store = HtDigestStore
     62htdigest_realm = Trac
     63;password_file = /var/trac/trac.htdigest   # old style (acct_mgr < 0.4)
     64htdigest_file = /var/trac/trac.htdigest   # new style (acct_mgr >= 0.4)
     65}}}
     66will:
     67 * enable required AccountManagerPlugin core components
     68 * enable [wiki:AccountManagerPlugin/AuthStores#HtDigestStore HtDigestStore] module for file-based password store in ''htdigest'' format
     69 * select this store as the only active one
     70 * set realm to select relevant htdigest file entries to '`Trac`'
     71
     72''Note:''  new configuration option 'htdigest_file' for acct_mgr-0.4
     73 see [wiki:AccountManagerPlugin/AuthStores#HtDigestStore HtDigestStore] module documentation for more details
     74
    1175=== !SessionStore ===
    1276{{{
     
    2892[account-manager]
    2993hash_method = HtDigestHashMethod
     94db_htdigest_realm = TracDB
    3095password_store = SessionStore
    3196}}}
    32 
     97will:
     98 * enable required AccountManagerPlugin core components
     99 * enable [wiki:AccountManagerPlugin/AuthStores#SessionStore SessionStore] module for file-based password store in ''htdigest'' format
     100 * select this store as the only active one
     101 * set realm to select relevant htdigest file entries to '`TracDB`'
     102
     103''Note:''  new configuration option 'db_htdigest_realm' for acct_mgr-0.4
     104 see [wiki:AccountManagerPlugin/AuthStores#SessionStore SessionStore] module documentation for more details
     105
     106=== Create users ===
    33107Create the first user through browser-based registration enabled by following additional lines in `components` section of `trac.ini`:
    34108{{{