]> source.dussan.org Git - gitblit.git/commit
Extract LdapConnection into new class from LdapAuthProvider
authorFlorian Zschocke <florian.zschocke@devolo.de>
Wed, 23 Nov 2016 01:59:39 +0000 (02:59 +0100)
committerFlorian Zschocke <florian.zschocke@devolo.de>
Wed, 23 Nov 2016 01:59:39 +0000 (02:59 +0100)
commit967c2422591b70a82bd8fc991e87088e880f5024
tree9a86e2fee4e9d97359b18e9cde7d8e73b92ba22c
parent8d27912b0f7f0a67a929671a9c6ff3c8052e3497
Extract LdapConnection into new class from LdapAuthProvider

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.
src/main/java/com/gitblit/auth/LdapAuthProvider.java
src/main/java/com/gitblit/ldap/LdapConnection.java [new file with mode: 0644]
src/test/java/com/gitblit/tests/LdapConnectionTest.java [new file with mode: 0644]