From 8fae19dee9ba052cbbb5acbca7250ff605a4dd9f Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sat, 25 Aug 2018 13:20:38 -0700 Subject: [PATCH] GUACAMOLE-611: Rename property defining tolerated auth providers to "skip-if-unavailable". --- .../apache/guacamole/extension/ExtensionModule.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/guacamole/src/main/java/org/apache/guacamole/extension/ExtensionModule.java b/guacamole/src/main/java/org/apache/guacamole/extension/ExtensionModule.java index c276cc1f0..05bdfc17f 100644 --- a/guacamole/src/main/java/org/apache/guacamole/extension/ExtensionModule.java +++ b/guacamole/src/main/java/org/apache/guacamole/extension/ExtensionModule.java @@ -93,11 +93,11 @@ public class ExtensionModule extends ServletModule { * providers that are not within this list will halt the authentication * process entirely. */ - private final StringSetProperty TOLERATE_INTERNAL_FAILURES = new StringSetProperty() { + private final StringSetProperty SKIP_IF_UNAVAILABLE = new StringSetProperty() { @Override public String getName() { - return "tolerate-internal-failures"; + return "skip-if-unavailable"; } }; @@ -379,13 +379,13 @@ public class ExtensionModule extends ServletModule { // Parse list of auth providers whose internal failures should be // tolerated try { - return environment.getProperty(TOLERATE_INTERNAL_FAILURES, Collections.emptySet()); + return environment.getProperty(SKIP_IF_UNAVAILABLE, Collections.emptySet()); } // Use empty set by default if property cannot be parsed catch (GuacamoleException e) { - logger.warn("The list of authentication providers specified via the \"{}\" property could not be parsed: {}", TOLERATE_INTERNAL_FAILURES.getName(), e.getMessage()); - logger.debug("Unable to parse \"{}\" property.", TOLERATE_INTERNAL_FAILURES.getName(), e); + logger.warn("The list of authentication providers specified via the \"{}\" property could not be parsed: {}", SKIP_IF_UNAVAILABLE.getName(), e.getMessage()); + logger.debug("Unable to parse \"{}\" property.", SKIP_IF_UNAVAILABLE.getName(), e); return Collections.emptySet(); }