summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/ldap
Commit message (Collapse)AuthorAgeFilesLines
* Retrieve public SSH keys from LDAP.Florian Zschocke2016-11-291-30/+80
| | | | | | | | | | | | Add new class `LdapPublicKeyManager` which retrieves public SSH keys from LDAP. The attribute can be configured with the new configuration option `realm.ldap.sshPublicKey`. The setting can be a simple attribute name, like `sshPublicKey`, or an attribute name and a prefix for the value, like `altSecurityIdentities:SshKey`, in which case attributes are selected that have the name `altSecurityIdentities` and whose values start with `SshKey:`.
* Extract LdapConnection into new class from LdapAuthProviderFlorian Zschocke2016-11-231-0/+288
Extract the inner class `LdapConnection` from the `LdapAuthProvider` into a separate class, so that it can be used from multiple classes that have to connect to an LDAP directory. The new class is placed into the new package `com.gitblit.ldap`, since it isn't specific to authentication.