From 0f96d5e122b2055fbd38ab3557db3da067aa6049 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 21 Oct 2021 17:16:23 -0700 Subject: [PATCH] GUACAMOLE-957: Continue to use cached version of LDAP YAML if an error occurs. --- .../apache/guacamole/auth/ldap/conf/ConfigurationService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/conf/ConfigurationService.java b/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/conf/ConfigurationService.java index f1e560ec1..3b08d3332 100644 --- a/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/conf/ConfigurationService.java +++ b/extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/conf/ConfigurationService.java @@ -32,7 +32,6 @@ import java.util.Collections; import java.util.concurrent.atomic.AtomicLong; import java.util.regex.Pattern; import org.apache.guacamole.GuacamoleException; -import org.apache.guacamole.GuacamoleServerException; import org.apache.guacamole.environment.Environment; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -115,7 +114,6 @@ public class ConfigurationService { } catch (IOException e) { logger.error("\"{}\" could not be read/parsed: {}", ldapServers, e.getMessage()); - throw new GuacamoleServerException("Cannot read LDAP configuration from \"" + ldapServers + "\"", e); } } else