From a0c34e37fe8e456a21c7a57e9d45e637ab40cce8 Mon Sep 17 00:00:00 2001 From: Florian Zschocke Date: Tue, 9 Jul 2013 13:07:13 +0200 Subject: Add an Apache htpasswd user service Add a new class, HtpasswdUserService, which performs authentication against a text file created with the Apache 'htpasswd' program. Added dependency on commons-codec:1.7 --- src/site/setup_authentication.mkd | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/site/setup_authentication.mkd') diff --git a/src/site/setup_authentication.mkd b/src/site/setup_authentication.mkd index 0ec07fa5..3fb4a6c1 100644 --- a/src/site/setup_authentication.mkd +++ b/src/site/setup_authentication.mkd @@ -7,6 +7,7 @@ Gitblit supports additional authentication mechanisms aside from it's internal o * LDAP authentication * Windows authentication * PAM authentication +* Htpasswd authentication * Redmine auhentication * Salesforce.com authentication * Servlet container authentication @@ -91,6 +92,13 @@ PAM authentication is based on the use of libpam4j and JNA. To use this service realm.userService = com.gitblit.PAMUserService realm.pam.serviceName = system-auth +### Htpasswd Authentication + +Htpasswd authentication allows you to maintain your user credentials in an Apache htpasswd file thay may be shared with other htpasswd-capable servers. + + realm.userService = com.gitblit.HtpasswdUserService + realm.htpasswd.userFile = /path/to/htpasswd + ### Redmine Authentication You may authenticate your users against a Redmine installation as long as your Redmine install has properly enabled [API authentication](http://www.redmine.org/projects/redmine/wiki/Rest_Api#Authentication). This user service only supports user authentication; it does not support team creation based on Redmine groups. Redmine administrators will also be Gitblit administrators. -- cgit v1.2.3