Commonize & simplify LDAP and LDAPS auth

This makes it easy for further instances and projects
outside the IDS to use Kustvakt-full with their own LDAP.

Change-Id: I710f50079348d6cff9fd33376aebda33bc9f408e
diff --git a/core/pom.xml b/core/pom.xml
index 3e24e61..2f45fef 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -494,5 +494,11 @@
 			<artifactId>javax.servlet-api</artifactId>
 			<version>4.0.1</version>
 		</dependency>
-	</dependencies>
+    <dependency>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-text</artifactId>
+      <version>1.9</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
 </project>