@Override
    public CaseSensitivity getCaseSensitivity() {

        try {
            return DefaultEnvironment.this.getProperty(CASE_SENSITIVITY, CaseSensitivity.ENABLED);
        }
        catch (GuacamoleException e) {

            logger.error("Defaulting to case-sensitive handling of "
                    + "usernames and group names as the desired case "
                    + "sensitivity configuration could not be read: {}",
                    e.getMessage());

            logger.debug("Error reading case sensitivity configuration.", e);
            return CaseSensitivity.ENABLED;

        }

    }
Creates a new DefaultEnvironment that provides default implementations
for functions that may not be implemented by the given Environment
implementation. The versions provided by DefaultEnvironment must still
be manually called by actual <code>public default</code> functions on
Environment to have any effect.

@param environment
    The environment that may not provide implementations for all
    functions defined by the Environment interface.
guacamole-ext/src/main/java/org/apache/guacamole/environment/DefaultEnvironment.java