Skip to content

Commit 778265f

Browse files
committed
called setup method in case it was not initialised or is null
1 parent 0e5efc9 commit 778265f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>com.instaclustr</groupId>
77
<artifactId>cassandra-ldap</artifactId>
88
<packaging>jar</packaging>
9-
<version>3.11.4.4</version>
9+
<version>3.11.4.5-SNAPSHOT</version>
1010

1111
<name>Cassandra LDAP Authenticator</name>
1212
<description>Pluggable LDAP authentication implementation for Apache Cassandra</description>

src/main/java/com/instaclustr/cassandra/ldap/auth/LDAPServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public String getLdapDN(String username) throws NamingException
173173
{
174174
if (serviceContext == null)
175175
{
176-
throw new ConfigurationException("LDAP server connection was not initialised.");
176+
setup();
177177
}
178178

179179
try

0 commit comments

Comments
 (0)