summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/HtpasswdUserService.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor user services and separate authentication (issue-281)James Moger2013-11-291-361/+0
| | | | Change-Id: I336e005e02623fc5e11a4f8b4408bea5465a43fd
* Extract UserManager from GitBlit singletonJames Moger2013-11-291-1/+1
| | | | Change-Id: I4885255ed63aa6c4e000c3e5501675440dca3958
* Eliminate static singleton calls from user servicesJames Moger2013-11-291-6/+6
| | | | Change-Id: Ieec34483822f033b19d3ff3259d071c9bc091ed1
* Define manager interfaces and update all of Gitblit to use managersJames Moger2013-11-261-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | These manager interfaces define how the GitBlit singleton will eventually be split into smaller component managers. The Wicket app and all servlets have been updated to request the needed managers. There are _very_ few method signature changes - although there are a handful. This is a surgical sharding of responsibility based on a proof of concept refactor. Instead of random references to GittBlit.self() there are now precise references to the manager interface required to accomplish some task. Some tasks may require references to multiple managers. The code is now littered with calls to GitBlit.getManager(class) and those familiar with the code-base will no doubt notice the duplication of methods from IUserService in IUserManager and the addition of implementation methods in the GitBlit context class. When the GitBlit class is broken apart and the existing external authentication user service classes are refactored to AuthenticationService classes, this will again simplify and flatten. But in order to safely and cleanly modularize the stable code-base we will have to live with a little duplication for a short while. Change-Id: I7314ec8acaab2dcc6092785ed4434cc09fdbbe16
* Trim trailing whitespace and organize importsJames Moger2013-09-301-9/+11
| | | | Change-Id: I9f91138b20219be6e3c4b28251487df262bff6cc
* Add an Apache htpasswd user serviceFlorian Zschocke2013-08-121-0/+356
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