summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/LdapUserService.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor user services and separate authentication (issue-281)James Moger2013-11-291-530/+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-3/+2
| | | | Change-Id: Ieec34483822f033b19d3ff3259d071c9bc091ed1
* Define manager interfaces and update all of Gitblit to use managersJames Moger2013-11-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #122 from fzs/ldap-deref-aliasFlorian Zschocke2013-11-221-1/+25
| | | | | | | | | | | | | | | | | Currently the LDAP user service will not dereference aliases when searching for groups. This patch enables dereferencing aliases for the group search. This is benefitial if groups are defined in the DIT in a common place but only certain ones shall play a role in Gitblit. These can now be linked under a group that can be provided as search base for groups, without having to recreate the existing groups under the search base. In addition, the new doSearch() method implemented in this patch also limits the attributes returned for the group search to the "cn" attribute, which is the only one used. That prevents returning all the members of the result groups, which can be a lot. Change-Id: I29e1560390810304386dcea5ca40aaf78601b3a9
* Bind LDAP connection after TLS initialization (issue-343)Günter Dressel2013-11-221-30/+27
|
* Trim trailing whitespace and organize importsJames Moger2013-09-301-47/+48
| | | | Change-Id: I9f91138b20219be6e3c4b28251487df262bff6cc
* Fixed anonymous LDAP logins (issue-297)James Moger2013-08-161-4/+15
|
* Moved #externalAccount string to common constants classJames Moger2013-06-171-2/+2
|
* Reorganized to Apache Standard Directory Layout & integrated MoxieJames Moger2013-03-271-0/+496
This is a massive commit which reorganizes the entire project structure (although it is still monolithic), removes the Build classes, and switches to Moxie, a smarter Ant build tookit based on the original Gitblit Build classes. The Ant build script will likely require additional fine-tuning, but this is big step forward.